On 2014-09-03 02:04:58 +0200, Vincent Lefevre wrote: > On 2014-09-02 15:29:28 -0400, Tom H wrote: > > Put the FQDN into "/etc/hostname" > > No, that's not the usual way of configuring the machine. Some software > may break. FYI, the hostname(1) man page says: > > /etc/hostname Historically this file was supposed to only contain the > hostname and not the full canonical FQDN. Nowadays most software is > able to cope with a full FQDN here. This file is read at boot time by > the system initialization scripts to set the hostname.
Moreover, I've just tried with exim, and this doesn't work: ypig:~> cat /etc/hostname ypig.lip.ens-lyon.fr ypig:~> exim4 -bP | grep '^primary' primary_hostname = ypig instead of the FQDN. This confirms that hacks are bad ideas. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org