Jail hostname wont stay changed. Iocage start jail hangs until aborted, then jail starts up anyway?

potatosword

Dabbler
Joined
Dec 30, 2018
Messages
44
I have a jail that I'm working on recreating after I foolishly deleted it. So I had initially created it with the name "Test" while I played around with getting things set up the way I wanted again.

Now we're pretty close to the finish line on getting it all set up but I can't get it to change its name from "Test". That is to say, the uuid changes properly in the jail interface and the commands for iocage have adapted to the new name. However, once logged into a console session I get root@Test. I have attempted to use hostname() to change the name and that works... until the next time the jail restarts and then it reverts back.

As of right now. I can't start the jail from the gui, I must use command line and I must abort once it starts hanging. Then, if I check, the jail has somehow started successfully anyway.

The only other thing I can think of is that earlier I discovered that /dev/null was missing or otherwise unable to have output sent to it. So I tried recreating it... did I fark that up?
 

potatosword

Dabbler
Joined
Dec 30, 2018
Messages
44
Now it appears my jail is causing some kind of network storm any time I try to start it and FreeNAS freezes up.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Delete it and start over.
 

potatosword

Dabbler
Joined
Dec 30, 2018
Messages
44
I was running that jail on a dedicated nic before. Could that be causing problems now/missing some configuration step? It's getting stuck on vnet.
 
Last edited:
Top