systemddoesn't delete stub unit files created for session scopes (
# ls /run/systemd/system ... session-10393.scope session-10447.scope session-10582.scope session-11387.scope session-11440.scope ...
systemctl list-unit-filesexits in timeout
# systemctl list-unit-files Failed to list unit files: Connection timed out
- Red Hat Enterprise Linux 7
- systemd-219-42.el7_4 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.