I have an unprivileged lxc for jellyfin that supports hardware transcoding and Authentik integration, however, IT NEVER boots automatically. It fails in pre-start. However, when I start it manually, it starts every time and works perfectly. It has bindmounts to a samba share on the host. The samba share is a LUKS encrypted drive that is passed through to an Ubuntu VM, that unlocks at boot with Clevis. That takes a little time for it to unlock, and I'm running Samba in a docker container, so that has a little delay.... I thought it might be a timing issue with the LXC, so I tried delaying the start of the lxc, but that doesnt work. It doesnt matter how big of a delay I put on the lxc, it fails almost instantly on startup (seems the delay doesnt impact the pre-start? Maybe timing isnt the issue in the first place?
:
:
Code:
run_buffer: 322 Script exited with status 19
lxc_init: 844 Failed to run lxc.hook.pre-start for container "120"
__lxc_start: 2027 Failed to initialize container "120"
TASK ERROR: startup for container '120' failed
Last edited: