dbus suid issue fix

This commit is contained in:
aliriza committed 2023-10-30 14:54:43 +00:00
1 parent abc649f780
commit f451356005
1 file changed
+5 -1
+5 -1
View File
@@ -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 || :