kqueue(2) kevents for jails

Christian Barthel bch at online.de
Fri Jan 4 17:20:43 UTC 2019


Fabian Freyer <fabian.freyer at physik.tu-berlin.de> writes:

> I'm writing a jail management library [1], and am wondering if there's
> any nice way to get notified of jail state changes (especially running
> -> dying -> dead) as well as of parameter changes.

I worked on something similar (not a library but more acting like a
daemon).   The way I managed Jails was by forking a jail(8) process
and collecting the exit status.  Not sure if that is possible for your
library case.

-- 
Christian Barthel


More information about the freebsd-jail mailing list