Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jan 2019 18:20:32 +0100
From:      Christian Barthel <bch@online.de>
To:        Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Cc:        freebsd-jail@freebsd.org,  stefan@gronke.net
Subject:   Re: kqueue(2) kevents for jails
Message-ID:  <87k1jkmja7.fsf@x230.onfire.org>
In-Reply-To: <106dc2ec-9b92-6885-ca4c-8422e0aa061c@physik.tu-berlin.de> (Fabian Freyer's message of "Fri, 4 Jan 2019 14:55:05 %2B0100")
References:  <106dc2ec-9b92-6885-ca4c-8422e0aa061c@physik.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Fabian Freyer <fabian.freyer@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



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