HomeFreeBSD

MFC r352263:

Description

MFC r352263:

[jail] removal by jid doesn't trigger pre/post stop scripts

This commit fixes bug: command "jail -r" didn't trigger pre/post stop
commands (and others) defined in config file if jid is specified insted of
name. Also it adds basic tests for usr.sbin/jail to avoid regression.

Reviewed by: jamie, kevans, ray
Differential Revision: https://reviews.freebsd.org/D21328

Details

Provenance
mizhkaAuthored on
Reviewer
jamie
Differential Revision
D21328: [jail] removal by jid doesn't trigger pre/post stop scripts
Parents
rS352559: loader: Respect loader_color=YES for serial consoles
Branches
Unknown
Tags
Unknown