Hi,
I am running ~20 jails on single host. I noticed
Anyone else noticed this? Is there anything I can configure to make
Thank you in advance.
My jail.conf is quite rudimentary:
I am running ~20 jails on single host. I noticed
service jail stop
won't shut down all of them. It will stop a few of them, then silently exit, leaving other jails running. I need to repeat the command a few times in order to stop them all.Anyone else noticed this? Is there anything I can configure to make
service jail stop
shutdown all the jails?Thank you in advance.
My jail.conf is quite rudimentary:
Code:
path = "/usr/jail/${host.hostname}";
exec.prestart = "/sbin/mount_nullfs -o ro /usr/local/etc/letsencrypt \
/usr/jail/${host.hostname}/usr/local/etc/letsencrypt";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown jail";
exec.poststop = "/sbin/umount /usr/jail/${host.hostname}/usr/local/etc/letsencrypt/";
exec.clean;
mount.devfs;
jail1_example_org {
host.hostname = jail1.example.org;
host.domainname = example.org;
ip4.addr = 'lo2|127.0.2.1/32';
ip4.addr += 'lagg0|192.0.2.1/32';
}
jail2_example_org {
host.hostname = jail2.example.org;
host.domainname = example.org;
ip4.addr = 'lo2|127.0.2.2/32';
ip4.addr += 'lagg0|192.0.2.2/32';
}
...