Package: dpkg Version: 1.16.8 Severity: normal After reinstalling the postfix package the files /usr/sbin/postdrop and /usr/sbin/postqueue are always mislabelled. This happens on multiple systems running wheezy. I don't know why and I'm not even certain that it's not something strange with the postfix package.
I would be happy to give root:unconfined_u access on a test system to anyone who wants to investigate this. Also after filing this bug report I'll forward it to other people with SE Linux experience who hopefully have more time for dpkg debugging than I do. Here is the results on one system, the expected result is that restorecon gives no output: root@xev:/tmp# restorecon -v /usr/sbin/post* restorecon reset /usr/sbin/postdrop context unconfined_u:object_r:bin_t:s0->system_u:object_r:postfix_postdrop_exec_t:s0 restorecon reset /usr/sbin/postqueue context unconfined_u:object_r:bin_t:s0->system_u:object_r:postfix_postqueue_exec_t:s0 root@xev:/tmp# dpkg -i /var/cache/apt/archives/postfix_2.9.3-2.1_amd64.deb (Reading database ... 136010 files and directories currently installed.) Preparing to replace postfix 2.9.3-2.1 (using .../postfix_2.9.3-2.1_amd64.deb) ... [ ok ] Stopping Postfix Mail Transport Agent: postfix. [ ok ] Stopping Postfix Mail Transport Agent: postfix. Unpacking replacement postfix ... Setting up postfix (2.9.3-2.1) ... setting inet_protocols: all Postfix is now set up with the changes above. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases [ ok ] Stopping Postfix Mail Transport Agent: postfix. [ ok ] Starting Postfix Mail Transport Agent: postfix. Processing triggers for man-db ... root@xev:/tmp# restorecon -v /usr/sbin/post* restorecon reset /usr/sbin/postdrop context unconfined_u:object_r:bin_t:s0->system_u:object_r:postfix_postdrop_exec_t:s0 restorecon reset /usr/sbin/postqueue context unconfined_u:object_r:bin_t:s0->system_u:object_r:postfix_postqueue_exec_t:s0 -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-4 ii libc6 2.13-35 ii liblzma5 5.1.1alpha+20120614-1 ii libselinux1 2.1.9-5 ii tar 1.26-4 ii zlib1g 1:1.2.7.dfsg-13 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.9.7.5 -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

