11-U3 - iocage jails still not starting automatically at boot?

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi all,

looks like
Code:
iocage set boot=on <jail>
followed by a reboot of the FreeNAS system will still not end with the jail up and running.

Intentional?

Thanks,
Patrick
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Ah - so it's still supposed to be enabled manually. Thanks.

Patrick
 

kazooless

Dabbler
Joined
Aug 9, 2013
Messages
32
After rebooting, none of my iocage jails are starting automatically. Any ideas?

Running version FreeNAS-11.1-RELEASE

According to this bug report, iocage should start jails with boot=on (https://redmine.ixsystems.com/issues/26509)

Checked my sysrc -a config: "iocage_enable: YES"

Code:
root@freenas:~ # iocage get boot plex
on


Jails are still not starting

Code:
root@freenas:~ # iocage list

+-----+-------------+-------+--------------+--------------+

| JID |	NAME	 | STATE |   RELEASE	|	 IP4	  |

+=====+=============+=======+==============+==============+

| -   | couchpotato | down  | 11.1-RELEASE | 192.168.0.13 |

+-----+-------------+-------+--------------+--------------+

| -   | plex		| down  | 11.1-RELEASE | 192.168.0.14 |

+-----+-------------+-------+--------------+--------------+

| -   | sabnzbd	 | down  | 11.1-RELEASE | 192.168.0.12 |

+-----+-------------+-------+--------------+--------------+

| -   | sickrage	| down  | 11.1-RELEASE | 192.168.0.11 |

+-----+-------------+-------+--------------+--------------+
 

kazooless

Dabbler
Joined
Aug 9, 2013
Messages
32
Okay, I guess it still has to be in tunables even though the rc.conf already has it. It works now.

Tunables.png
 

zamana

Contributor
Joined
Jun 4, 2017
Messages
163
Hi!

I installed 7 jails through iocage: 6 by using this post and only one by using this method, and only this last jail is starting automatically after a reboot, even though all of them has the "boot: on" property and the tunnable setted up.

Anyone knows the difference?

Thanks.
Regards.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
In 11.2-RC1 all my jails are starting automatically. No tunable, no manual settings. Just created them via UI.

Patrick
 

Snow

Patron
Joined
Aug 1, 2014
Messages
309
I Know this post is old But ive had this problem for awhile, I still can not get any of my jails to boot. even editing rc,d with iocage_enable="YES" and manually enter the iocage command to enable boot. I also have a loader set up with iocage_enable YES. Also ever jail I create even on 11.2-u7 still will not auto boot. With auto start chked
 
Top