<div dir="ltr">Package: selinux-policy-default<br>X-Debbugs-Cc: <a href="mailto:cliffjkilby@gmail.com">cliffjkilby@gmail.com</a><br>Version: 2:2.20221101-9<br>Severity: minor<br>Tags:<br><br>Dear Maintainer,<br><br>dbus fails to start after installing SELinux. The error indicates that it expects a file in /etc/selinux/targeted/contexts/dbus_contexts<br>The package selinux-policy-default does not include the targeted/ subpath.<br><br>OBSERVED RESULT<br>There is no file in /etc/selinux/targeted/contexts/dbus_contexts<br>EXPECTED RESULT<br><a href="https://sources.debian.org/src/linux/3.16.36-1%2Bdeb8u2~bpo70%2B1/scripts/selinux/mdp/dbus_contexts/">https://sources.debian.org/src/linux/3.16.36-1%2Bdeb8u2~bpo70%2B1/scripts/selinux/mdp/dbus_contexts/</a><br>Should exist in /etc/selinux/targeted/contexts/dbus_contexts<br>after installing either selinux-policy-default or one of the other selinux packages, if you don't believe it belongs in selinux-policy-default<br><br>SOFTWARE/OS VERSIONS<br>Linux: <span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Debian 6.1.124-1</span><br></span><br>checkpolicy/stable,now 3.4-1+b2 amd64 [installed,automatic]<br>libselinux1/stable,now 3.4-1+b6 amd64 [installed]<br>libselinux1-dev/stable,now 3.4-1+b6 amd64 [installed,automatic]<br>libsemanage-common/stable,stable,now 3.4-1 all [installed]<br>libsemanage2/stable,now 3.4-1+b5 amd64 [installed]<br>libsepol-dev/stable,now 3.4-2.1 amd64 [installed,automatic]<br>libsepol2/stable,now 3.4-2.1 amd64 [installed]<br>policycoreutils/stable,now 3.4-1 amd64 [installed,automatic]<br>policycoreutils-dbus/stable,stable,now 3.4-1 all [installed]<br>policycoreutils-dev/stable,now 3.4-1+b2 amd64 [installed,automatic]<br>policycoreutils-python-utils/stable,stable,now 3.4-1 all [installed,automatic]<br>python3-selinux/stable,now 3.4-1+b6 amd64 [installed,automatic]<br>python3-semanage/stable,now 3.4-1+b5 amd64 [installed,automatic]<br>python3-sepolgen/stable,stable,now 3.4-1 all [installed,automatic]<br>python3-sepolicy/stable,stable,now 3.4-1 all [installed,automatic]<br>python3-setools/stable,now 4.4.1-2 amd64 [installed,automatic]<br>selinux-basics/stable,stable,now 0.5.8 all [installed]<br>selinux-policy-default/stable,stable,now 2:2.20221101-9 all [installed]<br>selinux-policy-dev/stable,stable,now 2:2.20221101-9 all [installed,automatic]<br>selinux-utils/stable,now 3.4-1+b6 amd64 [installed]<br>semanage-utils/stable,stable,now 3.4-1 all [installed]<br>semodule-utils/stable,now 3.4-1 amd64 [installed]<br>setools/stable,now 4.4.1-2 amd64 [installed,automatic]<br><br>ADDITIONAL INFORMATION<br>Workaround available.<br>Creating a file at /etc/selinux/targeted/contexts/dbus_contexts<br>with the minimum content of:<br><br><busconfig><br>  <selinux><br>  </selinux><br></busconfig><br><br>Allows dbus to start. Setting SELinux into permissive or enforcing=0 does not workaround the problem.<br><br>dbus will look for the file if SELinux is loaded. </div>