[DSE-Dev] Bug#677759: postinst: line 58: /etc/selinux/default/setrans.conf: No such file or directory
George Danchev
danchev at spnet.net
Sat Jun 16 18:24:42 UTC 2012
Package: policycoreutils
Version: 2.1.10-8
Severity: important
Dear Maintainer,
upgrading fails with the following error:
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)
postinst:58 bears
~~~~~~~~~~~~~~~~~~~~
TRANS=/etc/selinux/default/setrans.conf
sed -e s/^s0=$/s0=SystemLow/ < $TRANS > $TRANS.new
mv $TRANS.new $TRANS
there is no default in there
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ ls /etc/selinux/
config refpolicy-targeted restorecond.conf restorecond_user.conf semanage.conf
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-1
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.17-2
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
More information about the SELinux-devel
mailing list