[DSE-Dev] Bug#677863: policycoreutils: postinst requires selinux-policy-default

Daniel Dehennin daniel.dehennin at baby-gnu.org
Sun Jun 17 10:48:15 UTC 2012


Package: policycoreutils
Version: 2.1.10-8
Severity: important

Dear Maintainer,

The policycoreutils recommends selinux-policy-default but the postinst
requires it.

On my systems, I set:

  cat /etc/apt/apt.conf.d/02recommands 
  APT::Install-Recommends "false";
  APT::Install-Suggests "false";

Here is my dist-upgrade failure:

  LANG=C apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue [Y/n]? 
  Setting up policycoreutils (2.1.10-8) ...
  /var/lib/dpkg/info/policycoreutils.postinst: line 58: /etc/selinux/default/setrans.conf: No such file or directory
  dpkg: error processing policycoreutils (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   policycoreutils
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking at the setrans.conf file, it's owned by selinux-policy-default:

  apt-file search /etc/selinux/default/setrans.conf
  selinux-policy-default: /etc/selinux/default/setrans.conf

Regards.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.0+hati.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages policycoreutils depends on:
ii  dpkg              1.16.4.2
ii  libaudit0         1:1.7.18-1.1
ii  libc6             2.13-33
ii  libcap-ng0        0.6.6-2
ii  libcap2           1:2.22-1.1
ii  libcgroup1        0.37.1-2
ii  libdbus-1-3       1.6.0-1
ii  libdbus-glib-1-2  0.98-1
ii  libglib2.0-0      2.32.3-1
ii  libpam0g          1.1.3-7.1
ii  libpcre3          1:8.30-5
ii  libselinux1       2.1.9-5
ii  libsemanage1      2.1.6-6
ii  libsepol1         2.1.4-3
ii  lsb-base          4.1+Debian7
ii  psmisc            22.18-1
ii  python            2.7.3~rc2-1
ii  python-ipy        1:0.75-1
ii  python-selinux    2.1.9-5
ii  python-semanage   2.1.6-6
ii  python-sepolgen   1.1.5-3
ii  python-setools    3.3.7-2
ii  python2.6         2.6.7-4
ii  python2.7         2.7.3-1

Versions of packages policycoreutils recommends:
pn  selinux-policy-default  <none>

Versions of packages policycoreutils suggests:
pn  selinux-policy-dev  <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20120617/62fa1955/attachment.pgp>


More information about the SELinux-devel mailing list