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

Bug#767850: marked as done (apache2: unhandled symlink to directory conversion: /usr/share/doc/apache2)



Your message dated Sun, 09 Nov 2014 18:19:08 +0000
with message-id <E1XnX4u-0007AX-Vu@franck.debian.org>
and subject line Bug#767850: fixed in apache2 2.4.10-7
has caused the Debian Bug report #767850,
regarding apache2: unhandled symlink to directory conversion: /usr/share/doc/apache2
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.)


-- 
767850: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767850
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.4.10-6
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  wheezy -> jessie

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.2)
to perform the conversion, ideally using d/$PACKAGE.mainstscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (usually somewhere in the middle...):

1m34.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/apache2/NEWS.Debian.gz (apache2) != /usr/share/doc/apache2.2-common/NEWS.Debian.gz (?)
  /usr/share/doc/apache2/PACKAGING.gz (apache2) != /usr/share/doc/apache2.2-common/PACKAGING.gz (?)
  /usr/share/doc/apache2/README.Debian.gz (apache2) != /usr/share/doc/apache2.2-common/README.Debian.gz (?)
  /usr/share/doc/apache2/README.backtrace (apache2) != /usr/share/doc/apache2.2-common/README.backtrace (?)
  /usr/share/doc/apache2/README.multiple-instances (apache2) != /usr/share/doc/apache2.2-common/README.multiple-instances (?)
  /usr/share/doc/apache2/changelog.Debian.gz (apache2) != /usr/share/doc/apache2.2-common/changelog.Debian.gz (apache2.2-common)
  /usr/share/doc/apache2/changelog.gz (apache2) != /usr/share/doc/apache2.2-common/changelog.gz (apache2.2-common)
  /usr/share/doc/apache2/copyright (apache2) != /usr/share/doc/apache2.2-common/copyright (apache2.2-common)
  /usr/share/doc/apache2/examples (apache2) != /usr/share/doc/apache2.2-common/examples (?)
  /usr/share/doc/apache2/examples/apache2.monit (apache2) != /usr/share/doc/apache2.2-common/examples/apache2.monit (?)
  /usr/share/doc/apache2/examples/secondary-init-script (apache2) != /usr/share/doc/apache2.2-common/examples/secondary-init-script (?)
  /usr/share/doc/apache2/examples/setup-instance (apache2) != /usr/share/doc/apache2.2-common/examples/setup-instance (?)
  /usr/share/doc/apache2/migrate-sites.pl (apache2) != /usr/share/doc/apache2.2-common/migrate-sites.pl (?)

And there are more problems but I didn't have time to look at them in detail:

1m36.2s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: missing file /etc/apache2/mods-available/imagemap.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/cern_meta.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/authz_default.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/sites-available/default-ssl (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/disk_cache.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/disk_cache.conf (from apache2.2-common package)
  debsums: missing file /etc/apache2/conf.d/charset (from apache2.2-common package)
  debsums: missing file /etc/apache2/sites-available/default (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/authn_default.load (from apache2.2-common package)
  debsums: missing file /etc/bash_completion.d/apache2.2-common (from apache2.2-common package)
  debsums: missing file /etc/apache2/conf.d/security (from apache2.2-common package)
  debsums: missing file /etc/apache2/conf.d/other-vhosts-access-log (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/mem_cache.conf (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/authn_alias.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/mods-available/mem_cache.load (from apache2.2-common package)
  debsums: missing file /etc/apache2/conf.d/localized-error-pages (from apache2.2-common package)


cheers,

Andreas

Attachment: gitweb_1:2.1.1-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: apache2
Source-Version: 2.4.10-7

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.

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 767850@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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 09 Nov 2014 19:03:30 +0100
Source: apache2
Binary: apache2 apache2-data apache2-bin apache2-mpm-worker apache2-mpm-prefork apache2-mpm-event apache2-mpm-itk apache2.2-bin apache2.2-common libapache2-mod-proxy-html libapache2-mod-macro apache2-utils apache2-suexec apache2-suexec-pristine apache2-suexec-custom apache2-doc apache2-dev apache2-dbg
Architecture: source amd64 all
Version: 2.4.10-7
Distribution: unstable
Urgency: medium
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 (modules and other binary files)
 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-itk - transitional itk 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
 apache2.2-common - Transitional package for apache2
 libapache2-mod-macro - Transitional package for apache2-bin
 libapache2-mod-proxy-html - Transitional package for apache2-bin
Closes: 767850
Changes:
 apache2 (2.4.10-7) unstable; urgency=medium
 .
   * Handle transitions of doc dirs and symlinks correctly during upgrade.
     Use dpkg-maintscript-helper for this and remove existing explicit logic.
     Closes: #767850
   * Remove obsolete conffiles in apache2.2-common, instead doing this only in
     apache2. This partially fixes #768815
Checksums-Sha1:
 f7ec097b178b370be9e3502222d006351bb0fff3 3218 apache2_2.4.10-7.dsc
 d3aea37963d15e7f5f89a265e0b6808cf4af0018 521328 apache2_2.4.10-7.debian.tar.xz
 9ae2defd5b5a61e8a4637254de2cbf67197046df 1148 libapache2-mod-proxy-html_2.4.10-7_amd64.deb
 a2f0be28f7c72bfb3563e52f9233c13d54bc4609 1138 libapache2-mod-macro_2.4.10-7_amd64.deb
 919d59e41a7ef0429858fce61acc6a316e3016be 203716 apache2_2.4.10-7_amd64.deb
 25b795793fb86b95a481e714c41ed2d6170f3830 162364 apache2-data_2.4.10-7_all.deb
 0f0e1ab5b07c762ccfbd5f3bd4be447e2aaf5d72 1030624 apache2-bin_2.4.10-7_amd64.deb
 24a4c124d4c54c6b30755d35f5d67bfa74521bff 1512 apache2-mpm-worker_2.4.10-7_amd64.deb
 7b294934536b4b07103ca7144092f18ac125c9c8 1512 apache2-mpm-prefork_2.4.10-7_amd64.deb
 25027ec388ca26eeead3942a95282b7dd099934a 1514 apache2-mpm-event_2.4.10-7_amd64.deb
 da8ff20236a5aff43c9ec87ecaf714a2b9bb515a 1508 apache2-mpm-itk_2.4.10-7_amd64.deb
 3d15daa963297baba4b34e88fa1a829182a7549e 1694 apache2.2-bin_2.4.10-7_amd64.deb
 eca151d50de5cd3380ba0d91315a90664e16dc37 123214 apache2.2-common_2.4.10-7_amd64.deb
 35ccce061c045fb0bd1ec0b2dbbc9fda72cf31e3 193530 apache2-utils_2.4.10-7_amd64.deb
 a87aa71ab8d7b1645f5aafbf75bbe6613ede8f65 1650 apache2-suexec_2.4.10-7_amd64.deb
 19b3e7f2339243f0d46b0a98f9dfa15b6e2995f8 128404 apache2-suexec-pristine_2.4.10-7_amd64.deb
 458b80a24ffc4f17713519f7a208bd5db19a9df6 129900 apache2-suexec-custom_2.4.10-7_amd64.deb
 5b0967c682219902f315cb391ae2360f499812f6 2724674 apache2-doc_2.4.10-7_all.deb
 39e0325cc6cf1505d5bfbfba463126a98e0d7864 279486 apache2-dev_2.4.10-7_amd64.deb
 b2d7967776852130e3c40e2628489ae852b3bd1f 1703222 apache2-dbg_2.4.10-7_amd64.deb
Checksums-Sha256:
 5a8cbced808f1343dad1641fc91d5f25ccdd2116c09a9b84205f246774a05dc4 3218 apache2_2.4.10-7.dsc
 d756f14ce1a24ab0f1592d6e7d5733a51f9d9999d4b054bbc96342407bda35df 521328 apache2_2.4.10-7.debian.tar.xz
 a7a75cfc950ae77819e99b32698d76b88c230aa522e5f2b460344e576caefed5 1148 libapache2-mod-proxy-html_2.4.10-7_amd64.deb
 c02f79af9b3f3adb46006a84ede879399035881e783d65b78b72fd83dbe12ad9 1138 libapache2-mod-macro_2.4.10-7_amd64.deb
 8dfd29f6498e14762326d4e97c77aade987a1abd17d2c91e8e51a74cef71e44d 203716 apache2_2.4.10-7_amd64.deb
 f9080723709967975526d3b84450a0af055680736ec614448f05330c6fb62e19 162364 apache2-data_2.4.10-7_all.deb
 f9b09533974e78e1360ca7ece22e87e4f4e2acc351b234d9c9a49fb8c2a779bc 1030624 apache2-bin_2.4.10-7_amd64.deb
 f353b6860a1556713b3deb48c4f29d62013319ba767e16f0932a25d8b5c7f2c4 1512 apache2-mpm-worker_2.4.10-7_amd64.deb
 69dc06e29f6c621474b87b8938e8f68ac4751221a51c2ebb4a0a7460e409acf8 1512 apache2-mpm-prefork_2.4.10-7_amd64.deb
 a496971dc90530b8c04cf5d0dd7f63136842ffece2a064a6df5784f6438ee2f7 1514 apache2-mpm-event_2.4.10-7_amd64.deb
 8c43892c58697c9a5f86ced2e54831fd15818ff3f008d63528b98a9ab87997ac 1508 apache2-mpm-itk_2.4.10-7_amd64.deb
 b82a7d273a761e10805d7ee011ba95c93eaca702b3e7f931f998e1c5d0d728d2 1694 apache2.2-bin_2.4.10-7_amd64.deb
 f56506b02b3d05d43eb3faf1afef4bbb4154ba88365696b180f34633495d5c0a 123214 apache2.2-common_2.4.10-7_amd64.deb
 e7f8b78649efcd949c26cad005d99f81aa759d7013f40481c8080e02550b52b0 193530 apache2-utils_2.4.10-7_amd64.deb
 fb8d0c89d512e487e2de1f21f93bc0545abd252da83a6cc8d2b64c9b5e4cb29c 1650 apache2-suexec_2.4.10-7_amd64.deb
 5289e76fd7cfbbde111a4489f24f6a9f01086c169305b409dc9c06cbdbabd0af 128404 apache2-suexec-pristine_2.4.10-7_amd64.deb
 3199b7bff4e6d8fe0aa3361386855b1087423402a380c856cf6ed460edbe186a 129900 apache2-suexec-custom_2.4.10-7_amd64.deb
 6cc7d3ff9ee7ba7cb77fab39eb694db3ad10e40b92ff20f8d036b589741fb632 2724674 apache2-doc_2.4.10-7_all.deb
 36cf1be2e58c323bdf17a5f44f5e3ea93d29f5d9f66b273f18057e29c95977cd 279486 apache2-dev_2.4.10-7_amd64.deb
 42814dfa58d20f6ce4d87a92cc1159745bd6eb97072c22d3b947903d401d65d9 1703222 apache2-dbg_2.4.10-7_amd64.deb
Files:
 a90c9e9d3bbe8f2a87c68a30e72f484c 3218 httpd optional apache2_2.4.10-7.dsc
 949910f549669f280c89ea92fcb3f94c 521328 httpd optional apache2_2.4.10-7.debian.tar.xz
 f05ef2906bcbcdae8325f64e9721e434 1148 oldlibs extra libapache2-mod-proxy-html_2.4.10-7_amd64.deb
 334d3e4e113b883bac89a34b0eb1c815 1138 oldlibs extra libapache2-mod-macro_2.4.10-7_amd64.deb
 153d2e860cc31162af835df82396d0d6 203716 httpd optional apache2_2.4.10-7_amd64.deb
 834cd0cb8526b26d456622ca3c03befe 162364 httpd optional apache2-data_2.4.10-7_all.deb
 32add112fcc408f60a0a3dadd640bc23 1030624 httpd optional apache2-bin_2.4.10-7_amd64.deb
 e239e9b0f3df67b4ab1642356f1cc597 1512 oldlibs extra apache2-mpm-worker_2.4.10-7_amd64.deb
 0af8263b53a50a742b30f72a122d7065 1512 oldlibs extra apache2-mpm-prefork_2.4.10-7_amd64.deb
 9fc7748e50b1e7346933105e6f25f194 1514 oldlibs extra apache2-mpm-event_2.4.10-7_amd64.deb
 63e994f9fc453c6db837875c3fd020d4 1508 oldlibs extra apache2-mpm-itk_2.4.10-7_amd64.deb
 ab1566dfd89a9d8220046ba05492d93f 1694 oldlibs extra apache2.2-bin_2.4.10-7_amd64.deb
 3cc84b6d08c54bbd0efec04b6e187a72 123214 oldlibs extra apache2.2-common_2.4.10-7_amd64.deb
 b97d1248c8a4bd44f605c1549b193c78 193530 httpd optional apache2-utils_2.4.10-7_amd64.deb
 f7b0e02bd08c4a63157aa79723aa2dd2 1650 oldlibs extra apache2-suexec_2.4.10-7_amd64.deb
 10b300bb85057daae8c31c70a2912e15 128404 httpd optional apache2-suexec-pristine_2.4.10-7_amd64.deb
 93719b0c2187bf0312033391efd20ab3 129900 httpd extra apache2-suexec-custom_2.4.10-7_amd64.deb
 ce5fb9ddff98d6d06994ae61d23c367d 2724674 doc optional apache2-doc_2.4.10-7_all.deb
 0e0ee84bf32426351cfd4f7ad63661b8 279486 httpd optional apache2-dev_2.4.10-7_amd64.deb
 933ec3143f590387ee1bf30d121d80a5 1703222 debug extra apache2-dbg_2.4.10-7_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVF+t1MaHXzVBzv3gAQjqvRAApRgWa7JKOfDqivZxYXpxiO2m3VMCnZqZ
uBLZ2yCQVZ0MPJEp9sxZpq9g2x7d9nlxpQIPWOYqCsczX6mgiNVOAcNg0yyyCR5W
bu6LSPZD9KZTood81bv8APunhX2dCsqWpa3kliZdsmACi+Y4WfAjN7wQgc371fhZ
uqWWbd22rtuCkRNjoKHiJqUIis56t7hrhZjPGNITufjekI37FtnJBd49lU+FuEaa
rFugZs/A5NgCCqiOSWoTehKhrNV9kxb7DyqSznbjeeaWHyhv6HXw25eQpaKIVcXy
RzJDj1bOYo2ZWb3mHiWYPA4+qCVJDAqHT559zRirDjZjP84nUJwHwo02uD3bbyC/
+ZvB5XkVsjmZjfC6c+wd1ghuvu3onOiRCsEjhwAxq6Qh34zhIbKMElycMgIh2iVz
iwrFBBUAu09hioxdBGVGi/OWAxojP1efhEuiQAWMbD8q/nMOHlS5pSC+q4Kt5Lsu
LpMhKIdBgsxcazcQMLfWTnfKopdrsBOKO0G9qgYk2YylE8yzuKxW/fGv6gjTi4dR
olzIeUiwaB0JYV8Wcs7xzs9sdYudavNhiwgj14FhA3zMCoS1e0jngruGAqxnxFOg
14l8pPaYC7KH+49IozlHJ5ZvQGU6Jnoj00cS4iWLITJJMamub7EJj0LevbyS9sxR
fNWRayzPDOM=
=q3VR
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: