Package: mercurial-server
Version: 0.9-1
Severity: minor
Hi!
I tried to configure mercurial-server following the documentation given
in /usr/share/doc/mercurial-server/html/index.html.
When I tried to lauch:
bou...@domino$ sudo -u hg /usr/share/mercurial-server/refresh-auth
I got the following error:
Must be run as the 'hg' user
As I understand from the file /usr/share/mercurial-server/refresh-auth,
this error occurs if no file .mercurial-server is found in the home
directory of the user launching the command.
However, sudo -u hg does not change $HOME to that of hg:
bou...@domino$ sudo -u hg env |grep HOME
HOME=/home/boutil
But with the -H switch, we have:
bou...@domino$ sudo -u hg -H env| grep HOME
HOME=/var/lib/mercurial-server
Running the command
sudo -u hg -H /usr/share/mercurial-server/refresh-auth
terminates without errors. Therefore, I think that the switch -H should
be added to the call to refresh-auth in the documentation.
What do you think?
Best regards,
Cédric
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (700, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mercurial-server depends on:
ii adduser 3.111 add and remove users and groups
ii mercurial 1.4-1 scalable distributed version contr
ii openssh-server [ssh-server] 1:5.1p1-8 secure shell server, an rshd repla
ii python 2.5.4-2 An interactive high-level object-o
ii python-support 1.0.4 automated rebuilding support for P
mercurial-server recommends no packages.
mercurial-server suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]