https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217545
Bug ID: 217545
Summary: jail: exec.poststop not executed, mount.fstab does not
umount after removing jail
Product: Base System
Version: 11.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
I am configuring a jail where I want to mount a few filesystems before starting
it, and unmount them after removing it. The jail config file contains
command = "/bin/sh";
In order to mount/unmount the filesystems, I tried using either
mount.fstab = "/path/to/jailfstab";
or
exec.prestart = "/path/to/mount_shell_script";
exec.poststop = "/path/to/unmount_shell_script";
In either case, the filesystems are mounted before strarting the jail, but when
I leave the shell using ^D the filesystems are never unmounted.
While the man page does not promise that umounts will be done when using
mount.fstab, exec.poststop should definitely be executed but is not.
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"