Date: Sat, 30 Mar 2013 20:52:13 +0000 From: Nicolas de Bari Embriz Garcia Rojas <nbari@inbox.im> To: Dirk Engling <erdgeist@erdgeist.org> Cc: freebsd-jail@freebsd.org Subject: Re: rc.d/jail and jail.conf Message-ID: <AA7CA531-5197-4BBC-B260-A3EC8B7A1024@inbox.im> In-Reply-To: <515721F8.9090202@erdgeist.org> References: <515721F8.9090202@erdgeist.org>
next in thread | previous in thread | raw e-mail | index | archive | help
If for starting at boot time when using jail.conf you can use the = sysutils/jail2 port If I am right you can define the order of start for jails in the = jail2_list (rc.conf), something like:=20 jail2_list=3D"jail1 jail2"=20 regards. On Mar 30, 2013, at 5:33 PM, Dirk Engling <erdgeist@erdgeist.org> wrote: > Dear jail hackers, >=20 > if I follow the development correctly, the jail(8) command was = augmented > to make the rc.d/jail script obsolete. However when I want to use the = rc > system to start my jails, I am stuck with convincing rc.d/jail to not > fail for missing _hostname or _rootdir. >=20 > How am I supposed to have my jails started at boot time? And while = we're > at it, is there a rcorder-style way to introduce dependencies into > jail.conf to control the order my jails are started in? >=20 > Which brings me to another point, there does not seem to be a way to > convince rc.d/jail to set a jailname for old style jails, making it = hard > to integrate with tools that use libjail to translate what were > _hostname parameters to jid before. >=20 > On a related note, in order to finally include all the nextgen jail > features in my ezjail project, I wonder if there's an automated tool = to > read/write/modify jail.conf(s) on the radar. Currently I am = considering > keeping my own set of configs and generating a jail.conf per jail on = the > fly, which I do not think is in the user's interest as conflicting > jailnames may occur. >=20 > In theory a parser would be enough, but having to automatically = recreate > and correctly reorder all user comments and +=3D statements in the = config > file when re-writing the file seems a rather hard problem, too. >=20 > Regards and thanks in advance, >=20 > erdgeist > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to = "freebsd-jail-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA7CA531-5197-4BBC-B260-A3EC8B7A1024>