Bug#644389: suspect non-working mdadm.conf created during install

martin f krafft madduck at debian.org
Thu Oct 6 12:04:38 UTC 2011


also sprach pille <pille+debian+bug-report at struction.de> [2011.10.05.2133 +0200]:
> i completely understand what happens as i'm able to boot the
> system by manually assembling the array and fixing the problem,
> but how the wrong hostname slips into the initramfs should be
> investigated by debians devs.

It's not the wrong hostname, it is what was current when the array
was created. At least we should make sure this is the case. Could
you investigate what the 'hostname' command outputs on the d-i
shell, just before creating an array in partman during the install?
Does it output "hetzner", or does it print the one that you set
previously during the same install?

Have a look at the mdadm manpage, "homehost" is the name of this
feature.

There are three ways forward, really:

  1. figure out a way by which the initramfs is updated when the
     hostname is changed;

  2. make sure the admin knows that changing the hostname requires
     telling mdadm;

  3. provide a debconf setting to disable the homehost feature
     (setting it to <ignore>).

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20111006/b1edf991/attachment.pgp>


More information about the pkg-mdadm-devel mailing list