Red Hat Bugzilla – Bug 443414
Network device menu + Set the hostname:
Last modified: 2008-04-25 19:58:49 EDT
Description of problem:
Network devices menu.
Set the hostname:
O automaticly via DHCP
O manually [ localhost.localdomain ]
If you choose to enable the option "automatically via DHCP"
and then chose to [ Edit ] for a specific network device
then press [ OK ] it sets it self back to "manually [ localhost.localdomain ]"
It also sets it self back to "manually [ localhost.localdomain ]" if you have
chosen to enable the option automatically via DHCP
and press [ Next ] and are now in the select timezone menu and press [ Back ].
Version-Release number of selected component (if applicable):
( anaconda-126.96.36.199-1.i386 )
Steps to Reproduce:
1. The above.
This is deliberate. We force users to set a hostname manually, even if you are using DHCP. You can
change it back to use DHCP for the hostname, but the default now is manual. See bug #408921 for
It doesn't really matter what the hostname is, but we have seen systems (laptops in particular) set up to
use DHCP for the hostname and that causes a lot of X applications to fail. This change in anaconda came
as a request from the desktop team.
Would it not be better then to remove the option to set the
hostname automatically via dhcp altogether ?
No, see bug #408921.
Had already read it.
Failed to see the connection between it and this bug.
I think you misunderstanding the bug report I filed.
My bug report is about after a user has chosen to use
Automatically via DHCP instead of Manually [ localhost.localdomain ],
Anaconda sets the option back to Manually if the user goes back and
forth in anaconda.
I am not filing a bug against which one should be the default..
If it was the other way around I would still be filing this bug...
I am filing a bug against anaconda always resetting it to default after
a user has chosen not to use the default if he goes back and fourth in anaconda
or in edit tab for the network interface.
Anaconda should be honoring the users chose..
So reopen this bug.
You are absolutely correct, I did read your initial report incorrectly. My apologies.
OK, I fixed this up in version control, so we should have this working in the next anaconda build. The
change ID in git is 3c4deee414ad8c37cfdc55ce2de7d4fbd49af017. Basically, it was entirely a UI bug.
Underneath, anaconda was doing what you told it. But yes, going Back to the network configuration
screen was resetting the 'Set the hostname' option to manual.
I've fixed it now so the default is manual, but once you change it, we preserve that. So going Back to the
network configuration will show the setting you gave it for 'set the hostname'.