git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-daemon: --inetd implies --syslog

From
Junio C Hamano <junkio@cox.net>
Date
Nov 14, 2005, 20:54 UTC
Message-ID
<7vlkzrx84p.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051114164101.58A495BF92@nox.op5.se>
exon@op5.se (Andreas Ericsson) writes:
> Otherwise nothing is logged anywhere, which is a Bad Thing.
>
> Signed-off-by: Andreas Ericsson <ae@op5.se>

Thanks; I am OK with what you are trying to do with this change, except that:

 - I suspect closing stderr is still needed (the "workaround"
   was about inetd connection sending output to both fd 1 and 2
   to the client, which would corrupt the protocol conversation
   when exec'ed program writes anything to its standard error
   stream).
 - I would have preferred the removal of needless else as a
   separate cleanup patch (this is minor).

Peter, I am CC'ing this to you because I do not know how you run the daemon on kernel.org machines -- I suspect you use --syslog already and am hoping you are OK with this change.

Previous: Andreas EricssonNext: Andreas Ericsson
Message 2 of 5 in “git-daemon: --inetd implies --syslog”
  1. git-daemon: --inetd implies --syslogAndreas Ericsson, Nov 14, 2005
  2. Junio C HamanoNov 14, 2005
  3. Andreas EricssonNov 14, 2005
  4. Junio C HamanoNov 14, 2005
  5. H. Peter AnvinNov 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.