Linux无法重启Failed to Access denied
安排几台机器的打补丁升级,需要重启机器,执行了init 6,命令敲下去毫无反应。
尝试用journalctl看日志,发现报错 Access denied,我已经是root用户执行了哇!

查到一篇文章说是触发了一个常见的bug,执行以下命令后再执行重启即可
https://major.io/p/systemd-in-fedora-22-failed-to-restart-service-access-denied/
There’s a very active bug under review to get it fixed. As a workaround, you can re-execute systemd with the following command:
systemctl daemon-reexec
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号