Re: [PATCH] git-daemon: fix for rotating logs
- From
Stephen R. van den Berg <srb@cuci.nl>
- Date
- Apr 28, 2008, 20:43 UTC
- Message-ID
- <20080428204323.GA22815@cuci.nl>
- In-Reply-To
- <alpine.DEB.1.00.0804282052050.19187@eeepc-johanness>
Johannes Schindelin wrote:
>since you seem to be very new to this list: we really appreciate a >Reply-to-all here.
I see. I normally consider that bad form (maybe my age shows ;-); but if people insist here, no problem.
>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?
--
Sincerely, srb@cuci.nl
Stephen R. van den Berg.