Your message dated Wed, 02 Dec 2009 21:18:44 +0000
with message-id <[email protected]>
and subject line Bug#558143: fixed in mercurial-server 1.0-1
has caused the Debian Bug report #558143,
regarding call to /usr/share/mercurial-server/refresh-auth fails without -H 
switch for sudo
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
558143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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




--- End Message ---
--- Begin Message ---
Source: mercurial-server
Source-Version: 1.0-1

We believe that the bug you reported is fixed in the latest version of
mercurial-server, which is due to be installed in the Debian FTP archive:

mercurial-server_1.0-1.diff.gz
  to main/m/mercurial-server/mercurial-server_1.0-1.diff.gz
mercurial-server_1.0-1.dsc
  to main/m/mercurial-server/mercurial-server_1.0-1.dsc
mercurial-server_1.0-1_all.deb
  to main/m/mercurial-server/mercurial-server_1.0-1_all.deb
mercurial-server_1.0.orig.tar.gz
  to main/m/mercurial-server/mercurial-server_1.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Crowley <[email protected]> (supplier of updated mercurial-server package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 02 Dec 2009 18:01:27 +0000
Source: mercurial-server
Binary: mercurial-server
Architecture: source all
Version: 1.0-1
Distribution: unstable
Urgency: low
Maintainer: Paul Crowley <[email protected]>
Changed-By: Paul Crowley <[email protected]>
Description: 
 mercurial-server - shared Mercurial repository service
Closes: 558143 558387
Changes: 
 mercurial-server (1.0-1) unstable; urgency=low
 .
   * Fix "call to /usr/share/mercurial-server/refresh-auth fails without
     -H switch for sudo" (Closes: #558143)
   * Fix "NP problem" with new short description (Closes: #558387)
   * New upstream version
Checksums-Sha1: 
 634a42b18dce9344377aae73c0e75b0dc6e4cb39 1214 mercurial-server_1.0-1.dsc
 628ba35f47e7f92fd98ea93d5b0b47e12d746351 19767 mercurial-server_1.0.orig.tar.gz
 bb4b391a7c6255af1373858f9be7bc183d67b7ac 2866 mercurial-server_1.0-1.diff.gz
 def6654752497df7ba849e45c579a238b2caf7bf 17582 mercurial-server_1.0-1_all.deb
Checksums-Sha256: 
 3b3771cdaf029f2d8145fb889304b1060039448655d6de321e84432d4def9922 1214 
mercurial-server_1.0-1.dsc
 16bcfae7b1b42473ceecfaee51d64e76b4b1fa80853f596788400ad94be83db8 19767 
mercurial-server_1.0.orig.tar.gz
 f4a6b3b27f3889d98f51ed8c6c834532b6b9abc243d7fa866de36570cc68b500 2866 
mercurial-server_1.0-1.diff.gz
 f5ce8ccdb62a3596bd91327f445b9ef58488da40a687b02f9a568b0a88e80c30 17582 
mercurial-server_1.0-1_all.deb
Files: 
 a106e3b8bb571d86842ec1dafc42067d 1214 devel extra mercurial-server_1.0-1.dsc
 5238f1c2f0d8d78417fe17a39d98a328 19767 devel extra 
mercurial-server_1.0.orig.tar.gz
 80c424928db8fe6470d7a85a89b78fcc 2866 devel extra 
mercurial-server_1.0-1.diff.gz
 002c6e12e516b045f865ebc85eae8a05 17582 devel extra 
mercurial-server_1.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksW2BgACgkQwM/Gs81MDZ2tuwCaAqpF27CWjE6ppY3clXdHhIv6
IuEAnjsoYw6LprIxklZZT/dvvZzvvMaT
=1/Xp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to