Richard Durso
Explorer
- Joined
- Jan 30, 2014
- Messages
- 70
I create all my iocage jails manually (not using any plugins). The first 9 worked without a problem. Once I created jail #10 it would not auto-start after reboot. It was configured identically to previous 9 jails. "iocage list" showed state as "down". Simply started it manually and then had no problem works as expected until next reboot.
I wasn't going to report anything, until I created jail #11. Now jail #10 auto-starts correctly after a reboot and its jail #11 that doesn't auto-start and has to be manually started. Seems suspicious.
Not sure what would be helpful, but this is jail #11. Works fine once manually started, just will not auto-start on reboot now.
I found this in the middleware.log:
Once I start it manually I'm good until next reboot.
I wasn't going to report anything, until I created jail #11. Now jail #10 auto-starts correctly after a reboot and its jail #11 that doesn't auto-start and has to be manually started. Seems suspicious.
Not sure what would be helpful, but this is jail #11. Works fine once manually started, just will not auto-start on reboot now.
Code:
iocage get boot Gitea 1 iocage start Gitea No default gateway found for ipv6. * Starting Gitea + Started OK + Using devfs_ruleset: 14 + Configuring VNET OK + Using IP options: vnet + Starting services OK + Executing poststart OK iocage exec Gitea "sysrc -a" cron_flags: -J 15 gitea_enable: YES hostname: Gitea ipv6_activate_all_interfaces: YES sendmail_enable: NO sendmail_msp_queue_enable: NO sendmail_outbound_enable: NO sendmail_submit_enable: NO syslogd_flags: -c -ss
I found this in the middleware.log:
Code:
[2020/05/22 17:29:45] (DEBUG) JailService.start_on_boot():1482 - Starting jails on boot: PENDING [2020/05/22 17:29:47] (INFO) iocage.callback():67 - Starting Gitea [2020/05/22 17:29:48] (DEBUG) iocage.__start_jail__():254 - Grabbing IPv6 default route [2020/05/22 17:29:48] (WARNING) iocage.callback():65 - No default gateway found for ipv6. [2020/05/22 17:29:48] (DEBUG) iocage.__start_jail__():256 - Default IPv6 Gateway: none [2020/05/22 17:29:48] (INFO) iocage.callback():67 - * Starting Gitea [2020/05/22 17:29:49] (INFO) iocage.callback():67 - + Started OK [2020/05/22 17:29:49] (INFO) iocage.callback():67 - + Using devfs_ruleset: 5 [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.cdn.trueos.org:80 [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.cdn.trueos.org:80 [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.freebsd.org:80 [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.freebsd.org:80 [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._make_request():437 - http://pkg.cdn.trueos.org:80 "GET /iocage/unstable/All/ HTTP/1.1" 200 None [2020/05/22 17:29:49] (DEBUG) urllib3.connectionpool._make_request():437 - http://pkg.cdn.trueos.org:80 "GET /iocage/11.3-RELEASE/All/ HTTP/1.1" 200 None [2020/05/22 17:29:50] (ERROR) iocage.callback():63 - + Configuring VNET FAILED [2020/05/22 17:29:50] (ERROR) iocage.callback():63 - ifconfig: BRDGADD vnet0.1: Invalid argument [2020/05/22 17:29:50] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.freebsd.org:80 [2020/05/22 17:29:50] (DEBUG) urllib3.connectionpool._new_conn():225 - Starting new HTTP connection (1): pkg.cdn.trueos.org:80 [2020/05/22 17:29:50] (DEBUG) urllib3.connectionpool._make_request():437 - http://pkg.cdn.trueos.org:80 "GET /iocage/11.3-RELEASE/All/ HTTP/1.1" 200 None
Once I start it manually I'm good until next reboot.