hey all,
i am having an issue on a dedicated host running 13.2 where only one vnet jail is starting at boot. the contents of each individual jail config are generally identical, and these are the first two jails that are being started, in the order they are being started (i have confirmed this happens with both parallel and sequential start):
when the host boots, only the beastie jail will start, i have been unable to get any others booting along with it.
is something in the above configs obviously wrong? am i using jib incorrectly?
apologies if this comes off a little braindumpy, been scratching my head over this for a few hours now... if there is anything more i can provide or any clarifications i can make please do let me know
i am having an issue on a dedicated host running 13.2 where only one vnet jail is starting at boot. the contents of each individual jail config are generally identical, and these are the first two jails that are being started, in the order they are being started (i have confirmed this happens with both parallel and sequential start):
Code:
beastie {
# STARTUP/LOGGING
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.consolelog = "/var/log/jail_console_${name}.log";
# PERMISSIONS
allow.raw_sockets;
exec.clean;
mount.devfs;
devfs_ruleset = 5;
# HOSTNAME/PATH
host.hostname = "${name}";
path = "/usr/local/jails/containers/${name}";
# NETWORK
vnet;
vnet.interface = "e0b_${name}";
exec.prestart += "jib addm ${name} ix1";
exec.poststop += "jib destroy ${name}";
}
Code:
cutler {
# STARTUP/LOGGING
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.consolelog = "/var/log/jail_console_${name}.log";
# PERMISSIONS
allow.raw_sockets;
exec.clean;
mount.devfs;
devfs_ruleset = 5;
# HOSTNAME/PATH
host.hostname = "${name}";
path = "/usr/local/jails/containers/${name}";
# NETWORK
vnet;
vnet.interface = "e0b_${name}";
exec.prestart += "jib addm ${name} ix1";
exec.poststop += "jib destroy ${name}";
}
when the host boots, only the beastie jail will start, i have been unable to get any others booting along with it.
service jail restart
will visually hang, but all jails will start, oddly enough:
Code:
hush@warden:~ % sudo service jail restart
Password:
Stopping jails: beastie.
Starting jails: r5rmain seymour www^C
hush@warden:~ % jls
JID IP Address Hostname Path
2 beastie /usr/local/jails/containers/beastie
3 seymour /usr/local/jails/containers/seymour
4 cutler /usr/local/jails/containers/cutler
5 www /usr/local/jails/containers/www
6 hlm /usr/local/jails/containers/hlm
7 hakdog /usr/local/jails/containers/hakdog
8 r5rmain /usr/local/jails/containers/r5rmain
is something in the above configs obviously wrong? am i using jib incorrectly?
apologies if this comes off a little braindumpy, been scratching my head over this for a few hours now... if there is anything more i can provide or any clarifications i can make please do let me know