[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#77400: [PROPOSAL] require packages to disable /etc/logrotate.d files on removal



Package: debian-policy

Hi

Addition to section "4.8 Log files":

----------
A better scheme is to use logrotate, a GPL'd program developed
by Red Hat, which centralizes log management. It has both a
configuration file (/etc/logrotate.conf) and a directory where
packages can drop logrotation info (/etc/logrotate.d).
+
+In config-file state, the /etc/logrotate.d/<pkgname> file should
+be suffixed with ".disabled" (this is required if other
+ packages use the same logfile).
---------

Have a look at Bug#77314 for an example of the breakage that not
doing so can cause.

ciao, 2ri
-- 
"I'm not going to ride on a magic carpet! I'm afraid of grounds!"
"You mean heights, and stop being silly!"
"I know what I mean! It's the grounds that kill you!"
                --Terry Pratchet, "Sourcery"



Reply to: