[MacPorts] #52257: dbus-daemon-launch-helper should be setuid root
MacPorts
noreply at macports.org
Thu Sep 15 22:23:42 CEST 2016
#52257: dbus-daemon-launch-helper should be setuid root
-------------------------+--------------------------------
Reporter: rjvbertin@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: dbus
-------------------------+--------------------------------
This may be frowned-upon or downright incompatible with SIP, but the
`${prefix}/libexec/dbus-daemon-launch-helper` utility should be owned by
root:messagebus and setuid root in order to be considered by the system
dbus-daemon .
It is used to launch dbus services that should run as root, and indeed the
setuid bit is set on this file on Linux.
The dbus portfile should thus include 2 additional commands in the post-
activate step, if this functionality is to work
{{{
file attributes ${prefix}/libexec/dbus-daemon-launch-helper -owner
root
system "chmod u+s ${prefix}/libexec/dbus-daemon-launch-helper"
}}}
What's the current consensus on running a system dbus daemon on OS X?
--
Ticket URL: <https://trac.macports.org/ticket/52257>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list