Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2009-07-07 Thread Vincent Gatignol
Hi there, When using : savelog -dCc 7 file-to-rotate This is ok ! (every rotated file older than 7 is deleted) (running lenny with debianutils 2.30) But, if the filename is containing spaces, the rotation is done, but nothing is deleted. Cheers Vincent signature.asc Description: OpenPGP

Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2008-09-23 Thread GertJan Hagenaars
Apparently, Clint Adams wrote: % [Cc:ing Gert-Jan Hagenaars, since he implemented -d] % % On Tue, Sep 23, 2008 at 09:24:07PM +0200, Paul Slootman wrote: % > > There's no rotation capability with -d or -D. Perhaps this should be I don't see a "-D" in the current savelog implementation on my syste

Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2008-09-23 Thread Clint Adams
[Cc:ing Gert-Jan Hagenaars, since he implemented -d] On Tue, Sep 23, 2008 at 09:24:07PM +0200, Paul Slootman wrote: > > There's no rotation capability with -d or -D. Perhaps this should be > > Ugh :( > Surely that wouldn't be too difficult to do? Something like: > > ls -t1 $base.* | tail --line

Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2008-09-23 Thread Paul Slootman
On Tue 23 Sep 2008, Clint Adams wrote: > On Tue, Sep 23, 2008 at 04:07:07PM +0200, Paul Slootman wrote: > > $ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done; > > ls -1 ps1* > > There's no rotation capability with -d or -D. Perhaps this should be Ugh :( Surely that would

Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2008-09-23 Thread Clint Adams
On Tue, Sep 23, 2008 at 04:07:07PM +0200, Paul Slootman wrote: > $ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done; ls > -1 ps1* There's no rotation capability with -d or -D. Perhaps this should be documented, and perhaps -c should cause a fatal error if -d or -D is speci

Bug#499901: debianutils: savelog doesn't remove old versions when using -d

2008-09-23 Thread Paul Slootman
Package: debianutils Version: 2.30 Severity: important Marking important as it caused a filesystem to be full by not deleting old data. $ rm ps1* $ for i in 1 2 3 4 5 6 7 8 9; do savelog -q -l -d -c 5 ps1; sleep 2; done; ls -1 ps1* ps1.20080923160210 ps1.20080923160212 ps1.20080923160214 ps1.200