View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017274 | CentOS-7 | polkit | public | 2020-04-21 06:57 | 2020-04-21 06:57 |
Reporter | Wen Yang | Assigned To | |||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Summary | 0017274: Manually trigger the dbus reload to fix the problem that the polkit service fails to start | ||||
Description | 1, The polkit service failed to start: sh-4.2# busctl NAME PID PROCESS USER CONNECTION UNIT SESSION DESCRIPTION :1.0 1 systemd root :1.0 - - - :1.52 188076 busctl root :1.52 sshd.service - - net.reactivated.Fprint - - - (activatable) - - org.freedesktop.DBus - - - - - - - org.freedesktop.PolicyKit1 - - - (activatable) - - org.freedesktop.hostname1 - - - (activatable) - - sh-4.2# systemctl status polkit ● polkit.service - Authorization Manager Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled) Active: inactive (dead) Docs: man:polkit(8) Apr 15 10:20:16 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[90302]: Finished loading, compiling and executing 2 rules Apr 15 10:20:16 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[90302]: Lost the name org.freedesktop.PolicyKit1 - exiting Apr 15 10:20:16 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 systemd[1]: Started Authorization Manager. Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[187250]: Started polkitd version 0.112 Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 systemd[1]: Starting Authorization Manager... Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[187250]: Loading rules from directory /etc/polkit-1/rules.d Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[187250]: Loading rules from directory /usr/share/polkit-1/rules.d Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[187250]: Finished loading, compiling and executing 2 rules Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 polkitd[187250]: Lost the name org.freedesktop.PolicyKit1 - exiting Apr 17 13:30:29 jiuwen011133149112.aliyun-region-vpc-shanghai.et15 systemd[1]: Started Authorization Manager. Failure of the polkit service will cause many systemclt commands to fail to execute. 2, Starting it manually also fails: sh-4.2# /usr/lib/polkit-1/polkitd Successfully changed to user polkitd 14:44:03.477: Loading rules from directory /etc/polkit-1/rules.d 14:44:03.477: Loading rules from directory /usr/share/polkit-1/rules.d 14:44:03.478: Finished loading, compiling and executing 2 rules Entering main event loop Connected to the system bus 14:44:03.478: Lost the name org.freedesktop.PolicyKit1 - exiting Shutting down Exiting with code 0 sh-4.2# 3, Manually triggering dbus reload can fix this problem: dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig And we have also seen people discussing similar issues online: https://bbs.archlinux.org/viewtopic.php?id=148306 So if we add the following statement in polkit's spec file, maybe this problem can be solved? %post systemctl daemon-reload | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-21 06:57 | Wen Yang | New Issue |