Date: Sat, 04 Mar 2017 21:02:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217545] jail: exec.poststop not executed, mount.fstab does not umount after removing jail Message-ID: <bug-217545-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217545 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: freebsd-bugs@FreeBSD.org Reporter: la5lbtyi@aon.at I am configuring a jail where I want to mount a few filesystems before star= ting it, and unmount them after removing it. The jail config file contains command =3D "/bin/sh"; In order to mount/unmount the filesystems, I tried using either mount.fstab =3D "/path/to/jailfstab"; or exec.prestart =3D "/path/to/mount_shell_script"; exec.poststop =3D "/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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217545-8>