Wrong jail rc.conf block the entire FreeNAS to boot

Status
Not open for further replies.

Nico68

Cadet
Joined
Nov 22, 2017
Messages
4
Hello Guys

I wrote a bad command line into the rc.conf from one of my jail, now the FreeNAS cannot boot because I get Page Fault 12 when reading this rc.conf

Do you have an idea how I could disable the jail from booting?

Or how to edit the rc.conf to correct it?

Thank you

Nico
 
D

dlavigne

Guest
How far into the boot do you get? A screenshot might be helpful.
 

Nico68

Cadet
Joined
Nov 22, 2017
Messages
4
How far into the boot do you get? A screenshot might be helpful.

Hello DL

I created another boot device, imported the ZFS volume to edit the bad file. It was a rule I added to one of my Jail's firewall.

It seems renaming the "tun" interface on cold start crash the entire FreeNAS (it works if you restart just the jail)

Code:
TUN=$(/sbin/ifconfig -l | tr " " "\n" | /usr/bin/grep tun)
ifconfig ${TUN} name tun0


I added this to rename the tun interface to tun0 because at every jail restart the tun name change to tun0...1...2...3...

Now I need to restart the entire FreeNAS to be sure I have tun0 as name

Thanks

Nico
 
Last edited by a moderator:
Status
Not open for further replies.
Top