Answer the question
In order to leave comments, you need to log in
How to raise polkit?
After updating the system, some services stopped starting, which depend on asking:
dbus
systemctl status dbus
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Вт 2018-05-15 11:28:05 +09; 2min 48s ago
Docs: man:dbus-daemon(1)
Main PID: 22477 (dbus-daemon)
Tasks: 1
Memory: 800.0K
CGroup: /system.slice/dbus.service
└─22477 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
systemd[1]: Started D-Bus System Message Bus.
systemd[1]: Starting D-Bus System Message Bus...
dbus[22477]: [system] Activating systemd to hand-off: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
dbus[22477]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
dbus[22477]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
systemctl status polkit
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled)
Active: inactive (dead) since Вт 2018-05-15 11:28:56 +09; 4min 15s ago
Docs: man:polkit(8)
Process: 22635 ExecStart=/usr/lib/polkit-1/polkitd --no-debug (code=exited, status=0/SUCCESS)
Main PID: 22635 (code=exited, status=0/SUCCESS)
systemd[1]: Starting Authorization Manager...
polkitd[22635]: Started polkitd version 0.112
polkitd[22635]: Loading rules from directory /etc/polkit-1/rules.d
polkitd[22635]: Loading rules from directory /usr/share/polkit-1/rules.d
polkitd[22635]: Finished loading, compiling and executing 3 rules
polkitd[22635]: Lost the name org.freedesktop.PolicyKit1 - exiting
systemd[1]: Started Authorization Manager.
Answer the question
In order to leave comments, you need to log in
It turned out that /var/run was not a symbolic link to /run. Manually removed /var/run and created a link to /run in /var. Rebooted and everything went up!
1. Check what you have with the user polkitd
getent group polkitd >/dev/null && echo -e "\e[1;32mpolkitd group already exists\e[0m" || { groupadd -r polkitd && echo -e "\e[1;33mAdded missing polkitd group\e[0m" || echo -e "\e[1;31mAdding polkitd group FAILED\e[0m"; }
getent passwd polkitd >/dev/null && echo -e "\e[1;32mpolkitd user already exists\e[0m" || { useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd && echo -e "\e[1;33mAdded missing polkitd user\e[0m" || echo -e "\e[1;31mAdding polkitd user FAILED\e[0m"; }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question