Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2025 16:21:46 +0300
From:      Anthony Pankov <anthony.pankov@yahoo.com>
To:        fs@FreeBSD.org
Subject:   ZFS left sticked to nonexisting jail
Message-ID:  <1223233385.20251112162146@yahoo.com>

index | next in thread | raw e-mail

Dear FS,

I've used jail config with such a string:

X{
...
 exec.release+="/sbin/zfs unjail ${name} ptank/poudriere";
...
}

It seems wrong because "jail -r X" said something like "zfs unjail: bad jail name/id" (I will use "exec.prestop" in the future).

After this zfs left mounted:

# ls /aj/builderlc/body/usr/local/poudriere/distfiles/
yasm-1.3.0.tar.gz
zfs.in
zstd-1.5.6.tar.zst
zstd-1.5.7.tar.zst
...

Trying to manually unmount jail:

#zfs umount -r /aj/builderlc/body/usr/local/poudriere/
#

report no error but mount still here.

Trying to unjail it again is impossible because the jail is not exist and I can't provide any meaningful name/jid argument for "zfs unjail".

I don't know is this a bug or what?

-- 
Best regards,
 Anthony Pankov                         mailto:anthony.pankov@yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1223233385.20251112162146>