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

Bug#285871: xdm logrotate script eats logs



tag 285871 + unreproducible moreinfo
retitle 285871 xdm: logrotate script eats logs
thanks

On Thu, Dec 16, 2004 at 02:40:00AM +0000, Andrew Suffield wrote:
> Package: xdm
> Severity: important
> 
> /etc/logrotate.d/xdm manages to delete the /var/log/xdm.log currently
> in use, and never signals xdm to reopen its log file. Since xdm
> usually stays running for weeks at a time, and the log is 'rotated'
> daily, this means that most of the time xdm is writing to a deleted
> file. Which is less than helpful.

I've never seen this behavior.

> That's the worst logrotate file I've seen in quite a while.

What looks wrong with it?

http://necrotic.deadbeast.net/svn/xfree86/trunk/debian/xdm.logrotate

/var/log/xdm.log {
	notifempty
	missingok
}

-- 
G. Branden Robinson                |       Psychology is really biology.
Debian GNU/Linux                   |       Biology is really chemistry.
branden@debian.org                 |       Chemistry is really physics.
http://people.debian.org/~branden/ |       Physics is really math.

Attachment: signature.asc
Description: Digital signature


Reply to: