Re: [PATCH] git-daemon: fix for rotating logs
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 28, 2008, 20:53 UTC
- Message-ID
- <alpine.DEB.1.00.0804282153290.19187@eeepc-johanness>
- In-Reply-To
- <20080428204323.GA22815@cuci.nl>
Hi,
On Mon, 28 Apr 2008, Stephen R. van den Berg wrote:
Show 17 quoted lines
> Johannes Schindelin wrote: > > >On Mon, 28 Apr 2008, Stephen R. van den Berg wrote: > > >> >> I have no idea, but other programs must have the same problem. I > >> >> should > > >So do you have any ideas what is happening there? It seems that after > >logrotate does its thing, syslog() is stuck in the close() call. > > Erm, just so I understand the problem: > - git-daemon is configured to use syslog(3) to log > - git-daemon uses openlog(3) > - git-daemon logs happily for a while > - rotatelog rotates logfiles in /var/log and communicates with syslogd > to make sure syslogd starts new logfiles in /var/log > - And then git-daemon hangs on which system/library call?
It seems that this happens, yes.
Ciao, Dscho