Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33815 - [netcfg] ethernet-dhcp incorrectly sets the hostname
Attached to Project:
Arch Linux
Opened by Marek Kozlowski (guayasil) - Monday, 11 February 2013, 16:55 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:04 GMT
Opened by Marek Kozlowski (guayasil) - Monday, 11 February 2013, 16:55 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:04 GMT
|
DetailsI'm using `netcfg' with `ethernet-dhcp'. My `/etc/dhcpcd.conf' contains the line
option domain_name_servers, domain_name, domain_search, host_name Unfortunately in most cases (randomly?) my host introduces itself as `localhost'. If I run: # dhcpcd -k eth0 # dhcpcd eth0 it gets quite confusing: $ hostname correct.one.obtained.from.dhcp $ hostnamectl Static hostname: n/a Transient hostname: localhost Pretty hostname: n/a Icon name: computer-desktop Chassis: desktop Machine ID: fcad978cb45784804c79ace4000004dc Boot ID: a282df65df6c4ed0910536ab38087300 Operating System: Arch Linux Kernel: Linux 3.7.5-1-ARCH Architecture: x86_64 and for some ttys it is `localhost' while for others: `correct.one.obtained.from.dhcp'. Contrary to `netcfg' the `dhcpcd.service' works well: # hostname correct.one.obtained.from.dhcp # hostnamectl Static hostname: n/a Transient hostname: correct.one.obtained.from.dhcp Pretty hostname: n/a Icon name: computer-desktop Chassis: desktop Machine ID: fcad978cb45784804c79ace4000004dc Boot ID: 00c0217d2aff4259bbd71a718031796c Operating System: Arch Linux Kernel: Linux 3.7.6-1-ARCH Architecture: x86_64 |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 30 April 2013, 01:04 GMT
Reason for closing: Won't fix
Additional comments about closing: netcfg has been moved to AUR
Tuesday, 30 April 2013, 01:04 GMT
Reason for closing: Won't fix
Additional comments about closing: netcfg has been moved to AUR