jails not auto starting in 11.2

Status
Not open for further replies.

dmshimself

Dabbler
Joined
Mar 20, 2017
Messages
41
I've have a couple of jails and both have the auto start property set, but when the server is rebooted, they do not auto start. They do start manually just fine.

Any adice appreciated.
 

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
Hi,

looks like you are having the same problem.
After upgrade to 11.2 iocage jails won't autostart for me too.
I even tried to recreate one of them, no change.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
I seem to recall that someone had success setting the autostart via CLI?
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@dmshimself What's the output of ifconfig immediately after a reboot? Where your jails originally recreated via iocage?
At the shell/CLI what is out of iocage get boot <jailname>

Here's an example:

Code:
root@freenasv[~]# iocage list  

+-----+--------------+-------+--------------+--------------+
| JID |     NAME     | STATE |   RELEASE    |     IP4      |
+=====+==============+=======+==============+==============+
| -   | LMS          | down  | 11.2-RELEASE | 192.168.0.60 |
+-----+--------------+-------+--------------+--------------+
| -   | dokuwiki     | down  | 11.2-RELEASE | 192.168.0.61 |
+-----+--------------+-------+--------------+--------------+
| 2   | plex         | up    | 11.2-RELEASE | 192.168.0.69 |
+-----+--------------+-------+--------------+--------------+
| 1   | transmission | up    | 11.2-RELEASE | 192.168.0.59 |
+-----+--------------+-------+--------------+--------------+
root@freenasv[~]# iocage get boot plex  
on
root@freenasv[~]# iocage get boot  dokuwiki
off
root@freenasv[~]#
 

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
Here is ifconfig directly after the reboot:

Code:
root@freenas:~ # ifconfig
ix0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=e403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 90:e2:ba:52:7a:7a
        hwaddr 90:e2:ba:52:7a:7a
        inet 192.168.0.91 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)
        status: active
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ac:1f:6b:20:41:88
        hwaddr ac:1f:6b:20:41:88
        inet 192.168.0.92 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ac:1f:6b:20:41:89
        hwaddr ac:1f:6b:20:41:89
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 9000
        ether 02:0b:e8:c5:4c:00
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
        member: ix0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 2000
vnet0:1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Plex
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:ea
        hwaddr 02:3b:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
epair0b: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:eb
        hwaddr 02:3b:d0:00:07:0b
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active


Code:
root@freenas:~ # iocage list
+-----+---------+-------+--------------+--------------+
| JID |  NAME   | STATE |   RELEASE    |     IP4      |
+=====+=========+=======+==============+==============+
| -   | Plex    | down  | 11.2-RELEASE | 192.168.0.98 |
+-----+---------+-------+--------------+--------------+
| -   | SABnzbd | down  | 11.2-RELEASE | 192.168.0.97 |
+-----+---------+-------+--------------+--------------+

root@freenas:~ # iocage list -l
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+
| JID |  NAME   | BOOT | STATE | TYPE |   RELEASE    |          IP4          | IP6 | TEMPLATE |
+=====+=========+======+=======+======+==============+=======================+=====+==========+
| -   | Plex    | on   | down  | jail | 11.2-RELEASE | vnet0|192.168.0.98/24 | -   | -        |
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+
| -   | SABnzbd | on   | down  | jail | 11.2-RELEASE | vnet0|192.168.0.97/24 | -   | -        |
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+

root@freenas:~ # iocage get boot Plex
on

root@freenas:~ # iocage get boot SABnzbd
on



After manual Jail start:
Code:
root@freenas:~ # iocage list -l
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+
| JID |  NAME   | BOOT | STATE | TYPE |   RELEASE    |          IP4          | IP6 | TEMPLATE |
+=====+=========+======+=======+======+==============+=======================+=====+==========+
| 2   | Plex    | on   | up    | jail | 11.2-RELEASE | vnet0|192.168.0.98/24 | -   | -        |
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+
| 3   | SABnzbd | on   | up    | jail | 11.2-RELEASE | vnet0|192.168.0.97/24 | -   | -        |
+-----+---------+------+-------+------+--------------+-----------------------+-----+----------+
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@00riddler Not sure why you're seeing the device epair0b on FreeNAS host, isn't the "b" side of an epair only meant to be seen an a running jail? Or do you still have unconverted warden jails running? What's the output of ifconfig inside your running plex jail?
 

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
The warden jails have already been deleted. Just iocage jails left.

Code:
root@Plex:~ # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:eb
        hwaddr 02:3b:d0:00:09:0b
        inet 192.168.0.98 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
OK, when your plex jail is running what's the output of ifconfig on the FreeNAS host?
 

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
Code:
root@freenas:~ # ifconfig
ix0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=a400b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,RXCSUM_IPV6>
        ether 90:e2:ba:52:7a:7a
        hwaddr 90:e2:ba:52:7a:7a
        inet 192.168.0.91 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)
        status: active
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ac:1f:6b:20:41:88
        hwaddr ac:1f:6b:20:41:88
        inet 192.168.0.92 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=6403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether ac:1f:6b:20:41:89
        hwaddr ac:1f:6b:20:41:89
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        ether 02:0b:e8:c5:4c:00
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0:3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 9 priority 128 path cost 2000
        member: vnet0:2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 2000
        member: ix0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 2000
vnet0:1: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Plex
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:ea
        hwaddr 02:3b:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
epair0b: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:eb
        hwaddr 02:3b:d0:00:07:0b
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
vnet0:2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        description: associated with jail: Plex
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:ea
        hwaddr 02:3b:d0:00:08:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
        description: associated with jail: SABnzbd
        options=8<VLAN_MTU>
        ether 02:ff:60:1f:7c:61
        hwaddr 02:3b:d0:00:09:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
Last output looks odd as you now have two vnet entries associated with plex. Also the output of ifconfig immediately after a re-boot, when the jails do not auto-start, has a bridge with no members.

How did you configure the networking for your plex jail? Did you do this via the new webUI? Could you please post the output of iocage get all plex

P.S. You don't have any networking tunables you added and that are still in use from prior to FN11.2?
 
Last edited:

dmshimself

Dabbler
Joined
Mar 20, 2017
Messages
41
@dmshimself What's the output of ifconfig immediately after a reboot? Where your jails originally recreated via iocage?
At the shell/CLI what is out of iocage get boot <jailname>

Here's an example:

Code:
root@freenasv[~]# iocage list

+-----+--------------+-------+--------------+--------------+
| JID |     NAME     | STATE |   RELEASE    |     IP4      |
+=====+==============+=======+==============+==============+
| -   | LMS          | down  | 11.2-RELEASE | 192.168.0.60 |
+-----+--------------+-------+--------------+--------------+
| -   | dokuwiki     | down  | 11.2-RELEASE | 192.168.0.61 |
+-----+--------------+-------+--------------+--------------+
| 2   | plex         | up    | 11.2-RELEASE | 192.168.0.69 |
+-----+--------------+-------+--------------+--------------+
| 1   | transmission | up    | 11.2-RELEASE | 192.168.0.59 |
+-----+--------------+-------+--------------+--------------+
root@freenasv[~]# iocage get boot plex
on
root@freenasv[~]# iocage get boot  dokuwiki
off
root@freenasv[~]#

Hi on the NAS the ifconfig looks like this:

Code:
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
    ether 9c:b6:54:0b:18:56
    hwaddr 9c:b6:54:0b:18:56
    inet6 fe80::9eb6:54ff:fe0b:1856%bge0 prefixlen 64 scopeid 0x1
    inet6 2a00:1508:a0d:fe00:9eb6:54ff:fe0b:1856 prefixlen 64 autoconf
    inet 10.13.65.20 netmask 0xffff0000 broadcast 10.13.255.255
    inet 10.13.200.0 netmask 0xffff0000 broadcast 10.13.255.255
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    groups: lo
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1350
    ether 02:39:20:24:a2:00
    nd6 options=1<PERFORMNUD>
    groups: bridge
    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
    maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
    root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
    member: vnet0:13 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 6 priority 128 path cost 2000
    member: vnet0:12 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 3 priority 128 path cost 2000
    member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 14 priority 128 path cost 2000000
    member: vnet0:8 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 11 priority 128 path cost 2000
    member: vnet0:6 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 9 priority 128 path cost 2000
    member: vnet0:5 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 4 priority 128 path cost 2000
    member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
            ifmaxaddr 0 port 1 priority 128 path cost 20000
vnet0:5: flags=8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    description: associated with jail: home assistant
    options=8<VLAN_MTU>
    ether 02:ff:60:97:c6:a5
    hwaddr 02:72:10:00:04:0a
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    groups: epair
epair0b: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1350
    options=8<VLAN_MTU>
    ether 02:ff:60:97:c6:a6
    hwaddr 02:72:10:00:08:0b
    ether 02:ff:60:97:c6:a6
    hwaddr 02:72:10:00:08:0b
    ether 02:ff:60:97:c6:a6
    hwaddr 02:72:10:00:08:0b
    nd6 options=1<PERFORMNUD>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
vnet0:6: flags=8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    description: associated with jail: home assistant
    options=8<VLAN_MTU>
    ether 02:ff:60:97:c6:a5
    hwaddr 02:72:10:00:09:0a
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    groups: epair
vnet0:8: flags=8942<BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    description: associated with jail: home assistant
    options=8<VLAN_MTU>
    ether 02:ff:60:97:c6:a5
    hwaddr 02:72:10:00:0b:0a
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    groups: epair
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    options=80000<LINKSTATE>
    ether 00:bd:c2:a5:55:00
    hwaddr 00:bd:c2:a5:55:00
    nd6 options=1<PERFORMNUD>
    media: Ethernet autoselect
    status: active
    groups: tap
    Opened by PID 33413
vnet0:12: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    description: associated with jail: home assistant
    options=8<VLAN_MTU>
    ether 02:ff:60:97:c6:a5
    hwaddr 02:72:10:00:03:0a
    inet6 fe80::ff:60ff:fe97:c6a5%vnet0:12 prefixlen 64 scopeid 0x3
    nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    groups: epair
vnet0:13: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1350
    description: associated with jail: syncthing
    options=8<VLAN_MTU>
    ether 02:ff:60:5b:07:f8
    hwaddr 02:72:10:00:06:0a
    nd6 options=1<PERFORMNUD>
    media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
    status: active
    groups: epair


The jails were origonally created with iocage in 11.1 before the upgrade to 11.2 So I did all the iocage work manually in 11.1
The list of jails lis shown below. The sample I'm using is mythtv-backend and autostart appears to be on:

iocage get boot mythtv-backend
on

+-----+----------------+-------+--------------+-------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+================+=======+==============+=============+
| 12 | home assistant | up | 11.2-RELEASE | DHCP |
+-----+----------------+-------+--------------+-------------+
| 14 | mythtv-backend | up | 11.2-RELEASE | 10.13.200.0 |
+-----+----------------+-------+--------------+-------------+
| - | mythtv-test | down | 11.2-RELEASE | 10.13.200.1 |
+-----+----------------+-------+--------------+-------------+
| - | mythtvjail | down | 11.2-RELEASE | 10.13.200.0 |
+-----+----------------+-------+--------------+-------------+
| 13 | syncthing | up | 11.2-RELEASE | DHCP |
+-----+----------------+-------+--------------+-------------+


Code:
+-----+----------------+-------+--------------+-------------+
| JID |      NAME      | STATE |   RELEASE    |     IP4     |
+=====+================+=======+==============+=============+
| 12  | home assistant | up    | 11.2-RELEASE | DHCP        |
+-----+----------------+-------+--------------+-------------+
| 14  | mythtv-backend | up    | 11.2-RELEASE | 10.13.200.0 |
+-----+----------------+-------+--------------+-------------+
| -   | mythtv-test    | down  | 11.2-RELEASE | 10.13.200.1 |
+-----+----------------+-------+--------------+-------------+
| -   | mythtvjail     | down  | 11.2-RELEASE | 10.13.200.0 |
+-----+----------------+-------+--------------+-------------+
| 13  | syncthing      | up    | 11.2-RELEASE | DHCP        |
+-----+----------------+-------+--------------+-------------+
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@dmshimself I've not followed the "warden" to "iocage" saga that closely, nor the various iocage networking problems in the FN11.1 series, but your host ifconfig shows the same "epair0b" device and multiple vnet entries attached to a jail - in your case home assistant - which puzzles me. Please post iocage get all <jailname> for both your "home assistance" and "syncthing" jails.
 

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
Last output looks odd as you now have two vnet entries associated with plex. Also the output of ifconfig immediately after a re-boot, when the jails do not auto-start, has a bridge with no members.

How did you configure the networking for your plex jail? Did you do this via the new webUI? Could you please post the output of iocage get all plex

P.S. You don't have any networking tunables you added and that are still in use from prior to FN11.2?

Config for the Jail was done vie webUI.
No networking tunables set.

Code:
root@freenas:~ # iocage get all Plex
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:1
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:no
boot:on
bpf:yes
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:192.168.0.1
defaultrouter6:none
depends:none
devfs_ruleset:4
dhcp:off
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:Plex
host_hostuuid:Plex
host_time:yes
hostid:88478f96-dce9-11e7-91de-90e2ba527a7a
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:vnet0|192.168.0.98/24
ip4_saddrsel:1
ip6:new
ip6_addr:none
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/Plex/data
jail_zfs_mountpoint:none
last_started:2018-12-21 14:47:17
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:1
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:1
pseudoterminals:off
quota:none
release:11.2-RELEASE
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:jail
used:readonly
vmemoryuse:off
vnet:on
vnet0_mac:02ff603141ea 02ff603141eb
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@00riddler The only thing I can see in the jail properties you posted is that "bpf" is set to yes. AFAIU bpf is only(?) required when using VNET with DHCP as the WebUI warning messages indicate. Having said that, it seems to make no difference to the interfaces listed by ifconfig on the FreeNAS host when starting jails configured to VNET with a static IP.

Which version of FN11.1 did you upgrade from? In my testing I started from the latest FN11.1-6U, which had one autostart "warden " jail and two autostart jails created using iocage at the CLI. After the upgrade, all three still auto start and the network config looks sane (vtnet0 appears as the physical NIC as this was done in a virtual machine):

Code:
root@freenas:~ # ifconfig
vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2c00b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6>
        ether 52:54:00:25:bf:fb
        hwaddr 52:54:00:25:bf:fb
        inet 192.168.0.56 netmask 0xffffff00 broadcast 192.168.0.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet 10Gbase-T <full-duplex>
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:a9:84:0e:2c:00
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0:3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000
        member: vnet0:2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 5 priority 128 path cost 2000
        member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000
        member: vtnet0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:d4:d0:00:04:0a
        hwaddr 02:d4:d0:00:04:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: TEST
        options=8<VLAN_MTU>
        ether 02:ff:60:2d:ff:1f
        hwaddr 02:d4:d0:00:05:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: LMS
        options=8<VLAN_MTU>
        ether 02:ff:60:11:51:ad
        hwaddr 02:d4:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
root@freenas:~ #


Each iocage jail gets one vnet interface and the epair0a interface identifies the warden jail. There are no "b" side epairs on the FreeNAS host.

Code:
root@freenas:~ # jls

   JID  IP Address      Hostname                      Path
     1                  test                          /mnt/NasPool/myJails/test
     2                  TEST                          /mnt/iocage/jails/TEST/root
     3                  LMS                           /mnt/iocage/jails/LMS/root
root@freenas:~ # iocage list -l
+-----+------+------+-------+------+------------------+-----------------------+-----+----------+
| JID | NAME | BOOT | STATE | TYPE |     RELEASE      |          IP4          | IP6 | TEMPLATE |
+=====+======+======+=======+======+==================+=======================+=====+==========+
| 3   | LMS  | on   | up    | jail | 11.1-RELEASE-p15 | vnet0|192.168.0.57/24 | -   | -        |
+-----+------+------+-------+------+------------------+-----------------------+-----+----------+
| 2   | TEST | on   | up    | jail | 11.1-RELEASE-p15 | vnet0|192.168.0.58/24 | -   | -        |
+-----+------+------+-------+------+------------------+-----------------------+-----+----------+
root@freenas:~ #


This is an extract from dmesg on the test VM:

Code:
vtnet0: link state changed to UP
bridge0: Ethernet address: 02:a9:84:0e:2c:00
bridge0: link state changed to UP
vtnet0: promiscuous mode enabled
epair0a: Ethernet address: 02:d4:d0:00:04:0a
epair0b: Ethernet address: 02:d4:d0:00:05:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: promiscuous mode enabled
epair1a: Ethernet address: 02:d4:d0:00:05:0a
epair1b: Ethernet address: 02:d4:d0:00:06:0b
epair1a: link state changed to UP
epair1b: link state changed to UP
epair1a: changing name to 'vnet0:2'
epair1b: changing name to 'epair0b'
vnet0:2: promiscuous mode enabled
epair2a: Ethernet address: 02:d4:d0:00:06:0a
epair2b: Ethernet address: 02:d4:d0:00:07:0b
epair2a: link state changed to UP
epair2b: link state changed to UP
epair2a: changing name to 'vnet0:3'
epair2b: changing name to 'epair0b'
vnet0:3: promiscuous mode enabled
pid 1738 (syslog-ng), uid 0: exited on signal 6 (core dumped)


As you can see, you would expect all "b" side epairs to be assigned to the jail's network stack. What have you got in your dmesg?
 
Last edited:

00riddler

Cadet
Joined
Feb 3, 2016
Messages
9
My history is not complete anymore but the latest update path looks like this:

Im not perfectly sure if it has been 11.1-U5 or 11.1-U6 before.
11.2-BETA3 9/11/2018 12:30 AM
11.2-RC1 10/18/2018 9:30 PM
11.2-RC2 11/29/2018 2:17 PM
11.2-RELEASE 12/10/2018 12:18 PM

Everything worked fine until 11.2-RELEASE.

Code:
ix0: link state changed to UP
bridge0: Ethernet address: 02:0b:e8:c5:4c:00
epair0a: Ethernet address: 02:3b:d0:00:06:0a
epair0b: Ethernet address: 02:3b:d0:00:07:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: changing name to 'vnet0:1'
ix0: promiscuous mode enabled
bridge0: link state changed to UP
bridge0: invalid MTU: 1500(vnet0:1) != 9000
epair1a: Ethernet address: 02:3b:d0:00:08:0a
epair1b: Ethernet address: 02:3b:d0:00:09:0b
epair1a: link state changed to UP
epair1b: link state changed to UP
epair1a: changing name to 'vnet0:2'
epair1b: changing name to 'epair0b'
vnet0:2: promiscuous mode enabled
epair2a: Ethernet address: 02:3b:d0:00:09:0a
epair2b: Ethernet address: 02:3b:d0:00:0a:0b
epair2a: link state changed to UP
epair2b: link state changed to UP
epair2a: changing name to 'vnet0:3'
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
@00riddler Perhaps the key to success for jails is to upgrade from 11.1-U6 to 11.2-RELEASE. The odd epair0b that appears on your FreeNAS host has an address which matches the first epair in your dmesg. Is it possible the invalid MTU message which related to interface bridge0 means this epair0a/b is not correclty configured? Fix the bridge MTU if possibe and re-test.
 

dmshimself

Dabbler
Joined
Mar 20, 2017
Messages
41
@dmshimself I've not followed the "warden" to "iocage" saga that closely, nor the various iocage networking problems in the FN11.1 series, but your host ifconfig shows the same "epair0b" device and multiple vnet entries attached to a jail - in your case home assistant - which puzzles me. Please post iocage get all <jailname> for both your "home assistance" and "syncthing" jails.

Slight correction from me (sorry). the home assistant and syncthing jails were created after the upgrade from 11.1U6 to 11.2. mythtv* were the only jails I created with iocage in 11.1 There were no warden jails in 11.1U6. That said, here are the outputs:

home assistant
Code:
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:0
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:no
boot:on
bpf:yes
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:none
defaultrouter6:none
depends:none
devfs_ruleset:3
dhcp:on
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:home assistant
host_hostuuid:home assistant
host_time:yes
hostid:2431b600-1dd2-11b2-8000-9cb6540b1856
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:none
ip4_saddrsel:1
ip6:new
ip6_addr:vnet0|accept_rtadv
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/home assistant/data
jail_zfs_mountpoint:none
last_started:2018-12-21 23:54:38
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:0
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:99
pseudoterminals:off
quota:none
release:11.2-RELEASE
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:jail
used:readonly
vmemoryuse:off
vnet:on
vnet0_mac:02ff6097c6a5 02ff6097c6a6
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off


then syncthing
Code:
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:0
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:yes
boot:on
bpf:yes
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:none
defaultrouter6:none
depends:none
devfs_ruleset:4
dhcp:on
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:syncthing
host_hostuuid:syncthing
host_time:yes
hostid:2431b600-1dd2-11b2-8000-9cb6540b1856
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:none
ip4_saddrsel:1
ip6:new
ip6_addr:vnet0|accept_rtadv
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/syncthing/data
jail_zfs_mountpoint:none
last_started:2018-12-22 00:10:09
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:0
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:99
pseudoterminals:off
quota:none
release:11.2-RELEASE
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:pluginv2
used:readonly
vmemoryuse:off
vnet:on
vnet0_mac:02ff605b07f8 02ff605b07f9
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off


and mythtv

Code:
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:0
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:no
boot:on
bpf:no
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:none
defaultrouter6:none
depends:none
devfs_ruleset:4
dhcp:off
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:mythtv-backend
host_hostuuid:mythtv-backend
host_time:yes
hostid:2431b600-1dd2-11b2-8000-9cb6540b1856
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:bge0|10.13.200.0/16
ip4_saddrsel:1
ip6:new
ip6_addr:none
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/mythtv-backend/data
jail_zfs_mountpoint:none
last_started:2018-12-20 06:21:03
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:0
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:99
pseudoterminals:off
quota:none
release:11.2-RELEASE
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:jail
used:readonly
vmemoryuse:off
vnet:off
vnet0_mac:none
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
I'd post in the networking section, your network with jails doesn't look right to me. You need to now why you have a epair0b on your FreeNAS host, which is something I've never seen in my own testing.
 

dmshimself

Dabbler
Joined
Mar 20, 2017
Messages
41
Thanks Kris - I'll take that on board, but first I'm going to have a go at rebuilding the main jail in question (mythtv) on another box first as this issue seems more complex than I origonally thought.
 

Muddro

Explorer
Joined
Oct 6, 2014
Messages
59
Having a similar issue. I have jails, all created in GUI on 11.2. Only one starts on boot after i enter my deencryption passphrase.

Code:
root@freenas:~ # iocage list
+-----+--------------+-------+--------------+---------------+
| JID |     NAME     | STATE |   RELEASE    |      IP4      |
+=====+==============+=======+==============+===============+
| 1   | Filebot Test | up    | 11.2-RELEASE | 192.168.53.8  |
+-----+--------------+-------+--------------+---------------+
| 2   | Flexget      | up    | 11.2-RELEASE | DHCP          |
+-----+--------------+-------+--------------+---------------+
| 3   | Plex         | up    | 11.2-RELEASE | 192.168.53.6  |
+-----+--------------+-------+--------------+---------------+
| 4   | Tautulli     | up    | 11.2-RELEASE | 192.168.53.7  |
+-----+--------------+-------+--------------+---------------+
| 5   | Unifi        | up    | 11.2-RELEASE | 192.168.53.4  |
+-----+--------------+-------+--------------+---------------+
| -   | test         | down  | 11.2-RELEASE | 192.168.80.11 |
+-----+--------------+-------+--------------+---------------+


When running iocage get boot ... all the ones I want autostarting are on (except for test. That jail can be disregarded).

Code:
root@freenas:~ # ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=2098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
        ether 44:39:c4:53:e2:77
        hwaddr 44:39:c4:53:e2:77
        inet 192.168.53.3 netmask 0xffffff00 broadcast 192.168.53.255
        nd6 options=9<PERFORMNUD,IFDISABLED>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:56:86:19:4a:00
        nd6 options=1<PERFORMNUD>
        groups: bridge
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 9 priority 128 path cost 2000000
        member: vnet0:5 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 2000
        member: vnet0:4 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 7 priority 128 path cost 2000
        member: vnet0:3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000
        member: vnet0:2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 5 priority 128 path cost 2000
        member: vnet0:1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 3 priority 128 path cost 2000
        member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
vnet0:1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Filebot Test
        options=8<VLAN_MTU>
        ether 02:ff:60:6d:0b:bc
        hwaddr 02:02:d0:00:03:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Flexget
        options=8<VLAN_MTU>
        ether 02:ff:60:09:3b:41
        hwaddr 02:02:d0:00:05:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Plex
        options=8<VLAN_MTU>
        ether 02:ff:60:31:41:ea
        hwaddr 02:02:d0:00:06:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Tautulli
        options=8<VLAN_MTU>
        ether 02:ff:60:c8:bc:a3
        hwaddr 02:02:d0:00:07:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
vnet0:5: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Unifi
        options=8<VLAN_MTU>
        ether 02:ff:60:5a:44:c4
        hwaddr 02:02:d0:00:08:0a
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        groups: epair
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 00:bd:c4:48:fb:00
        hwaddr 00:bd:c4:48:fb:00
        nd6 options=1<PERFORMNUD>
        media: Ethernet autoselect
        status: active
        groups: tap
        Opened by PID 7726


A comparison of 1 jail which does autostart (Filebot Test) and another which doesn't (Plex):

Filebot Test:
Code:
root@freenas:~ # iocage get all "Filebot Test"
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:1
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:no
boot:on
bpf:yes
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:192.168.53.1
defaultrouter6:none
depends:none
devfs_ruleset:4
dhcp:off
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:Filebot Test
host_hostuuid:Filebot Test
host_time:yes
hostid:40019a21-1918-e411-a0a0-4439c453e277
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:vnet0|192.168.53.8/24
ip4_saddrsel:1
ip6:new
ip6_addr:none
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/Filebot Test/data
jail_zfs_mountpoint:none
last_started:2018-12-28 04:35:35
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:0
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:99
pseudoterminals:off
quota:none
release:11.2-RELEASE-p6
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:jail
used:readonly
vmemoryuse:off
vnet:on
vnet0_mac:02ff606d0bbc 02ff606d0bbd
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off


and Plex:
Code:
root@freenas:~ # iocage get all Plex
CONFIG_VERSION:14
allow_chflags:0
allow_mlock:0
allow_mount:0
allow_mount_devfs:0
allow_mount_nullfs:0
allow_mount_procfs:0
allow_mount_tmpfs:0
allow_mount_zfs:0
allow_quotas:0
allow_raw_sockets:1
allow_set_hostname:1
allow_socket_af:0
allow_sysvipc:0
allow_tun:0
available:readonly
basejail:no
boot:on
bpf:yes
children_max:0
cloned_release:11.2-RELEASE
comment:none
compression:lz4
compressratio:readonly
coredumpsize:off
count:1
cpuset:off
cputime:off
datasize:off
dedup:off
defaultrouter:192.168.53.1
defaultrouter6:none
depends:none
devfs_ruleset:4
dhcp:off
enforce_statfs:2
exec_clean:1
exec_fib:0
exec_jail_user:root
exec_poststart:/usr/bin/true
exec_poststop:/usr/bin/true
exec_prestart:/usr/bin/true
exec_prestop:/usr/bin/true
exec_start:/bin/sh /etc/rc
exec_stop:/bin/sh /etc/rc.shutdown
exec_system_jail_user:0
exec_system_user:root
exec_timeout:60
host_domainname:none
host_hostname:Plex
host_hostuuid:Plex
host_time:yes
hostid:40019a21-1918-e411-a0a0-4439c453e277
hostid_strict_check:off
interfaces:vnet0:bridge0
ip4:new
ip4_addr:vnet0|192.168.53.6/24
ip4_saddrsel:1
ip6:new
ip6_addr:none
ip6_saddrsel:1
jail_zfs:off
jail_zfs_dataset:iocage/jails/Plex/data
jail_zfs_mountpoint:none
last_started:2018-12-28 04:36:26
login_flags:-f root
mac_prefix:02ff60
maxproc:off
memorylocked:off
memoryuse:off
mount_devfs:1
mount_fdescfs:1
mount_linprocfs:0
mount_procfs:0
mountpoint:readonly
msgqqueued:off
msgqsize:off
nmsgq:off
notes:none
nsemop:off
nshm:off
nthr:off
openfiles:off
origin:readonly
owner:root
pcpu:off
priority:99
pseudoterminals:off
quota:none
release:11.2-RELEASE-p6
reservation:none
resolver:/etc/resolv.conf
rlimits:off
securelevel:2
shmsize:off
stacksize:off
state:up
stop_timeout:30
swapuse:off
sync_state:none
sync_target:none
sync_tgt_zpool:none
sysvmsg:new
sysvsem:new
sysvshm:new
template:no
type:jail
used:readonly
vmemoryuse:off
vnet:on
vnet0_mac:02ff603141ea 02ff603141eb
vnet1_mac:none
vnet2_mac:none
vnet3_mac:none
vnet_default_interface:none
vnet_interfaces:none
wallclock:off
 
Status
Not open for further replies.
Top