Bug#766182: systemd: incorrect dmesg message about missing nss-myhostname
Vincent Lefevre
vincent at vinc17.net
Tue Oct 21 12:55:03 BST 2014
Package: systemd
Version: 215-5+b1
Severity: minor
dmesg output gives:
systemd-hostnamed[3013]: Warning: nss-myhostname is not installed.
Changing the local hostname might make it unresolveable. Please
install nss-myhostname!
This is incorrect: nss-myhostname is not needed when there is a
/etc/hosts file. If installed, it makes some software, such as exim4,
fails to work correctly because of a clash between nss-myhostname
and usual /etc/hosts configuration (FQDN set up for IPv4 only).
See bug 756224, and in particular
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756224#114
for the explanation (in short, nss-myhostname adds IPv6 resolution,
but doesn't return the FQDN, while IPv4 resolution returns the FQDN
via /etc/hosts as expected).
This message should not be displayed when a /etc/hosts file is
present.
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-53.4
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1
ii libblkid1 2.25.1-5
ii libc6 2.19-11
ii libcap2 1:2.24-6
ii libcap2-bin 1:2.24-6
ii libcryptsetup4 2:1.6.6-2
ii libgcrypt20 1.6.2-4
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-5+b1
ii sysv-rc 2.88dsf-53.4
ii udev 215-5+b1
ii util-linux 2.25.1-5
Versions of packages systemd recommends:
ii dbus 1.8.8-2
ii libpam-systemd 215-5+b1
Versions of packages systemd suggests:
pn systemd-ui <none>
-- Configuration Files:
/etc/pam.d/systemd-user [Errno 2] No such file or directory: u'/etc/pam.d/systemd-user'
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list