Your message dated Sat, 25 Dec 2010 17:17:06 +0000
with message-id <e1pwxju-0006ca...@franck.debian.org>
and subject line Bug#605584: fixed in mercurial-server 1.1-1
has caused the Debian Bug report #605584,
regarding mercurial-server: leaves unowned files on purge
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 ow...@bugs.debian.org
immediately.)


-- 
605584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605584
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mercurial-server
Version: 1.0.1-1.1
Severity: serious

Your postrm does:

        if remove_repositories_on_purge; then
            echo -n "Removing hg user and purging data..."
            deluser --remove-home --quiet --system hg > /dev/null || true
        else
            echo -n "Removing hg user..."
            deluser --quiet --system hg > /dev/null || true
        fi
        delgroup --quiet --system hg > /dev/null || true
        echo done

If !remove_repositories_on_purge, this leaves files on the system with
no owner.  Just don't remove the user (and group) in that case.  In
combination with your postinst, which does:

        if ! getent passwd hg >/dev/null; then
            adduser --disabled-password --quiet --system \
                --shell /bin/sh --group \
                --home /var/lib/mercurial-server \
                --gecos "Mercurial repositories" hg
            su -c "/usr/share/mercurial-server/init/hginit 
/usr/share/mercurial-server" hg

this means that an install/purge/install cycle fails on the second
install with:
abort: repository . already exists!
because /var/lib/mercurial-server is kept from the first install so the
second hginit breaks.

Cheers,
Julien

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: mercurial-server
Source-Version: 1.1-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.1-1.debian.tar.gz
  to main/m/mercurial-server/mercurial-server_1.1-1.debian.tar.gz
mercurial-server_1.1-1.dsc
  to main/m/mercurial-server/mercurial-server_1.1-1.dsc
mercurial-server_1.1-1_all.deb
  to main/m/mercurial-server/mercurial-server_1.1-1_all.deb
mercurial-server_1.1.orig.tar.gz
  to main/m/mercurial-server/mercurial-server_1.1.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 605...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Crowley <p...@lshift.net> (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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sat, 18 Dec 2010 15:46:45 +0000
Source: mercurial-server
Binary: mercurial-server
Architecture: source all
Version: 1.1-1
Distribution: unstable
Urgency: low
Maintainer: Paul Crowley <p...@lshift.net>
Changed-By: Paul Crowley <p...@lshift.net>
Description: 
 mercurial-server - shared Mercurial repository service
Closes: 604213 605584 607407
Changes: 
 mercurial-server (1.1-1) unstable; urgency=low
 .
   * New upstream version
   * Fix "leaves unowned files on purge": Delete user/group only
     when purging data (Closes: #605584)
   * Fix "installation fails with aptitude": run update-python-modules
     to ensure hg will work before using it (Closes: #604213)
   * Add translation for pt_BR  (Closes: #607407)
Checksums-Sha1: 
 49680d80a14d28d6ce26c2120037837238aad971 1240 mercurial-server_1.1-1.dsc
 00f4fff897b071019ec13c8bca4d181cbfdbda8f 21168 mercurial-server_1.1.orig.tar.gz
 76c40cf772e44a07d4363666ba9d939d9e913392 7395 
mercurial-server_1.1-1.debian.tar.gz
 e1f48ec6d99cbcfc426f306b5e65d029d6c2dce0 20342 mercurial-server_1.1-1_all.deb
Checksums-Sha256: 
 f33cd38ee85b624fc02887f233240b25c181d6dcc5ff0c1cdabe66d8cfed8f4e 1240 
mercurial-server_1.1-1.dsc
 70b988851440c218e710d15037bae712b7d86e8d6f9b033c7cc3379f433d647f 21168 
mercurial-server_1.1.orig.tar.gz
 78130dcda05c7b87cbe62088a013c2b91c4b133c329347635c144e4f314b6559 7395 
mercurial-server_1.1-1.debian.tar.gz
 c7b942601fbca6fed3fe27f2f1bbee541c4ceb7ab4092e8eb34405ff1e58c1a7 20342 
mercurial-server_1.1-1_all.deb
Files: 
 5cc322b2dc31f97b50a38ee44bc2a0df 1240 devel extra mercurial-server_1.1-1.dsc
 8d023b908bdc6f44e0231e9c4bd0898a 21168 devel extra 
mercurial-server_1.1.orig.tar.gz
 869d1ba9bf8bae7ca58cd2e15ae1f00f 7395 devel extra 
mercurial-server_1.1-1.debian.tar.gz
 b8f020308b0bfd996937ed06abe2a961 20342 devel extra 
mercurial-server_1.1-1_all.deb

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

iEYEARECAAYFAk0WJGAACgkQwM/Gs81MDZ3wNgCeOT8M7qi+eluKwVIXj+1jzdF0
oUMAoMKQfz5gDyJpDql7vAThw0h4jkFL
=5TeY
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to