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: jail2_list="jail1 jail2" regards. On Mar 30, 2013, at 5:33 PM, Dirk Engling <erdge...@erdgeist.org> wrote: > Dear jail hackers, > > 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. > > 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? > > 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. > > 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. > > In theory a parser would be enough, but having to automatically recreate > and correctly reorder all user comments and += statements in the config > file when re-writing the file seems a rather hard problem, too. > > Regards and thanks in advance, > > erdgeist > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org" _______________________________________________ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"