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

Re: [RFC/PATCH] git-web--browse: don't add start as candidate on Ubuntu

From
Christian Couder <chriscool@tuxfamily.org>
Date
Jan 4, 2009, 07:33 UTC
Message-ID
<200901040833.25849.chriscool@tuxfamily.org>
In-Reply-To
<495D3964.6040006@ramsay1.demon.co.uk>
Le jeudi 1 janvier 2009, Ramsay Jones a écrit :
Show 35 quoted lines
> Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
> ---
>
> Hi *,
>
> When upgrading to v1.6.1, I noticed that the html help had stopped
> working on Linux (Ububtu), viz:
>
>     $ git help -w tag
>     start: Need to be root
>
> So, after squinting at git-web--browse.sh, I tried a few things:
>
>     $ ls /bin/start
>     ls: /bin/start: No such file or directory
>     $ test -n /bin/start; echo $?
>     0
>     $ which start
>     /sbin/start
>     $ start fred
>     start: Need to be root
>     $ ls -l /sbin/start
>     lrwxrwxrwx 1 root root 7 2007-06-24 19:45 /sbin/start -> initctl*
>
> So, it would seem that /sbin/start is part of upstart, which would
> explain the "Need to be root" ;-)
>
>     $ test -x /bin/start; echo $?
>     1
>     $
>
> So, the patch below fixes the issue for me, but as I don't have MinGW
> installed, I can't test this fix works there.
>
> Does anybody else see this issue and can someone test the patch?
Petr, as you added support for using /bin/start on MinGW, could you test?

Thanks, Christian.

Previous: Ramsay JonesNext: Junio C Hamano
Message 2 of 5 in “git-web--browse: don't add start as candidate on Ubuntu”
  1. git-web--browse: don't add start as candidate on UbuntuRamsay Jones, Jan 1, 2009
  2. Christian CouderJan 4, 2009
  3. Junio C HamanoJan 4, 2009
  4. Petr BaudisJan 4, 2009
  5. git-web--browse: don't add start as candidate on UbuntuRamsay Jones, Jan 12, 2009

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.