Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2019 23:04:50 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: [call for testing] kmod-devctl-jail
Message-ID:  <20190607210450.GR89353@e.0x20.net>
In-Reply-To: <d10460bd-d94c-d346-b234-076ba1da5b66@physik.tu-berlin.de>
References:  <d10460bd-d94c-d346-b234-076ba1da5b66@physik.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 07, 2019 at 02:46:42AM +0200, Fabian Freyer wrote:
> Hi all,
> 
> I'd like to call for testing of the kernel module kmod-devctl-jail [1], 
> which adds devctl(4) support for jail state changes. The aim is to 
> provide some logging and/or auditing support as well as providing jail 
> managers with a way to get notified of jail state changes.
> 
> I'm not yet clear as to whether this is something that could/should get 
> upstreamed into base, or should better live in ports.
> 
> Please CC me when replying to this, as I am not subscribed to freebsd-jail@.
> 
> Thanks,
> Fabian
> 
> [1] https://github.com/fubarnetes/kmod_devctl_jail.git

I just gave it a shot and it can be a very useful tool IMHO.
Please create a review on Phabricator and maybe it can get added to
base.

Here's the log output produced from starting and stopping a jail:

var/log  tail -f jail 
Jun  7 23:01:01 nelson jail[314]: Jail JID=2 created
Jun  7 23:01:02 nelson jail[1720]: Process PID=1644 attached to Jail JID=2
Jun  7 23:01:12 nelson jail[46712]: Process PID=46535 attached to Jail JID=2
Jun  7 23:01:12 nelson jail[68454]: Jail JID=2 removed




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190607210450.GR89353>