[Pkg-utopia-maintainers] Bug#915625: dbus-run-session does not work under fakeroot

Andreas Beckmann anbe at debian.org
Wed Dec 5 12:21:20 GMT 2018


Package: dbus
Version: 1.12.10-1
Severity: important
Control: found -1 1.8.22-0+deb8u1

Hi,

dbus-run-session cannot be used under fakeroot:

$ fakeroot dbus-run-session -- dbus-send --session --type=signal / local.AutotestCheck.Hello ; echo $?
org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted
Cannot setup inotify for '/root/.local/share/dbus-1/services'; error 'Permission denied'
Failed to open connection to "session" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
1

$ dbus-run-session -- dbus-send --session --type=signal / local.AutotestCheck.Hello ; echo $?
0


I found this whily trying to analyze why qtbase-opensource-src
FTBFS twice in a row - the build system performs some dbus checks
during make distclean (called from debian/rules clean, which runs
under fakeroot).


Andreas



More information about the Pkg-utopia-maintainers mailing list