Arch Linux

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!
Tasklist

FS#26897 - [dhcpcd] 5.2.12-4 using DNS name for hostname

Attached to Project: Arch Linux
Opened by Travis (tesjo) - Tuesday, 15 November 2011, 01:41 GMT
Last edited by Allan McRae (Allan) - Saturday, 16 June 2012, 08:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

dhcpcd 5.2.12-4 is setting hostname to the DNS name instead of the name defined in /etc/rc.conf and /etc/hosts.

Last confirmed working version was 5.2.12-1. However the correct hostname is set by removing the following if statement from 30-hostname (reverting it to the older version).

< if [ -w /proc/sys/kernel/hostname ]; then
< echo "$1" > /proc/sys/kernel/hostname
< else
< hostname "$1"
< fi
---
> hostname "$1"
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 16 June 2012, 08:24 GMT
Reason for closing:  No response
Comment by Dmitry Korzhevin (dkorzhevin) - Tuesday, 29 May 2012, 10:41 GMT
Are you still have this error with latest stable release 5.5.6?

Loading...