podman quadlets on lxc
from immobile7801@piefed.social to selfhosted@lemmy.world on 08 Nov 19:58
https://piefed.social/c/selfhosted/p/1456875/podman-quadlets-on-lxc

tldr: is this possible?

I’m trying to move from docker compose to podman quadlets and while I’ve got some basic differences down I’m having an issue with using quadlets in proxmox lxc. it works fine in a vm, so my question is, has anyone gotten quadlets to work in a lxc? And if so, how do I fix the below error?

when I try to take a working quadlet file from a vm to lxc I get the following error:

Failed to connect to user scope bus via local transport: No such file or directory  

I’ve tried researching the error and did all the troubleshooting in this url: https://linuxconfig.org/how-to-fix-failed-to-connect-to-system-scope-bus-error-in-linux

which suggests it’s because systemd isn’t running, but it is.

podman@podman-test:~$ ps aux | grep systemd~  
podman       349  0.0  0.2   3508  1480 pts/1    S+   19:55   0:00 grep systemd~ 

again, I’m very new to quadlets so it’s very possible I’m missing something.

Thanks in advance!

ETA: I prefer lxc for the resource overhead savings.

Edit2: running rootless podman on proxmox 9 Debian lxc. I’ve also tried Alma Linux lxc

edit3: not sure where to go from here. as shown systemd doesn’t appear to be running, but dbus is and a reinstall of dbus doesn’t fix the issue. for now I think I’m going to stick to vm until I can figure this out.

#selfhosted

threaded - newest

philpo@feddit.org on 08 Nov 20:11 next collapse

Privileged or unprivileged LXC?

immobile7801@piefed.social on 08 Nov 20:16 collapse

Unprivileged

Limeade3425@lemmy.zip on 09 Nov 01:47 collapse

I’ve never had an issue as long as you have nested turned on. I don’t think it needs to be privledged for that

immobile7801@piefed.social on 09 Nov 04:40 collapse

Are you running rootless? I realized I didn’t include that in op

dan@upvote.au on 09 Nov 06:24 collapse

Your ps output doesn’t show systemd as running. The only output is the grep command itself.

immobile7801@piefed.social on 09 Nov 15:02 collapse

thanks. I definitely didn’t realize that. will continue troubleshooting