init/shutdown command (mount) makes VM to not autostart?

x130844

Dabbler
Joined
Oct 25, 2020
Messages
46
Hi,

any idea why, or how I could debug this?

If I add a mount command in my init/shutdown task like:
zpool import backup-drive

it simply fails to start the VM automatically.
If I start them manually, it works. There's something during the boot but unsure where I'd find that info.
dmesg doesn't show anything
and nothing in /var

A post init script like pool import should not impede my vm to autostart. Right?
Note that if the init command is set in the console as pre-init. it works fine, which makes no sense to me. post-init should work.
 
Last edited:
Top