Failed to list unit files: Access denied

新安装centos8 执行systemctl list-unit-files 提示
Failed to list unit files: Access denied

解决:执行 kill -TERM 1 ///However according to the init manpage, you can do the same thing by sending SIGTERM to the daemon running as PID 1, which worked:

你可能感兴趣的:(Failed to list unit files: Access denied)