On Mon, Aug 03, 2015 at 12:52:11PM +0200, Thorsten Glaser wrote: > Hi, > > this patch is wrong!
I pretty much agree, yes. I pondered it for a bit while reading mailname(5) and hostname(1). I repushed it anyway since i see an improvments instead of just failing over. Thanks though for fiding a system with more than 1 hostname, looks like all the system i have access to have only one. Now i wonder on the better action (granted that we should stay with `hostname -f` output if that works), would it be better to 1) strip `hostname -A` output to only consider the first result (is it sorted or otherwise stable on a system?) 2) use a fixed string like "localhost". After all, that the /etc/mailname of a chroot... Another way would be just copy the /etc/mailname of the host, the very same way it's done for /etc/hosts, /etc/hostname and /etc/resolv.conf. I welcome suggestions, otherwise I think i'll go with the last one, since i see no drawback with it like i can do with the others. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: http://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: Digital signature