Closed grembo closed 1 year ago
@bretton This patch should fix your problem, could you please give it a shot?
@bretton This patch should fix your problem, could you please give it a shot?
no luck, it doesn't start the first jail either, just goes straight to the error.
###> pot name-amd64-13_1 is not in a state where it can start
fbsd-update.sh -> /mnt/srv/pot/jails/name-amd64-13_1/m/tmp/fbsd-update.sh
=====> Executing fbsd-update script on name-amd64-13_1
jexec: jail "name-amd64-13_1" not found
###> create: flavour fbsd-update failed (script)
and without -f fbsd-update
###> pot name-amd64-13_1 is not in a state where it can start
name.sh -> /mnt/srv/pot/jails/name-amd64-13_1/m/tmp/name.sh
=====> Executing name script on name-amd64-13_1
jexec: jail "name-amd64-13_1" not found
###> create: flavour name failed (script)
That sounds like you have some leftover files from a previous failed start. Check jls if anything is running and then remove /tmp/pot_status* files.
remove /tmp/pot_status* files.
aha, this did the trick and patch worked this time
@bretton Luca fixed a bug in #235 where destroy left status files behind (which is what you might be experiencing here and unrelated to the problem).
This is the patch in question:
I think it's time to tag a new release soon.
As this was tested successfully (locally + one user), I'll merge it
Fixes #238