Jan 15 18:21:20 archlinux systemd[1]: polkit.service: Main process exited, code=exited, status=217/USER ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ An ExecStart= process belonging to unit polkit.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 217. Jan 15 18:21:20 archlinux systemd[1]: polkit.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ The unit polkit.service has entered the 'failed' state with result 'exit-code'. Jan 15 18:21:20 archlinux systemd[1]: Failed to start Authorization Manager. ░░ Subject: A start job for unit polkit.service has failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ A start job for unit polkit.service has finished with a failure. ░░ ░░ The job identifier is 2159 and the job result is failed. Jan 15 18:21:20 archlinux NetworkManager[609]: <info> [1736936480.2701] audit: op="connection-add-activate" pid=858 uid=1000 result="fail" reason="Not authorized to control networking." Jan 15 18:21:25 archlinux systemd[1]: systemd-localed.service: Deactivated successfully. ░░ Subject: Unit succeeded ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ The unit systemd-localed.service has successfully entered the 'dead' state.
翻看错误日志,发现是 polkit 这个服务起不来,重启也不行
1 2 3
➜ ~ sudo systemctl restart polkit Job for polkit.service failed because the control process exited with error code. See "systemctl status polkit.service" and "journalctl -xeu polkit.service"for details.
➜ ~ sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date multilib is up to date archlinuxcn 1389.5 KiB 924 KiB/s 00:02 [--------------------------------------------------------------------] 100% :: Starting full system upgrade... warning: conky: ignoring package upgrade (1.19.7-1 => 1.21.5-1) warning: xfce4-terminal: ignoring package upgrade (0.8.9.2-2 => 1.1.4-1) resolving dependencies... looking for conflicting packages...
Package (1) Old Version New Version Net Change Download Size
extra/polkit 125-1 126-1 0.01 MiB 0.39 MiB
Total Download Size: 0.39 MiB Total Installed Size: 1.89 MiB Net Upgrade Size: 0.01 MiB
➜ ~ sudo pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date archlinuxcn is up to date :: Starting full system upgrade... warning: conky: ignoring package upgrade (1.19.7-1 => 1.21.5-1) warning: xfce4-terminal: ignoring package upgrade (0.8.9.2-2 => 1.1.4-1) resolving dependencies... looking for conflicting packages...
Package (1) Old Version New Version Net Change Download Size
extra/polkit 126-1 126-2 0.00 MiB 0.39 MiB
Total Download Size: 0.39 MiB Total Installed Size: 1.89 MiB Net Upgrade Size: 0.00 MiB