Bug 401781 - DHCP_HOSTNAME not honored
Summary: DHCP_HOSTNAME not honored
Keywords:
Status: CLOSED DUPLICATE of bug 385211
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-27 21:17 UTC by Trever Adams
Modified: 2007-12-05 00:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-03 16:35:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Trever Adams 2007-11-27 21:17:01 UTC
Description of problem:
It is very important that machines can give their name to the DHCP server and
still get the DNS information from the server. This worked until some time in
f8-devel cycle. It still doesn't work.

Now, you can get Network Manager to give its name to the DHCP server ONLY if you
tell it not to get DNS information. This is broken. I do not need fixed IP
addresses for machines, but I do rely on fixed DNS names.

Version-Release number of selected component (if applicable):
NetworkManager-0.7.0-0.5.svn3030.fc8


How reproducible:
Every time

Steps to Reproduce:
1. Give machine optional DNS name
2. Select obtain DNS information
3. Watch it not work.
4. Uncheck select DNS information, /etc/resolve.conf is not ubdated, but DNS
name is sent to DHCP server

Expected results:
This should have worked with obtain DNS information checked.

Additional info:
I am not sure if there used to be a check box for using the DNS name and one for
obtaining information. But it worked through test1 or test2 of f8 I think.

Comment 1 Dan Williams 2007-12-03 15:29:40 UTC
Are you editing this via system-config-network?

Also, does setting the hostname in /etc/dhclient.conf work for you?

Comment 2 Dan Williams 2007-12-03 16:35:30 UTC

*** This bug has been marked as a duplicate of 385211 ***

Comment 3 Trever Adams 2007-12-04 00:25:06 UTC
send host-name "aragorn";  # temporary RHL ifup addition

So, it appears to be in there. Yes, I am using system-config-network.

Comment 4 Trever Adams 2007-12-04 00:30:42 UTC
Sorry, I caught myself. I was using tab completion. Yes, as dhclient.conf it
works. As dhclient-ethx.conf it doesn't work.

Comment 5 Dan Williams 2007-12-04 14:45:05 UTC
yeah, dhclient-ethX.conf won't work because the default dhclient config file is
/etc/dhclient.conf, unless it's told otherwise.  If there's a need I could
change NetworkManager to attach the interface name to the config file if people
need to differentiate between interfaces.

Comment 6 Trever Adams 2007-12-05 00:26:41 UTC
No, I am not interested in that. The dhclient-ethx.conf was created by an old
version of NetworkManager. I do not care how, as long as it works properly.


Note You need to log in before you can comment on or make changes to this bug.