also sprach Marco d'Itri <m...@linux.it> [2010.01.30.0839 +1300]:
> > > What happens if the hostname is changed but the initramfs is not
> > > rebuilt?
> > How likely is that to happen? How likely is it to happen that the
> > hostname is changed, an array built (thus carrying the new
> > hostname), and the initramfs not rebuilt?
> It looks likely to me when building a new system.

Right, but if you muck around with the system at this level,
I assume you can recover the system if it fails to bring up the RAID
by itself using the initramfs console.

Anyway, I don't really see a way to guard against the problems, nor
a way to solve it otherwise, short of running update-initramfs from
the hostname binary or grub trying to read /etc/hostname and passing
it via kernel command line. I guess I could try this, but it sounds
fragile and hard.

-- 
 .''`.   martin f. krafft <madd...@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
 
"i wish i hadn't slept all day, it's really lowered my productivity"
                                                   -- robert mcqueen

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to