Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-10 Thread Olaf van der Spek
On Sat, Jul 10, 2010 at 12:14 AM, Paul Martin wrote: >> What's the reason you're not CCing 588...@bugs.debian.org? > > Because the first email to arrive is the direct one from you. Reply All should work fine. >> Why is it ok if the files don't exist but is it not ok if the dir >> doesn't exist?

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Paul Martin
On Fri, Jul 09, 2010 at 05:02:55PM +0200, Olaf van der Spek wrote: > On Fri, Jul 9, 2010 at 4:22 PM, Paul Martin wrote: > > On Fri, Jul 09, 2010 at 03:04:32PM +0200, Olaf van der Spek wrote: > > > >> No, it'll merely work around it. It won't make the piuparts error go > >> away either. > > > > As

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Olaf van der Spek
On Fri, Jul 9, 2010 at 4:22 PM, Paul Martin wrote: > On Fri, Jul 09, 2010 at 03:04:32PM +0200, Olaf van der Spek wrote: > >> No, it'll merely work around it. It won't make the piuparts error go >> away either. > > As noted in the bug that already existed, the only correct way to do > this is to ha

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Olaf van der Spek
On Fri, Jul 9, 2010 at 1:24 PM, Paul Martin wrote: >> In the uninstall case, there is no conf error. >> Daemon uninstall *should* just work, a purge should not be required. > > Files installed in /etc are never removed on an uninstall, only on a > purge. That's Debian policy. I know and that's a

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Paul Martin
merge 582630 588515 thanks On Fri, Jul 09, 2010 at 11:45:02AM +0200, Olaf van der Spek wrote: > Package: logrotate > Version: 3.7.8-6 > Severity: normal > Logrotate fails if the log dir doesn't exist, which might happen if > the package is uninstalled. I'm not sure what the right solution > is.

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Olaf van der Spek
On Fri, Jul 9, 2010 at 1:02 PM, Paul Martin wrote: >> Why can't logrotate ignore the missing directory? > > Because it's an error in configuration which needs to be brought to > the attention of the sysadmin. It doesn't stop logrotate continuing > its job. Older versions of logrotate *did* stop at

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Olaf van der Spek
On Fri, Jul 9, 2010 at 12:48 PM, Paul Martin wrote: > These error messages are correct. Logrotate is complaining that the > directory is missing, not that the files are missing. Logrotate > doesn't fail in this situation (even though it shouldn't occur with > correctly installed packages that have

Bug#588515: logrotate: Failure if dir doesn't exist

2010-07-09 Thread Olaf van der Spek
Package: logrotate Version: 3.7.8-6 Severity: normal Hi, Logrotate fails if the log dir doesn't exist, which might happen if the package is uninstalled. I'm not sure what the right solution is. Greetings, Olaf http://piuparts.debian.org/sid/fail/lighttpd_1.4.26-3.log # rm -r /var/log/lighttp