I have a jail ( pas-redmine) running freebsd-14.2p2 on a host that is also running 14.2p2. The issue is this: somehow the running directory name of that jail has changed:
Redmine should be running using the pas-redmine-2 jail directory:
How does this happen? I note that the system restarted on June 6 at 07:46 and presumable the jail was running at that time.
Code:
# jls
JID IP Address Hostname Path
1 216.185.71.108 pas-redmine.hamilton.harte-ly /zroot/iocage/jails/03929fef-5d95-4ebb-a1aa-dbb167f22a03/root
2 216.185.71.34 dns03.harte-lyne.ca /zroot/iocage/jails/dns03-2/root
3 216.185.71.57 imap.hamilton.harte-lyne.ca /zroot/iocage/jails/imap-119/root
4 216.185.71.32 mx32.harte-lyne.ca /zroot/iocage/jails/mx32-2/root
5 216.185.71.114 sshpipe-2.hamilton.harte-lyne /zroot/iocage/jails/sshpipe-2/root
6 216.185.71.96 webmail-1.hamilton.harte-lyne /zroot/iocage/jails/webmail-1/root
7 216.185.71.106 webmail-2.hamilton.harte-lyne /zroot/iocage/jails/webmail-2/root
# ll /zroot/iocage/jails
total 16
drwxr-xr-x 3 root wheel 5 Jun 6 07:47 03929fef-5d95-4ebb-a1aa-dbb167f22a03
drwxr-xr-x 3 root wheel 5 Jun 6 07:47 dns03-2
drwxr-xr-x 3 root wheel 5 Jun 6 07:47 imap-119
drwxr-xr-x 3 root wheel 5 Jun 6 07:48 mx32-2
drwxr-xr-x 3 root wheel 5 May 2 11:24 pas-redmine-2
drwxr-xr-x 3 root wheel 6 Jun 6 07:48 sshpipe-2
drwxr-xr-x 4 root wheel 6 Jun 6 07:48 webmail-1
drwxr-xr-x 4 root wheel 6 Jun 6 07:48 webmail-2
Redmine should be running using the pas-redmine-2 jail directory:
Code:
# iocage get all pas-redmine-2
CONFIG_VERSION:33
. . .
jail_zfs:0
jail_zfs_dataset:iocage/jails/pas-redmine-2/data
jail_zfs_mountpoint:none
last_started:2025-04-30 16:48:25
localhost_ip:127.0.108.1
. . .
How does this happen? I note that the system restarted on June 6 at 07:46 and presumable the jail was running at that time.