You are not logged in.
Pages: 1
Why?
$ systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:polkit(8)
$ sudo systemctl enable polkit.service
[sudo] password for xxxx:
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
Offline
What do you need it for?
Even though I too got
$ systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: disabled)
Active: inactive (dead)
Docs: man:polkit(8)
After running
$ sudo systemctl enable polkit.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
I now get
$ systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: disabled)
Active: active (running) since Wed 2015-05-20 23:27:32 CEST; 15s ago
Docs: man:polkit(8)
Main PID: 23712 (polkitd)
CGroup: /system.slice/polkit.service
└─23712 /usr/lib/polkit-1/polkitd --no-debug
May 20 23:27:32 b161 polkitd[23712]: Started polkitd version 0.112
May 20 23:27:32 b161 systemd[1]: Starting Authorization Manager...
May 20 23:27:32 b161 polkitd[23712]: Loading rules from directory /etc/polkit-1/rules.d
May 20 23:27:32 b161 polkitd[23712]: Loading rules from directory /usr/share/polkit-1/rules.d
May 20 23:27:32 b161 polkitd[23712]: Finished loading, compiling and executing 1 rules
May 20 23:27:32 b161 systemd[1]: Started Authorization Manager.
May 20 23:27:32 b161 polkitd[23712]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
May 20 23:27:32 b161 polkitd[23712]: Registered Authentication Agent for unix-process:23709:37176208 (system b...POSIX)
May 20 23:27:33 b161 polkitd[23712]: Unregistered Authentication Agent for unix-process:23709:37176208 (system...m bus)
Hint: Some lines were ellipsized, use -l to show in full.
Offline
Pages: 1