Your message dated Fri, 29 Jun 2012 23:27:12 +0000
with message-id <[email protected]>
and subject line Bug#668438: fixed in lxc 0.8.0~rc1-6
has caused the Debian Bug report #668438,
regarding lxc: leaves alternatives after 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 [email protected]
immediately.)


-- 
668438: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668438
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc
Version: 0.8.0~rc1-4
Severity: important
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned files on
the system after purge, which is a violation of policy 6.8:

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

The leftover files are actually alternatives that were installed by the
package but have not been properly removed.

While there is ongoing discussion how to remove alternatives correctly
(see http://bugs.debian.org/71621 for details) the following strategy
should work for regular cases:
* 'postinst configure' always installs the alternative
* 'prerm remove' removes the alternative
* 'postrm remove' and 'postrm disappear' remove the alternative
In all other cases a maintainer script is invoked (e.g. upgrade,
deconfigure) the alternatives are not modified to preserve user
configuration.
Removing the alternative in 'prerm remove' avoids having a dangling link
once the actual file gets removed, but 'prerm remove' is not called in
all cases (e.g. deconfigured or disappearing packages) so the postrm
must remove the alternative again (update-alternatives gracefully
handles removal of non-existing alternatives).

Note that the arguments for adding and removing alternatives differ, for
removal it's 'update-alternatives --remove <name> <path>'.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

>From the attached log (scroll to the bottom...):

0m19.7s ERROR: WARN: Broken symlinks:
  /etc/alternatives/lxc-shutdown.1.gz -> /usr/share/man/man1/lxc-halt.1.gz
  /etc/alternatives/lxc-shutdown -> /usr/bin/lxc-halt
  /usr/bin/lxc-shutdown -> /etc/alternatives/lxc-shutdown
  /usr/share/man/man1/lxc-shutdown.1.gz -> /etc/alternatives/lxc-shutdown.1.gz

0m21.0s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/lxc-shutdown         not owned
  /etc/alternatives/lxc-shutdown.1.gz    not owned
  /usr/bin/lxc-shutdown  not owned
  /usr/share/man/man1/lxc-shutdown.1.gz  not owned
  /var/lib/lxc   not owned


cheers,

Andreas

Attachment: lxc_0.8.0~rc1-4.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: lxc
Source-Version: 0.8.0~rc1-6

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

lxc-dbg_0.8.0~rc1-6_i386.deb
  to main/l/lxc/lxc-dbg_0.8.0~rc1-6_i386.deb
lxc-dev_0.8.0~rc1-6_i386.deb
  to main/l/lxc/lxc-dev_0.8.0~rc1-6_i386.deb
lxc_0.8.0~rc1-6.debian.tar.xz
  to main/l/lxc/lxc_0.8.0~rc1-6.debian.tar.xz
lxc_0.8.0~rc1-6.dsc
  to main/l/lxc/lxc_0.8.0~rc1-6.dsc
lxc_0.8.0~rc1-6_i386.deb
  to main/l/lxc/lxc_0.8.0~rc1-6_i386.deb
lxc_0.8.0~rc1.orig.tar.xz
  to main/l/lxc/lxc_0.8.0~rc1.orig.tar.xz



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.
Daniel Baumann <[email protected]> (supplier of updated 
lxc 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: Sat, 30 Jun 2012 00:05:28 +0200
Source: lxc
Binary: lxc lxc-dbg lxc-dev
Architecture: source i386
Version: 0.8.0~rc1-6
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description: 
 lxc        - Linux Containers userspace tools
 lxc-dbg    - Linux Containers userspace tools (debug)
 lxc-dev    - Linux Containers userspace tools (development)
Closes: 668438 673552
Changes: 
 lxc (0.8.0~rc1-6) unstable; urgency=low
 .
   * Adding copyright headers to local debian additions.
   * Create /etc/lxc/auto when creating symlinks for the unlikely event
     that user has it removed.
   * Switching to xz compression.
   * Updating GPL boilerplate in copyright file.
   * Simplyfing backports compatible use of multiarch debhelper install
     files.
   * Adding prerm script to remove alternatives (Closes: #668438).
   * Correcting spelling typo in readme.
   * Clarify in readme the name of the symlinks in /etc/lxc/auto.
   * Deriving container name from parent directory of the configuration
     file, not from the name of the configuration file (Closes: #673552).
   * Tidying up initscripts start sequence.
   * Adding explicit docbook build-depends.
   * Updating lintian overrides.
Checksums-Sha1: 
 706f0f214514a1b7d39fb00049e303f98432b022 1269 lxc_0.8.0~rc1-6.dsc
 1da1af3b8a51aed8a58c7c26d04b04f7b5375021 205336 lxc_0.8.0~rc1.orig.tar.xz
 db771524c30115fcafd650663aec9ada0a6a2381 39992 lxc_0.8.0~rc1-6.debian.tar.xz
 0cac8e75b98edbfa7637ac53c65e7a8663dd64a0 165062 lxc_0.8.0~rc1-6_i386.deb
 f110212a782dbb99b8b56c95f0fba453bf817451 257650 lxc-dbg_0.8.0~rc1-6_i386.deb
 1511af1098a549974a09d56b2a80b9317925d930 19312 lxc-dev_0.8.0~rc1-6_i386.deb
Checksums-Sha256: 
 10fbca6758042acf3a1b604228d4705e2820a93aab51a2dd70afe7c170f4a946 1269 
lxc_0.8.0~rc1-6.dsc
 0ce5746dd45d2eb11b73bb99e50e424f053875ae42d8f1e6fc240d18aaba9b34 205336 
lxc_0.8.0~rc1.orig.tar.xz
 223ea9aea9cef33179eb95dce7d486618cc194b088dad2401f9d50acf50dfd8f 39992 
lxc_0.8.0~rc1-6.debian.tar.xz
 91a8422020c2bda34ab81300c2d322a839872ce59954b5c6fd9cb4c104dbbaf7 165062 
lxc_0.8.0~rc1-6_i386.deb
 b9d9a408fa7d270a020947ecd4dfefa94dde2e7fdcf76a6fc9a3751bcebaa2e8 257650 
lxc-dbg_0.8.0~rc1-6_i386.deb
 589e83f892625daf6c7e2c57024caa4915e4ab4a4c1c3ff4a73dea2f22398f85 19312 
lxc-dev_0.8.0~rc1-6_i386.deb
Files: 
 4ec64e95f1fce254d1309032d84dd556 1269 admin optional lxc_0.8.0~rc1-6.dsc
 b90f405d7cea600b3a1b0ee1db99fbf2 205336 admin optional 
lxc_0.8.0~rc1.orig.tar.xz
 cc484e9db4ac2a152799eb2a024645e6 39992 admin optional 
lxc_0.8.0~rc1-6.debian.tar.xz
 c9a78c7d88851e14b818a9f176f73236 165062 admin optional lxc_0.8.0~rc1-6_i386.deb
 71cbf57fb823b24e171f0a8103fe32ba 257650 debug extra 
lxc-dbg_0.8.0~rc1-6_i386.deb
 ffa7e2a477a2ae4d90cd08c04b58618c 19312 libdevel optional 
lxc-dev_0.8.0~rc1-6_i386.deb

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

iEYEARECAAYFAk/uMe8ACgkQ+C5cwEsrK56ryACgwEJBMJ7CfjtnTICjhZ2sB0KI
HxwAoK6X/UZIPfUt37zMQX6fv/e1z+ul
=VMNd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to