Hallo,
laut Debian-Dokumentation:
https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
"The IP address 127.0.1.1 in the second line of this example may not be found on some other Unix-like systems. The Debian Installer creates this entry for a system without a permanent IP address as a workaround for some software (e.g., GNOME) as documented in the bug #719621."
Das verstehe ich so, dass ein Auskommentieren von 127.0.1.1 solange nicht schädlich ist, solange das System über eine permanente IP-Adresse verfügt, für Rechner ganz ohne Netzwerkanschluss, wäre diese Adresse dann dagegen erforderlich.
In Samba-Wiki heißt es z.B. ausdrücklich:
"The host name and FQDN must not resolve to the 127.0.0.1 IP address or any other IP address than the one used on the LAN interface of the DC."
Und es funktioniert auf debian als auch auf ubuntu bei mir problemlos, die Zeile 127.0.1.1 auszukommentieren.
Soweit mein Kenntnisstand und meine Erfahrung. Ich erhebe kein Anspruch darauf, absolut Recht zu haben!
LG,
Newubunti