[Bug 659201] New: /etc/init.d/boot.localnet removes domain name when setting the hostname
https://bugzilla.novell.com/show_bug.cgi?id=659201 https://bugzilla.novell.com/show_bug.cgi?id=659201#c0 Summary: /etc/init.d/boot.localnet removes domain name when setting the hostname Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: darin@darins.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12 When /etc/init.d/boot.localnet runs it's default action is to strip away the domain name, the code that performs the action is below. It would be advantagous to not have the domain name stripped off when setting the hostname. Can this be made a configurable item? test -n "$XHOSTNAME" && { echo -n Setting up hostname \'${XHOSTNAME%%.*}\' hostname ${XHOSTNAME%%.*} rc_status -v -r } Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659201
https://bugzilla.novell.com/show_bug.cgi?id=659201#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=659201
https://bugzilla.novell.com/show_bug.cgi?id=659201#c1
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=659201
https://bugzilla.novell.com/show_bug.cgi?id=659201#c2
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=659201
https://bugzilla.novell.com/show_bug.cgi?id=659201#c3
Ruediger Oertel
participants (1)
-
bugzilla_noreply@novell.com