BTS

Message4836

Author sometimesfood
Recipients sometimesfood
Date 2014-08-27.12:39:10
Content
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
History
Date User Action Args
2014-08-27 12:39:10sometimesfoodsetrecipients: + sometimesfood
2014-08-27 12:39:10sometimesfoodsetmessageid: <1409143150.86.0.714272399163.issue1315@bts.grml.org>
2014-08-27 12:39:10sometimesfoodlinkissue1315 messages
2014-08-27 12:39:10sometimesfoodcreate