From: Johannes Schindelin Date: Mon, 28 Apr 2008 20:53:53 GMT Subject: Re: [PATCH] git-daemon: fix for rotating logs Message-ID: In-Reply-To: <20080428204323.GA22815@cuci.nl> Hi, On Mon, 28 Apr 2008, Stephen R. van den Berg wrote: > 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