[issue1315] grml-debootstrap does not use the supplied hostname for /etc/mailname

Sebastian Boehm bts at bts.grml.org
Wed Aug 27 14:39:10 CEST 2014


New submission from Sebastian Boehm <sebastian at sometimesfood.org>:

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 at grml ~ # echo ';' | sfdisk /dev/vda
root at grml ~ # grml-debootstrap --arch amd64 --filesystem ext4 \
    --grub /dev/sda --hostname foobar --release wheezy \
    --password secret --target /dev/sda1
# [...]
root at grml ~ # hostname
grml
root at grml ~ # mount /dev/vda1 /mnt
root at grml ~ # cat /mnt/etc/mailname
grml.mycurrentdomain.tld

What I would expect to see:

root at grml ~ # cat /mnt/etc/mailname
foobar.mycurrentdomain.tld

----------
messages: 4836
nosy: sometimesfood
priority: bug
status: unread
title: grml-debootstrap does not use the supplied hostname for /etc/mailname
topic: grml-debootstrap

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1315>
_____________________________________


More information about the Bugs-changes mailing list