Your message dated Mon, 12 May 2008 06:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#474339: fixed in dpkg 1.14.19
has caused the Debian Bug report #474339,
regarding dpkg crashes when the SE Linux file_contexts file doesn't match the 
loaded policy
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.)


-- 
474339: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474339
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dpkg
Version: 1.14.16.6
Severity: normal


Here is with a correct file_contexts file:
# dpkg -i passwd_1%3a4.1.1-1_i386.deb
(Reading database ...
dpkg: serious warning: files list file for package `squid-common' missing, 
assuming package has no files currently installed.
35596 files and directories currently installed.)
Preparing to replace passwd 1:4.1.1-1 (using passwd_1%3a4.1.1-1_i386.deb) ...
Unpacking replacement passwd ...
Setting up passwd (1:4.1.1-1) ...

Now I edit /etc/selinux/refpolicy-targeted/contexts/files/file_contexts and
change the line for /usr/bin/passwd and repeat the operation:
# dpkg -i passwd_1%3a4.1.1-1_i386.deb
(Reading database ...
dpkg: serious warning: files list file for package `squid-common' missing, 
assuming package has no files currently installed.
35596 files and directories currently installed.)
Preparing to replace passwd 1:4.1.1-1 (using passwd_1%3a4.1.1-1_i386.deb) ...
Unpacking replacement passwd ...
file_contexts:  invalid context system_u:object_r:zpasswd_exec_t:s0
Error setting security context for next file object:: Invalid argument
Segmentation fault

The same bug also causes a libc trap, the below is an example.  I can reproduce 
this on an i386 system but not on AMD64.  I can give you root access on a
suitable system to reproduce this if you wish.

Script started on Sat 05 Apr 2008 12:17:34 EST
# apt-get install squid
The following extra packages will be installed:
  squid-common
The following NEW packages will be installed:
  squid
The following packages will be upgraded:
  squid-common
1 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/1129kB of archives.
After this operation, 6570kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
(Reading database ... 
dpkg: serious warning: files list file for package `squid-common' missing, 
assuming package has no files currently installed.
34197 files and directories currently installed.)
Preparing to replace squid-common 2.6.19-1 (using 
.../squid-common_2.6.19-1_all.deb) ...
Unpacking replacement squid-common ...
file_contexts:  invalid context system_u:object_r:squid_conf_t:s0
Error setting security context for next file object:: Invalid argument
file_contexts:  invalid context system_u:object_r:squid_conf_t:s0
Error setting security context for next file object:: Invalid argument
file_contexts:  invalid context system_u:object_r:squid_conf_t:s0
Error setting security context for next file object:: Invalid argument
file_contexts:  invalid context system_u:object_r:squid_conf_t:s0
Error setting security context for next file object:: Invalid argument
*** glibc detected *** /usr/bin/dpkg: double free or corruption (fasttop): 
0x0ac528e0 ***
======= Backtrace: =========
/lib/i686/nosegneg/libc.so.6[0xb7e7a2d5]
/lib/i686/nosegneg/libc.so.6(cfree+0x90)[0xb7e7ddb0]
/usr/bin/dpkg[0x804d4bd]
/usr/bin/dpkg[0x806385e]
/usr/bin/dpkg[0x805899f]
/usr/bin/dpkg[0x804b1bf]
/usr/bin/dpkg[0x805541e]
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xe0)[0xb7e24450]
/usr/bin/dpkg[0x804ab71]
======= Memory map: ========
08048000-0809a000 r-xp 00000000 fe:0a 224682     /usr/bin/dpkg
0809a000-0809c000 rw-p 00051000 fe:0a 224682     /usr/bin/dpkg
0809c000-0ac63000 rw-p 0809c000 00:00 0          [heap]
b7900000-b7921000 rw-p b7900000 00:00 0 
b7921000-b7a00000 ---p b7921000 00:00 0 
b7a87000-b7a8e000 r--s 00000000 fe:0a 225690     
/usr/lib/gconv/gconv-modules.cache
b7c66000-b7c72000 r-xp 00000000 fe:0a 176381     /lib/libgcc_s.so.1
b7c72000-b7c73000 rw-p 0000b000 fe:0a 176381     /lib/libgcc_s.so.1
b7c73000-b7c97000 rw-p b7c73000 00:00 0 
b7c97000-b7ca0000 r-xp 00000000 fe:0a 177135     
/lib/i686/nosegneg/libnss_files-2.7.so
b7ca0000-b7ca2000 rw-p 00008000 fe:0a 177135     
/lib/i686/nosegneg/libnss_files-2.7.so
b7ca2000-b7caa000 r-xp 00000000 fe:0a 177137     
/lib/i686/nosegneg/libnss_nis-2.7.so
b7caa000-b7cac000 rw-p 00007000 fe:0a 177137     
/lib/i686/nosegneg/libnss_nis-2.7.so
b7cac000-b7cc0000 r-xp 00000000 fe:0a 177132     
/lib/i686/nosegneg/libnsl-2.7.so
b7cc0000-b7cc2000 rw-p 00013000 fe:0a 177132     
/lib/i686/nosegneg/libnsl-2.7.so
b7cc2000-b7cc4000 rw-p b7cc2000 00:00 0 
b7cc4000-b7ccb000 r-xp 00000000 fe:0a 177133     
/lib/i686/nosegneg/libnss_compat-2.7.so
b7ccb000-b7ccd000 rw-p 00006000 fe:0a 177133     
/lib/i686/nosegneg/libnss_compat-2.7.so
b7cd3000-b7e0d000 r--p 00000000 fe:0a 395        /usr/lib/locale/locale-archive
b7e0d000-b7e0e000 rw-p b7e0d000 00:00 0 
b7e0e000-b7f59000 r-xp 00000000 fe:0a 177126     /lib/i686/nosegneg/libc-2.7.so
b7f59000-b7f5a000 r--p 0014a000 fe:0a 177126     /lib/i686/nosegneg/libc-2.7.so
b7f5a000-b7f5c000 rw-p 0014b000 fe:0a 177126     /lib/i686/nosegneg/libc-2.7.so
b7f5c000-b7f5f000 rw-p b7f5c000 00:00 0 
b7f5f000-b7f73000 r-xp 00000000 fe:0a 177140     
/lib/i686/nosegneg/libpthread-2.7.so
b7f73000-b7f75000 rw-p 00013000 fe:0a 177140     
/lib/i686/nosegneg/libpthread-2.7.so
b7f75000-b7f78000 rw-p b7f75000 00:00 0 
b7f7b000-b7f7f000 rw-p b7f7b000 00:00 0 
b7f7f000-b7f80000 r-xp b7f7f000 00:00 0          [vdso]
b7f80000-b7f9a000 r-xp 00000000 fe:0a 176968     /lib/ld-2.7.so
b7f9a000-b7f9c000 rw-p 00019000 fe:0a 176968     /lib/ld-2.7.so
bfe1d000-bfe32000 rw-p bfe1d000 00:00 0          [stack]
E: Sub-process /usr/bin/dpkg exited unexpectedly
#

Script done on Sat 05 Apr 2008 12:18:21 EST

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)

Versions of packages dpkg depends on:
ii  coreutils              5.97-5.3          The GNU core utilities
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.14.19

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

dpkg-dev_1.14.19_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.14.19_all.deb
dpkg_1.14.19.dsc
  to pool/main/d/dpkg/dpkg_1.14.19.dsc
dpkg_1.14.19.tar.gz
  to pool/main/d/dpkg/dpkg_1.14.19.tar.gz
dpkg_1.14.19_i386.deb
  to pool/main/d/dpkg/dpkg_1.14.19_i386.deb
dselect_1.14.19_i386.deb
  to pool/main/d/dpkg/dselect_1.14.19_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <[EMAIL PROTECTED]> (supplier of updated dpkg 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: Mon, 12 May 2008 08:33:07 +0300
Source: dpkg
Binary: dpkg dpkg-dev dselect
Architecture: source i386 all
Version: 1.14.19
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <[EMAIL PROTECTED]>
Changed-By: Guillem Jover <[EMAIL PROTECTED]>
Description: 
 dpkg       - package maintenance system for Debian
 dpkg-dev   - package building tools for Debian
 dselect    - user tool to manage Debian packages
Closes: 452273 473041 474339 475668 476113 477784 478802 478827 478897 478925 
479007 479142 479205 479850 480579
Changes: 
 dpkg (1.14.19) unstable; urgency=low
 .
   [ Guillem Jover ]
   * Fix a double-free by setting scontext to NULL after calling freecon.
     Based on a patch by Russell Coker. Closes: #474339
   * Add missing import of internerr in Dpkg::Source::Patch.pm.
     Thanks to Marco d'Itri. Closes: #479205
   * Consider also custom Package-Type fields when printing warnings in
     dpkg-gencontrol. Closes: #452273
 .
   [ Raphael Hertzog ]
   * Add missing import of subprocerr in Dpkg::Source::Package. Thanks to Sven
     Joachim for the patch.
   * Handle symlinks better when deciding if dpkg-source has to copy the
     original tarball in the current extraction directory. Closes: #475668
   * Fix the dpkg-source error message about unrepresentable changes to
     source because the type of a file changed (new and old were inverted).
   * Fix dpkg-genchanges to detect udeb based on Package-Type control
     header instead of file extension analysis on uploaded files.
     Closes: #476113
   * Fix dpkg-source to grant correct permissions to tarballs of native
     source packages. Closes: #477784
   * Add Conflicts: devscripts (<< 2.10.26) to ensure that people are
     using versions of debsign/mergechanges that support the Checksums fields
     in *.dsc and *.changes.
   * Cleanup the various Conflicts/Replaces fields to remove references
     to package that have disappeared before sarge (this includes dpkg-doc-ja,
     dpkgname, and dpkg-static which has never officially been built).
     dpkg-iasearch has been kept as popcon still reports a few installations.
   * Collapsed multiple conflicts of dpkg with old versions of dpkg-dev
     in a single Conflicts: dpkg-dev (<< 1.14.16).
   * The "3.0 (quilt)" source package format now parses correctly series files
     with patch options and warn if something else than -p1 is used.
   * Change the way dpkg-source finds the perl object to use to unpack/build
     a source package to ignore the minor part of the Format: version.
     For example "1.0" and "1.1" would both map to Dpkg::Source::Package::V1
     instead of ::V1_0 and ::V1_1 before. Similarly "3.0 (quilt)" now maps to
     ::V3::quilt instead of ::V3_0::quilt.
   * Fix changelog parser to not fail when an unexpected changelog entry
     appears without the preceding heading line. Closes: #478925
   * Change the "2.0" and "3.0 (quilt)" source packages to refuse by default
     binary files in the debian sub-directory. They have to be whitelisted
     through debian/source/include-binaries. Closes: #473041
   * Make sure triggers are activated when a file is removed in a directory
     shared by multiple packages. Closes: #479850
 .
   [ Helge Kreutzmann ]
   * Minor fixes and clarifications to man pages.
 .
   [ Updated dpkg translations ]
   * Brazilian Portuguese (Felipe Augusto van de Wiel). Closes: #480579
   * Czech (Miroslav Kure).
   * French (Florent Ussel).
   * Galician (Jacobo Tarrio).
   * German (Sven Joachim).
   * Polish (Wiktor Wandachowicz).
   * Portuguese (Miguel Figueiredo).
   * Russian (Yuri Kozlov). Closes: #478827
   * Slovak (Ivan Masár). Closes: #478897
   * Swedish (Peter Karlsson).
 .
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
   * Polish (Wiktor Wandachowicz).
   * Swedish (Peter Karlsson).
 .
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
   * Polish (Wiktor Wandachowicz).
   * Russian (Yuri Kozlov). Closes: #479142
   * Swedish (Peter Karlsson).
 .
   [ Updated dselect translations ]
   * Brazilian Portuguese (Felipe Augusto van de Wiel).
   * Czech (Miroslav Kure).
   * French (Christian Perrier).
   * German (Sven Joachim).
   * Russian (Yuri Kozlov). Closes: #478802
   * Slovak (Ivan Masár). Closes: #479007
Checksums-Sha1: 
 98622a4b15887f6a80e2367789f426154711f94a 1207 dpkg_1.14.19.dsc
 982f60e68e3016c76a2e26405abfd80c2c40c829 6598898 dpkg_1.14.19.tar.gz
 fee1da8bc8657baa3cd16ccd4d74e53f3375c48c 2216054 dpkg_1.14.19_i386.deb
 3b3b56cc3028901a71994800feec10dda577085d 774338 dselect_1.14.19_i386.deb
 9dcfd25c690bc928de20232bed409ba5d556ab04 706246 dpkg-dev_1.14.19_all.deb
Checksums-Sha256: 
 b6ea11172343b4e3e1bc823f628106dae92c31046c0113f24d72cf1507ad49f8 1207 
dpkg_1.14.19.dsc
 5287e943265b9efe5bd59cd1f3145d3fbf9e266df28938ad78e2107fde3c1587 6598898 
dpkg_1.14.19.tar.gz
 b4faa1793b747264da25cc011dcb319de6a3986cb085f9bb588a3b1e889164ae 2216054 
dpkg_1.14.19_i386.deb
 405849342ef85815ccc6a4f6e14ea3de37b09c22cd1c3480584fef7b97a2a46d 774338 
dselect_1.14.19_i386.deb
 ccb892904256ada4c4a78fa9f25f2c80014fcf2be674b963fb6a57fb0434d017 706246 
dpkg-dev_1.14.19_all.deb
Files: 
 079897303db25fbb015ecc55abeca922 1207 admin required dpkg_1.14.19.dsc
 dad1a4a08c475b31a6b62e7dc92fe9d2 6598898 admin required dpkg_1.14.19.tar.gz
 8264bdec62f49f9130db29dd1547f1a8 2216054 admin required dpkg_1.14.19_i386.deb
 50d311a45dc447dd02495fd1872d4448 774338 admin optional dselect_1.14.19_i386.deb
 b4bff0808f76743f8b3b9bd3697520d3 706246 utils optional dpkg-dev_1.14.19_all.deb

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

iD8DBQFIJ9qCuW9ciZ2SjJsRAvY/AKCLBj1FymqhgBJD5KYnddPFLryxbgCgh/9I
ZDGWmM6MYY0fXGuKFFtFbo8=
=t/4u
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to