systemctl Failed to list units: Access denied

During the upgrade of Debian or Ubuntu server you may encounter strange failing of scripts which are restarting services.

For some reason it’s not possible to call systemcl and any operation fails with Access denied even for root.

Here is example:

systemctl list-units
Failed to list units: Access denied

The fix to this problem it is sufficient to send TERM signal to process with PID #1:

kill -TERM 1
Facebook Comments
No votes yet.
Please wait...

16. July 2020 at 21:16 - Development (Tags: , , ). Both comments and pings are currently closed.

Comments are closed.