Ah, I see what the problem is! network-manager overwrites /etc/hosts
with a bogus version that:
* sticks the short hostname into 127.0.0.1, when it was already in 127.0.1.1
previously
* gratuitously adds localhost.localdomain
The result of this is indeed that 'hostname -f' stops returning the
FQDN.
I haven't been able to trigger this behaviour on demand, but looking
into network-manager it does still appear to be present. Alexander,
could you sync up the update_etc_hosts function in NetworkManager with
the behaviour described by Thomas Hood in the comment before this one,
implemented by netcfg, so that we can have a single standard policy for
/etc/hosts across the distribution?
** Changed in: network-manager (Ubuntu)
Sourcepackagename: netcfg => network-manager
Assignee: Colin Watson (kamion) => (unassigned)
** Tags added: qa-jaunty-desktop
** Tags removed: qa-jaunty-foundations
--
hostname -f does not return a proper FQDN
https://bugs.launchpad.net/bugs/8980
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs