When using grml-debootstrap to deploy wheezy on a grml 2014.03 system, the mail name in
/etc/mailname is always set to "grml.mycurrentdomain.tld", no matter what hostname is
supplied to grml-debootstrap via the "--host" command line option.
Steps to reproduce on a grml 2014.03 system:
root@grml ~ # echo ';' | sfdisk /dev/vda
root@grml ~ # grml-debootstrap --arch amd64 --filesystem ext4 \
--grub /dev/sda --hostname foobar --release wheezy \
--password secret --target /dev/sda1
# [...]
root@grml ~ # hostname
grml
root@grml ~ # mount /dev/vda1 /mnt
root@grml ~ # cat /mnt/etc/mailname
grml.mycurrentdomain.tld
What I would expect to see:
root@grml ~ # cat /mnt/etc/mailname
foobar.mycurrentdomain.tld |