dbus suid issue fix
This commit is contained in:
1 parent
abc649f780
commit
f451356005
1 file changed
+5
-1
@@ -2,5 +2,9 @@
|
|||||||
if [ ! -f /etc/machine-id ] ; then
|
if [ ! -f /etc/machine-id ] ; then
|
||||||
dbus-uuidgen --ensure=/etc/machine-id
|
dbus-uuidgen --ensure=/etc/machine-id
|
||||||
fi
|
fi
|
||||||
|
if busybox ls /bin/su -la | grep "^...s" >/dev/null ; then
|
||||||
|
chmod 4755 /usr/libexec/dbus-daemon-launch-helper
|
||||||
|
fi
|
||||||
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
|
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / \
|
||||||
org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
|
org.freedesktop.DBUS.ReloadConfig >/dev/null 2>&1 || :
|
||||||
|
|
||||||
Reference in new issue
Block a user