Podman - Failed to connect to bus

maelamrani

Member
Joined
Jan 3, 2020
Messages
76
Reaction score
7
Credits
437
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
 


f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,893
Reaction score
2,631
Credits
28,122
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 [email protected] and then try again.
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top