Project

General

Profile

Bug #79959

Can't change hostname after jail was created.

Added by Joel Linn over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Plugins
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Create a jail and then edit it to change the hostname. Get a shell in the jail and execute "hostname". The output will be what was initially set (or default).
If you set the hostname in advanced jail creation it is set correctly but also can't be changed afterwards.
I remember this used to work at some point.

iocagenorename.png (62.5 KB) iocagenorename.png Anonymous, 03/11/2019 01:07 PM
60429

History

#1 Updated by Dru Lavigne over 2 years ago

  • Assignee changed from Release Council to Anonymous
  • Target version changed from Backlog to 11.2-U4

#3 Updated by Anonymous over 2 years ago

60429

I think I see what is happening here, the UI allows you to change the name of the jail and it does get changed on the iocage side but the jail's hostname does not get changed.

#4 Updated by Joel Linn over 2 years ago

Mh that seems to be another bug as I was not changing the jail name but the hostname independently.
Additionally I discovered that although the setting "allow changing hostname from jail" is enabled "hostname testtest" is not persistent across jail restarts.

#5 Updated by Jaron Parsons over 2 years ago

  • Status changed from Unscreened to Closed

Also available in: Atom PDF