Hi Karl, [...]
Now the question: - why did the installer add this there if it causes trouble - did the installer make a mistake?
=>> should I file a bugreport? this is not an installer bug, though it may seem so. Read the man page for /etc/hostname carefully: The /etc/hostname file configures the *name* of the local system that is set during boot using the sethostname(2) system call. It should contain a single newline-terminated hostname string. Comments (lines starting with a `#') are ignored. The hostname may be a free-form string up to 64 characters in length; however, *it is recommended that it consists only* *of 7-bit ASCII lower-case characters and no spaces or dots*, and limits itself to the format allowed *for DNS domain name labels*, even though this is not a strict requirement. It cost me 2 weeks to find out, that during boot process the combination of kernel, systemd and NetworkManager behaviour led to two changes for the hostname - the first one was set by the kernel without the domain part during pre boot, the second one was set by NetworkManager, who got it from systemd-hostnamed, who in turn read it from /etc/hostname. If the logon manager (sddm, ...) was up before the second change took place, it created a cookie, that gets written into .Xauthority after logon. When the hostname changes for the second time after logon, the cookie isn't valid any longer, because it contains the name without the domain part, but now the machine's name contains the domain part. So if it is a bug, it is a bug regarding the cooperation of NetworkManager and systemd. [...]
your proposition to add "127.0.1.1 <fqdn> <name>" should that look like: 127.0.0.1 dharma.fritz.box
*Not* 127.0.0.1, but 127.0.1.1, but otherwise *this version* is correct. Read man page for /etc/hosts. [...]
thx, Karl
Bye, Michael. -- Michael Hirmke -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org