[DSE-Dev] Bug#836289: policycoreutils-sandbox: please use dbus-run-session

Simon McVittie smcv at debian.org
Thu Sep 1 11:45:34 UTC 2016


Package: policycoreutils-sandbox
Version: 2.5-2
Severity: normal
Tags: upstream
User: dbus at packages.debian.org
Usertags: dbus-launch dbus-launch-for-infra

As described in <https://lists.debian.org/debian-devel/2016/08/msg00554.html>
I'm trying to reduce how much dbus-launch is used in Debian.
This package currently wraps a user-specified shell command in
"dbus-launch --exit-with-session %s", which is a deprecated usage
and does not terminate the resulting dbus-daemon when the wrapped
command exits.

The preferred way to do this is to wrap the command in dbus-run-session,
like this pseudo-patch:

-dbus-launch --exit-with-session %s
+dbus-run-session -- %s

This ensures that the temporary dbus-daemon terminates when the wrapped
command does.

Thanks,
    S



More information about the SELinux-devel mailing list