Tony Su changed bug 952517
What Removed Added
Flags needinfo?(tonysu@su-networking.com)  

Comment # 7 on bug 952517 from
On a fully updated 42.1,

On a default install (not joined to an LDAP Domain or similar)
- YAST by default sets up "Network Settings" with a generated hostname and
"suse" as the Domain Name
- But, the Hosts file does not contain any entries except for localhost
- Note that in Network Settings, "assign loopback to hosts file" is <unchecked>

So,
In a default 42.1 install,
"hostname" returns the generated hostname. Interesting since it's not in the
Hosts file.
"hostname -f" returns "Name or service not known"

After checking the "assign loopback to hosts file" in Network Settings, a new
loopback entry is created in the Hosts file with FQDN
and
"hostname -f" returns the FQDN as expected.

Summary:
So, although the hostname binary appears to be working, I wonder if the current
Network Settings default configuration will lead to User issues related to
whether an entry exists in the Hosts file or not. Is it a security issue to
make the described checkbox in YAST enabled by default? It seems to me that
since this is system information that is accessed only by a local logged in
User, it's not a security issue.


You are receiving this mail because: