https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217545
gronke <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from gronke <[email protected]> --- It appears that exec.prestop, exec.stop and exec.poststop are not executed when the jail was started with them via jail command arguments: jail -c persist name="myjail" exec.stop="/bin/sh /etc/rc.shutdown" jail -r myjail The exec.stop argument cannot be passed to `jail -r`, but a temporary jail.conf file makes it it execute: jail -c persist name="myjail" echo -e "myjail {\nexec.stop = \"/bin/sh /etc/rc.shutdown\";\n}" > myjail.conf jail -r -f myjail.conf rm myjail.conf -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "[email protected]"
