Podman - Failed to connect to bus

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello, i have
Failed to connect to bus: No such file or directory
when i run systemctl --user daemon-reload

loginctl enable-linger user // root

from user
podman pull docker://docker.io/voxxit/rsyslog
podman images
podman run -dt --name rsyslog rsyslog
systemctl --user daemon-reload
==>Failed to connect to bus: No such file or directory

Can someone help me
 


Has to do with that you switched to that user using su and the variable $XDG_RUNTIME_DIR is not set for that user session because the user session wasn't created. Easiest solution is to ssh to that user account, so like this: ssh user@localhost and then try again.
 
Last edited:

Members online


Latest posts

Top