Mailinglist Archive: opensuse-features (253 mails)

< Previous Next >
[openFATE 308824] Drop appending line to /etc/hosts (incl. related configuration options)
  • From: fate_noreply@xxxxxxx
  • Date: Wed, 8 Sep 2010 11:34:51 +0200 (CEST)
  • Message-id: <feature-308824-11@xxxxxxxxxxxxxx>
Feature changed by: Katarina Machalkova (kmachalkova)
Feature #308824, revision 11
Title: Drop appending line to /etc/hosts (incl. related
configuration options)

openSUSE-11.3: Rejected by (mge1512)
reject date: 2010-09-07 17:04:55
reject reason: 11.3 is done.
Requester: Important

openSUSE-11.4: Evaluation
Requester: Neutral

Requested by: Katarina Machalkova (kmachalkova)
Requested by: Ludwig Nussel (lnussel)

For years, SUSE-based products have been appending ' host.
domain host' to /etc/hosts as a convenience for applications which want
to resolve the hostname and which thus become irresponsive without
active network [1]
Localhost IP associated with FQDN however causes various network
services (samba, SLP, LDAP, ntp, ... ) to behave oddly [2]. An option
in product-wide control files has been introduced so as not to append on server-oriented products (SLES) - FaTE#303875, while
keeping user the possibility to override the default in GUI and
AutoYaST profile. Nevertheless, even reasonably set default doesn't
prevent misconfigurations and user complaints [3]
The suggestion is therefore to drop modification of
/etc/hosts altogether and drop GUI/control options associated with
configuration thereof. These include:
* GUI option in YaST installer
* XML profile elements in AutoYaST
* Variable in product-wide control file (control.xml)
* Possibly also sysconfig variable
Appending line has always been sort of workaround for flawed
(mostly) desktop applications and DNS servers, so rather than providing
workaround with plethora of side effects, it'd more reasonable to have
affected apps fixed. Bugs have been filed against some of them and
fixed already.

[1] Apps become slow when offline bugs
[2] Network services going insane with localhost IP associated with
[3] Even reasonably set default doesn't help
+ [4] Related discussion on topic on research@xxxxxxx
+ /msg00044.html

#1: H. Hansen (cyberbeat) (2010-03-07 23:27:08)
I also often had trouble with java rmi because of this.

openSUSE Feature:

< Previous Next >
This Thread