[DSE-Dev] Bug#776205: selinux-basics: dbus uninstallable in lxc container due to selinux

Félix Sipma felix+debian at gueux.org
Sun Jan 25 13:25:00 UTC 2015


Package: selinux-basics
Version: 0.5.2
Severity: normal

When trying to install dbus in a lxc container (with wheezy installed),
I get this error:

root at container:~# apt-get install dbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 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 dbus (1.6.8-1+deb7u5) ...
[....] Starting system message bus: dbusFailed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 dbus
E: Sub-process /usr/bin/dpkg returned an error code (1)

selinux is not installed on the container, selinux is installed but not enabled
on the host.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages selinux-basics depends on:
ii  checkpolicy      2.3-1
ii  policycoreutils  2.3-1
pn  python:any       <none>
ii  selinux-utils    2.3-2

Versions of packages selinux-basics recommends:
ii  selinux-policy-default  2:2.20140421-7
ii  setools                 3.3.8-3.1

Versions of packages selinux-basics suggests:
ii  logcheck        1.3.17
ii  syslog-summary  1.14-2

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20150125/6840a71e/attachment.sig>


More information about the SELinux-devel mailing list