[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#665002: marked as done (apache2-suexec-{custom, pristine}: leaves alternatives after purge: suexec, suexec.8.gz)



Your message dated Sun, 01 Apr 2012 19:47:34 +0000
with message-id <E1SEQkQ-0003A8-2e@franck.debian.org>
and subject line Bug#665002: fixed in apache2 2.4.1-3
has caused the Debian Bug report #665002,
regarding apache2-suexec-{custom, pristine}: leaves alternatives after purge: suexec, suexec.8.gz
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 owner@bugs.debian.org
immediately.)


-- 
665002: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665002
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2-suexec-custom,apache2-suexec-pristine
Version: 2.4.1-2
Severity: important
User: debian-qa@lists.debian.org
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).

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

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

0m33.2s ERROR: WARN: Broken symlinks:
  /usr/share/man/man1/suexec.8.gz -> /etc/alternatives/suexec.8.gz
  /usr/lib/apache2/suexec -> /etc/alternatives/suexec
  /etc/alternatives/suexec.8.gz -> /usr/share/man/man8/suexec-pristine.8.gz
  /etc/alternatives/suexec -> /usr/lib/apache2/suexec-pristine

0m34.8s ERROR: FAIL: Package purging left files on system:
  /etc/alternatives/suexec	 not owned
  /etc/alternatives/suexec.8.gz	 not owned
  /usr/lib/apache2	 owned by: apache2-suexec-pristine, apache2-bin
  /usr/lib/apache2/suexec	 not owned
  /usr/share/man/man1/suexec.8.gz	 not owned


cheers,

Andreas

Attachment: apache2-suexec-custom_2.4.1-2.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.4.1-3

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

apache2-bin_2.4.1-3_i386.deb
  to main/a/apache2/apache2-bin_2.4.1-3_i386.deb
apache2-data_2.4.1-3_all.deb
  to main/a/apache2/apache2-data_2.4.1-3_all.deb
apache2-dbg_2.4.1-3_i386.deb
  to main/a/apache2/apache2-dbg_2.4.1-3_i386.deb
apache2-dev_2.4.1-3_i386.deb
  to main/a/apache2/apache2-dev_2.4.1-3_i386.deb
apache2-doc_2.4.1-3_all.deb
  to main/a/apache2/apache2-doc_2.4.1-3_all.deb
apache2-mpm-event_2.4.1-3_i386.deb
  to main/a/apache2/apache2-mpm-event_2.4.1-3_i386.deb
apache2-mpm-prefork_2.4.1-3_i386.deb
  to main/a/apache2/apache2-mpm-prefork_2.4.1-3_i386.deb
apache2-mpm-worker_2.4.1-3_i386.deb
  to main/a/apache2/apache2-mpm-worker_2.4.1-3_i386.deb
apache2-suexec-custom_2.4.1-3_i386.deb
  to main/a/apache2/apache2-suexec-custom_2.4.1-3_i386.deb
apache2-suexec-pristine_2.4.1-3_i386.deb
  to main/a/apache2/apache2-suexec-pristine_2.4.1-3_i386.deb
apache2-suexec_2.4.1-3_i386.deb
  to main/a/apache2/apache2-suexec_2.4.1-3_i386.deb
apache2-utils_2.4.1-3_i386.deb
  to main/a/apache2/apache2-utils_2.4.1-3_i386.deb
apache2.2-bin_2.4.1-3_i386.deb
  to main/a/apache2/apache2.2-bin_2.4.1-3_i386.deb
apache2_2.4.1-3.debian.tar.gz
  to main/a/apache2/apache2_2.4.1-3.debian.tar.gz
apache2_2.4.1-3.dsc
  to main/a/apache2/apache2_2.4.1-3.dsc
apache2_2.4.1-3_i386.deb
  to main/a/apache2/apache2_2.4.1-3_i386.deb



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 665002@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefan Fritsch <sf@debian.org> (supplier of updated apache2 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Sun, 01 Apr 2012 21:11:51 +0200
Source: apache2
Binary: apache2 apache2-data apache2-bin apache2-mpm-worker apache2-mpm-prefork apache2-mpm-event apache2.2-bin apache2-utils apache2-suexec apache2-suexec-pristine apache2-suexec-custom apache2-doc apache2-dev apache2-dbg
Architecture: source i386 all
Version: 2.4.1-3
Distribution: experimental
Urgency: low
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Changed-By: Stefan Fritsch <sf@debian.org>
Description: 
 apache2    - Apache HTTP Server
 apache2-bin - Apache HTTP Server (binary files and modules)
 apache2-data - Apache HTTP Server (common files)
 apache2-dbg - Apache debugging symbols
 apache2-dev - Apache HTTP Server (development headers)
 apache2-doc - Apache HTTP Server (on-site documentation)
 apache2-mpm-event - transitional event MPM package for apache2
 apache2-mpm-prefork - transitional prefork MPM package for apache2
 apache2-mpm-worker - transitional worker MPM package for apache2
 apache2-suexec - transitional package for apache2-suexec-pristine
 apache2-suexec-custom - Apache HTTP Server configurable suexec program for mod_suexec
 apache2-suexec-pristine - Apache HTTP Server standard suexec program for mod_suexec
 apache2-utils - Apache HTTP Server (utility programs for web servers)
 apache2.2-bin - Transitional package for apache2-bin
Closes: 665002
Changes: 
 apache2 (2.4.1-3) experimental; urgency=low
 .
   [ Arno Töll ]
   * apache2-suexec-{custom,pristine}: Fix argument order when removing
     alternatives, do not remove alternatives on upgrades. Thanks Andreas
     Beckmann for spotting the issue (Closes: #665002)
   * Install suexec(8) link to /usr/share/man/man8/...
   * Enable mod_version statically, drop associated module load file.
   * Update PACKAGING hints and cope several questions raised among the
     discussions with packagers. Thus, invokation of apache2-maintscript-helper
     in maintainer scripts are covered now.
   * Changes in dh_apache2:
     + Invoke the maintscript helper postrm action for simple package removals,
       too.
     + Fix a bug which accidentally called "en{mod,site,conf}" instead of
       "di{mod,site,conf}"
     + Set the default conditional back to "true", now the maintainer script is
       expected to cope itself with upgrades correctly
   * Changes in apache2_maintscript_helper
     + Provide apache2_action_needed, apache2_msg
     + Parse maintainer script arguments to find out which script called us
     + Support APACHE2_MAINTSCRIPT_HELPER_QUIET which, when set, omits any
       visible output
     + Break APIs: apache2_invoke accepts a single configuration file argument
       only now. However, other than dh_apache2 no users of this feature were
       known.
   * Build the apache2.2-bin transitional package again, without it updates from
     Squeeze are broken from some use cases
   * Remove 2.2's postrm script only if we're actually upgrading.
     This previously didn't have bad side-effects, but caused a disturbing
     warning.
 .
   [ Stefan Fritsch ]
   * Import lots of bug fixes from upstream svn: All code changes from branch
     2.4.x up to r1307835, plus r1294306 and r1307067 from trunk.
   * Remove /usr/share/doc alias from default virtual hosts' configs.
   * Add 'Multi-Arch: foreign' to apache2-utils
   * Make a2enconf and a2ensite warn if dependencies are not fullfilled.
Checksums-Sha1: 
 9074fea3539ea13b66b96d56699212bd66290c6b 2245 apache2_2.4.1-3.dsc
 937a133452926c2b19d84aa1c375780a9871d706 174605 apache2_2.4.1-3.debian.tar.gz
 ff30dd63e54842d816227b9a7bf66a1a44f13128 174470 apache2_2.4.1-3_i386.deb
 c8043569c360b1941a8f7cf6dddcf7e24b5de74a 131006 apache2-data_2.4.1-3_all.deb
 c003d7d6ae2fad69cf350b99162f05abde9b98cf 1253132 apache2-bin_2.4.1-3_i386.deb
 fd51e4a58f4c88fa1da8c32dbfdf675617d22ecb 798 apache2-mpm-worker_2.4.1-3_i386.deb
 7d580b6a1dd6bbd4b7cc97efeba0d7750fb7bf79 796 apache2-mpm-prefork_2.4.1-3_i386.deb
 4697b694d01806bfb23f8fa2e8d4891b00801b33 796 apache2-mpm-event_2.4.1-3_i386.deb
 935926a7a9b290e97dbddc1b46107e1adcfca88b 93450 apache2.2-bin_2.4.1-3_i386.deb
 c0244b6af44e30481a0baf7951543f927484793b 184236 apache2-utils_2.4.1-3_i386.deb
 ada9db305e826847632a3d2e322fc1ea2f7fef66 798 apache2-suexec_2.4.1-3_i386.deb
 ffb9f49247fe5a9975c2c66cc1c016bfc1c0e4cf 101536 apache2-suexec-pristine_2.4.1-3_i386.deb
 80511845201b957162f3987795b01d3f6435be14 103254 apache2-suexec-custom_2.4.1-3_i386.deb
 681a320ce600481ef05f7be3511646cc27366d4d 3199738 apache2-doc_2.4.1-3_all.deb
 4145094f4163f178ac624da2d45b1f76d0dd2ed5 186298 apache2-dev_2.4.1-3_i386.deb
 ddfc1934e841f3a95681fdaae898ee8888e100dd 2460162 apache2-dbg_2.4.1-3_i386.deb
Checksums-Sha256: 
 07d93fb1949f779e2a81a8fbe9ba8b9b2c5f8109546f7d50d4900f5df67919df 2245 apache2_2.4.1-3.dsc
 3f57259618fde553c1573c968416f18979e76b45df5b80fa2eab950c4cee200e 174605 apache2_2.4.1-3.debian.tar.gz
 2d9e7d74c65bee88b0a0b75bb1b5dba0be9525e93eeae149f1691cd989657404 174470 apache2_2.4.1-3_i386.deb
 19af7b7d3a6ffa3da09d3c5a3ffba56c9e98ae7019d2681af0273ec31f1a44e8 131006 apache2-data_2.4.1-3_all.deb
 97efb74a5ec27ed210eb4f3a670aee4c205d0d03c1f5ca0b7e4535c70a22c647 1253132 apache2-bin_2.4.1-3_i386.deb
 414ab7a71f10727b4ee1d446b0d1129203fc52a37a737c537144725644c1eece 798 apache2-mpm-worker_2.4.1-3_i386.deb
 bbe9d574acc347b43fdb5e293871e4c78a2c320f06f7e465e265396183518f3f 796 apache2-mpm-prefork_2.4.1-3_i386.deb
 d59455ce21ac0c992a53e1ef9a9c6aeef807e29276fb5315d3fcbcc09eaed6a3 796 apache2-mpm-event_2.4.1-3_i386.deb
 8cbefa3bc32fee13ebcafe92093c2dec9dbdeb4ffa16f274471f2e154b8f0bcf 93450 apache2.2-bin_2.4.1-3_i386.deb
 131a4ed441c256f9bd2c6f9fce1656c44bce049f69d1ed2d9d36065974945b79 184236 apache2-utils_2.4.1-3_i386.deb
 a48424185b649c73c53c520acad9580a606e571bdec40ee3f944708cc74c3c32 798 apache2-suexec_2.4.1-3_i386.deb
 ade693dc6bf3956a2f58bdf970c0c03a4784729d8b55e0fc8ae3118366087f58 101536 apache2-suexec-pristine_2.4.1-3_i386.deb
 04d05323abc7ebe31c72663475f3fa6d04a5b2304de2770a76636755dae733d2 103254 apache2-suexec-custom_2.4.1-3_i386.deb
 21411cf71c0df242bd4d16775024ede301f92348a6856f82189239820850c645 3199738 apache2-doc_2.4.1-3_all.deb
 15241a8d0967bec7267968a6bd2c5e5d13f4c0e7a62d842acd27520b4e8c6883 186298 apache2-dev_2.4.1-3_i386.deb
 9edd1b332531019285691c4d91a4fe8a891c15e8ecd0630e873d1eeee73e5f53 2460162 apache2-dbg_2.4.1-3_i386.deb
Files: 
 51f0430fcd2d025c9f8d17252c775e58 2245 httpd optional apache2_2.4.1-3.dsc
 ef0e06c47582534d5f3de00cbe116bf0 174605 httpd optional apache2_2.4.1-3.debian.tar.gz
 1b970be7976ec11e8ea899e3acf89546 174470 httpd optional apache2_2.4.1-3_i386.deb
 a8467902d3a9f80021bffbe59d19d254 131006 httpd optional apache2-data_2.4.1-3_all.deb
 eba4f2d7ba8d2671d0c2cf87882b3796 1253132 httpd optional apache2-bin_2.4.1-3_i386.deb
 3df2b904bd08e10debceeb9ab110c630 798 oldlibs extra apache2-mpm-worker_2.4.1-3_i386.deb
 9a1d2d74b83f71da57d99416ec526295 796 oldlibs extra apache2-mpm-prefork_2.4.1-3_i386.deb
 4d352c513a5be018c089ecad0c127862 796 oldlibs extra apache2-mpm-event_2.4.1-3_i386.deb
 dfef907c882eb629e4174ac80c84d6bc 93450 oldlibs extra apache2.2-bin_2.4.1-3_i386.deb
 2d66503a1b1b65b2702efd1ed1299800 184236 httpd optional apache2-utils_2.4.1-3_i386.deb
 2a0069674d89018442dec94fd34f790b 798 oldlibs extra apache2-suexec_2.4.1-3_i386.deb
 57497dfe8b690e4026aa97624a24eaee 101536 httpd optional apache2-suexec-pristine_2.4.1-3_i386.deb
 d54426a310b25352e5d44d8843b35ba0 103254 httpd extra apache2-suexec-custom_2.4.1-3_i386.deb
 a1f39f5abe945be8ff6025c8d0b3194b 3199738 doc optional apache2-doc_2.4.1-3_all.deb
 40cf076fa6785b5a57fa3130feca32f1 186298 httpd optional apache2-dev_2.4.1-3_i386.deb
 4ff4f481c0a8327028fcbe8dcbeefbab 2460162 debug extra apache2-dbg_2.4.1-3_i386.deb

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

iD8DBQFPeKwXbxelr8HyTqQRAhY9AJ9Fw23fbjsqNc5QqMCqjnqXa7Y9WQCgnW2F
rk/jeVv3aediaMt6j8kf89o=
=D6oI
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: