On Tue, Nov 09, 2010 at 11:41:55PM +0100, Alan T DeKok wrote: > Josip Rodin wrote: > >> The server needs to be HUP'd for the log rotation to work. It > >> previously did *not* re-open the log file on HUP. Now it does. > > > > No, but that's not what I'm saying. Previously it just kept writing the same > > file *without* a HUP. > > No... it wrote to the same *filename*, but a new *file*. i.e. it > re-opened the log file on every log message. This is not the normal > Unix daemon behavior. > > > It now no longer does, and it broke all our logrotate > > setups... is this really necessary? > > Yes. It's how the server was intended to work, and it's how Unix > daemons traditionally work. > > Fixing the logrotate scripts is just adding a "post rotate HUP" entry...
OK, so I tried it, and it actually doesn't work for me. I HUP'ed my FR server process running since Oct 16, that logrotate had previously rotated out and cleared out. After the HUP, the /var/log/freeradius/radius.log file is still zero-sized, while the files used by linelog continue to fill up normally. Are we sure we are all still talking about the same problem here? :) -- 2. That which causes joy or happiness. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org