[Bug 1089334] New: dracut doesn't set the hostname over DHCP
http://bugzilla.suse.com/show_bug.cgi?id=1089334 Bug ID: 1089334 Summary: dracut doesn't set the hostname over DHCP Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: daniel.molkentin@suse.com Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de CC: mt@suse.com Found By: --- Blocker: --- Even if the DHCP server's response includes the host-name option, it's not read. The dracut module attempts to do so, but AFAICT the leaseinfo file doesn't include the hostname. https://github.com/openSUSE/dracut/blob/25c8b7f654a906d9829e273578b02d5e6a4c... The hostname is applied correctly after wicked got started in the final sysroot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1089334 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1089315 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1089334 http://bugzilla.suse.com/show_bug.cgi?id=1089334#c1 Daniel Molkentin <daniel.molkentin@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|daniel.molkentin@suse.com |wicked-maintainers@suse.de --- Comment #1 from Daniel Molkentin <daniel.molkentin@suse.com> --- This is a missing feature in wicked. Assigning to wicked maintainers. Please re-assign to dracut once wicket writes out the hostname. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1089334 https://bugzilla.suse.com/show_bug.cgi?id=1089334#c2 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.molkentin@suse.com Flags| |needinfo?(daniel.molkentin@ | |suse.com) --- Comment #2 from Marius Tomaschewski <mt@suse.com> --- (In reply to Daniel Molkentin from comment #1)
This is a missing feature in wicked. Assigning to wicked maintainers. Please re-assign to dracut once wicket writes out the hostname.
?? Wicked writes out the hostname _when_ the DHCP server provides one. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1089334 https://bugzilla.suse.com/show_bug.cgi?id=1089334#c3 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com Flags| |needinfo?(fvogt@suse.com) --- Comment #3 from Marius Tomaschewski <mt@suse.com> --- Fabian, please let a `tcpdump -w dhcp4.pcap -s 65535 -Uvnfi eth0 'port 67 or port 68'` running and execute `wicked test dhcp4 eth0` then and attach the output of the wicked command and the dhcp4.pcap file. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1089334 https://bugzilla.suse.com/show_bug.cgi?id=1089334#c4 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME Flags|needinfo?(daniel.molkentin@ | |suse.com), | |needinfo?(fvogt@suse.com) | --- Comment #4 from Fabian Vogt <fvogt@suse.com> --- I tried again in the (presumably) same setup from when I originally reported this and it seems like this was fixed meanwhile. The output from wicked test shows the proper HOSTNAME and it's also set properly in the initrd. What's worth mentioning though is that in the initrd it doesn't appear to "try as hard" and so there's no reverse dns lookup for the assigned IP address as a fallback. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com