Closed ootada closed 1 year ago
This also breaks fully qualified hostnames via hostname -f
since this is usually determined by looking up the hostname, then looking up the IP returned from the first lookup.
That means e.g. netmaker keeps breaking our puppet node names because puppet uses the FQDN as the default node name. I am sure other software also breaks when the FQDN breaks (e.g. mail).
^this.is.quite a show stopper (breaks a few more site specific things for me).
Problem:
netclient SILENTLY LOSES additional information in
/etc/hosts
, eg: additional host names, comments and spacingExpected:
do not touch existing lines / no reconstruction. keep changes to your own section.
Impact:
potentially breaks other applications that rely on hosts file
Version
v0.17.1
Example:
becomes: