[Bug 934056] New: netcfg: do not use .site as default TLD
http://bugzilla.suse.com/show_bug.cgi?id=934056 Bug ID: 934056 Summary: netcfg: do not use .site as default TLD Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: tchvatal@suse.com Reporter: lnussel@suse.com QA Contact: jsrain@suse.com Blocks: 923990 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #923990 +++ going forward /etc/hostname should IMO not contain anything by default. Just mark it %ghost. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=934056
--- Comment #1 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=934056
--- Comment #2 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=934056
--- Comment #3 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=934056
Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c7
Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c8
--- Comment #8 from Tomáš Chvátal
The recent update broke my machine after updating Tumbleweed. Now it got an empty /etc/HOSTNAME and the old one was stored in /etc/HOSTNAME.rpmorig. And hostname command returns "localhost".
Meanwhile /etc/hostname (and /etc/hostname.rpmorig) contain the right string.
Can't reproduce on any of the testing Factory deploiments I have. Any insight on how the layout was done before you updated? Eg. HOSTNAME being proper symlink to hostname or something special, etc etc. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c9
--- Comment #9 from Takashi Iwai
(In reply to Takashi Iwai from comment #7)
The recent update broke my machine after updating Tumbleweed. Now it got an empty /etc/HOSTNAME and the old one was stored in /etc/HOSTNAME.rpmorig. And hostname command returns "localhost".
Meanwhile /etc/hostname (and /etc/hostname.rpmorig) contain the right string.
Can't reproduce on any of the testing Factory deploiments I have.
Any insight on how the layout was done before you updated? Eg. HOSTNAME being proper symlink to hostname or something special, etc etc.
No, /etc/HOSTNAME is a normal file. I can reproduce this by reinstalling netcfg. % cat /etc/HOSTNAME alsa1.suse.de % zypper in -f netcfg .... (1/1) Installing: netcfg-11.5-30.1 .......................................[done] Additional rpm output: warning: /etc/aliases created as /etc/aliases.rpmnew warning: /etc/defaultdomain created as /etc/defaultdomain.rpmnew warning: /etc/exports created as /etc/exports.rpmnew warning: /etc/hostname saved as /etc/hostname.rpmorig warning: /etc/hosts created as /etc/hosts.rpmnew warning: /etc/hosts.equiv created as /etc/hosts.equiv.rpmnew % cat /etc/HOSTNAME -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c10
--- Comment #10 from Tomáš Chvátal
(In reply to Tomáš Chvátal from comment #8)
(In reply to Takashi Iwai from comment #7)
The recent update broke my machine after updating Tumbleweed. Now it got an empty /etc/HOSTNAME and the old one was stored in /etc/HOSTNAME.rpmorig. And hostname command returns "localhost".
Meanwhile /etc/hostname (and /etc/hostname.rpmorig) contain the right string.
Can't reproduce on any of the testing Factory deploiments I have.
Any insight on how the layout was done before you updated? Eg. HOSTNAME being proper symlink to hostname or something special, etc etc.
No, /etc/HOSTNAME is a normal file. I can reproduce this by reinstalling netcfg.
% cat /etc/HOSTNAME alsa1.suse.de
% zypper in -f netcfg .... (1/1) Installing: netcfg-11.5-30.1 .......................................[done] Additional rpm output: warning: /etc/aliases created as /etc/aliases.rpmnew warning: /etc/defaultdomain created as /etc/defaultdomain.rpmnew warning: /etc/exports created as /etc/exports.rpmnew warning: /etc/hostname saved as /etc/hostname.rpmorig warning: /etc/hosts created as /etc/hosts.rpmnew warning: /etc/hosts.equiv created as /etc/hosts.equiv.rpmnew
% cat /etc/HOSTNAME
Okay, where came from the HOSTNAME as file, it is not supposed to be such since SLE12. Anyway will test it out here as it still should kinda converted it correctly and not bork like this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c11
--- Comment #11 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c12
--- Comment #12 from Takashi Iwai
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c13
--- Comment #13 from Takashi Iwai
Hmm, it's working for me, too.
Wait... Maybe there was no /etc/hostname beforehand or empty, only /etc/HOSTNAME existed and contained the string. Then after update, it's linked to the empty new /etc/hostname. This sounds feasible?
Now it's broken again, but in a different way from what I wrote. I have an empty /etc/hostname and HOSTNAME is symlinked: % ls -l /etc/hostname -rw-r--r-- 1 root root 0 Aug 21 09:02 /etc/hostname % ls -l /etc/HOSTNAME lrwxrwxrwx 1 root root 8 Aug 21 09:02 /etc/HOSTNAME -> hostname Then set a name string: % echo alsa1.suse.de > /etc/hostname % ls -l /etc/hostname -rw-r--r-- 1 root root 14 Aug 25 10:27 /etc/hostname And update: % zypper in -f netcfg .... (1/1) Installing: netcfg-11.5-30.1 .......................................[done] Additional rpm output: warning: /etc/aliases created as /etc/aliases.rpmnew warning: /etc/defaultdomain created as /etc/defaultdomain.rpmnew warning: /etc/exports created as /etc/exports.rpmnew warning: /etc/hostname saved as /etc/hostname.rpmorig warning: /etc/hosts created as /etc/hosts.rpmnew warning: /etc/hosts.equiv created as /etc/hosts.equiv.rpmnew It's gone again: % ls -l /etc/hostname -rw-r--r-- 1 root root 0 Aug 21 09:02 /etc/hostname % cat /etc/hostname -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=934056
http://bugzilla.suse.com/show_bug.cgi?id=934056#c14
--- Comment #14 from Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com