diff options
author | Michael Zhilin <mizhka@FreeBSD.org> | 2019-09-12 18:53:29 +0000 |
---|---|---|
committer | Michael Zhilin <mizhka@FreeBSD.org> | 2019-09-12 18:53:29 +0000 |
commit | cd38a86c63cd08a008a64252528b03ad0469f7fe (patch) | |
tree | e29ded80c8a3cbcc39ed3ee01502e009cc4a9397 /etc | |
parent | 09c9ed3b053afdb321218ba6b24b34a8476505df (diff) | |
download | src-cd38a86c63cd08a008a64252528b03ad0469f7fe.tar.gz src-cd38a86c63cd08a008a64252528b03ad0469f7fe.zip |
[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
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D21328
Notes
Notes:
svn path=/head/; revision=352263
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mtree/BSD.tests.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index d0092241edae..d9f4897e026e 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -1082,6 +1082,8 @@ .. fstyp .. + jail + .. makefs .. mixer |