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

[PATCH] cvsserver: Correct inetd.conf example in asciidoc documentation

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
May 27, 2007, 12:33 UTC
Message-ID
<1180269190852-git-send-email-frank@lichtenheld.de>
In-Reply-To
<1180269190126-git-send-email-frank@lichtenheld.de>

While the given example worked, it made us look rather incompetent. Give the correct reason why one needs the more complex syntax and change the example to reflect that.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
---
 Documentation/git-cvsserver.txt |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt
index d22844b..9f0d990 100644
--- a/Documentation/git-cvsserver.txt
+++ b/Documentation/git-cvsserver.txt
@@ -46,11 +46,13 @@ INSTALLATION
    cvspserver stream tcp nowait nobody git-cvsserver pserver
 
 ------
-Note: In some cases, you need to pass the 'pserver' argument twice for
-git-cvsserver to see it. So the line would look like
+Note: Some inetd servers let you specify the name of the executable
+independently of the value of argv[0] (i.e. the name the program assumes
+it was executed with). In this case the correct line in /etc/inetd.conf
+looks like
 
 ------
-   cvspserver stream tcp nowait nobody git-cvsserver pserver pserver
+   cvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver
 
 ------
 No special setup is needed for SSH access, other than having GIT tools
-- 
1.5.2-rc3.GIT
Previous: Frank LichtenheldNext: Frank Lichtenheld
Message 2 of 6 in “Various git-cvsserver patches”
  1. Frank LichtenheldMay 27, 2007
  2. cvsserver: Correct inetd.conf example in asciidoc documentationFrank Lichtenheld, May 27, 2007
  3. cvsserver: Note that CVS_SERVER can also be specified as method variableFrank Lichtenheld, May 27, 2007
  4. cvsserver: Fix some typos in asciidoc documentationFrank Lichtenheld, May 27, 2007
  5. t9400: Work around CVS' deficienciesFrank Lichtenheld, May 27, 2007
  6. cvsserver: Handle 'cvs login'Frank Lichtenheld, May 27, 2007

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.