Avatar of jpjordan4
jpjordan4

asked on 

How do I keep apache upgrades in Centos from creating logrotate.d\http files

We do not use logrotate for http apache.  So we took out the http file from logrotate.d   But everythime apache upgrades it puts it back.  I need it to stay gone, or not do anything if it is there.
Please help
Linux Distributions

Avatar of undefined
Last Comment
jpjordan4
ASKER CERTIFIED SOLUTION
Avatar of Papertrip
Papertrip
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Papertrip
Papertrip
Flag of United States of America image

Good catch ravenpl, it makes sense now that I think about it.  Will remember that one!

 tabooext [+] list
              The  current  taboo  extension  list is changed (see the include directive for information on the taboo
              extensions). If a + precedes the list of extensions, the current taboo  extension  list  is  augmented,
              otherwise  it  is replaced. At startup, the taboo extension list contains .rpmorig, .rpmsave, ,v, .swp,
              .rpmnew, ~, .cfsaved and .rhn-cfg-tmp-*.

Open in new window

Avatar of Papertrip
Papertrip
Flag of United States of America image

@jpjordan4

While my answers technically will work, ravenpl's is definitely the cleanest way to do it.
Avatar of jpjordan4
jpjordan4

ASKER

Thank you for the quick response.  It seems that yum updates to apache do happen fairly frequently and I always manage to forget to remove the file on at least one server.  I think you guidance will help.
Linux Distributions
Linux Distributions

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo