[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322755: marked as done (initrd-tools: initrd image should not depend on physical devices' names alteration)



Your message dated Mon, 05 May 2008 10:23:24 +0200
with message-id <1209975804.740402.28701.nullmailer@xanadu.blop.info>
and subject line initrd-tools has been removed from Debian, closing #322755
has caused the Debian Bug report #322755,
regarding initrd-tools: initrd image should not depend on physical devices' names alteration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
322755: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=322755
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---

Package: initrd-tools
Version: 0.1.81.1
Severity: important

Greetings,

Currently if root filesystem is an MD device (raid1 in my case), mkinitrd creates initrd image which has hardcoded names of physical devices on which raid is built on.

To be more concrete, it creates a file in initrd cramfs called "/script" contains commands like:

-- /script --
ROOT=/dev/md0
mdadm -A /dev/md0 -R -u <MD device uuid> /dev/sdc1 /dev/sdd1
---- end ----

This works great until you add/remove any other SCSI or SATA disks, device names changed and once you reboot your machine you'll get degraded or even inaccessible array (system becomes unbootable).

Possible solution is to create script like /sbin/mdrun which will automatically detect partitions raid built on and use them instead of hardcoded "when mkinitrd runs" names.

Best regards,
Dmitry N. Hramtsov


-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-11-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  cpio                          2.5-1.2    GNU cpio -- a program to manage ar
ii  cramfsprogs                   1.1-6      Tools for CramFs (Compressed ROM F
ii  dash                          0.5.2-5    The Debian Almquist Shell
ii  util-linux                    2.12p-4    Miscellaneous system utilities

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.1.84.2+rm

The initrd-tools package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/393092 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.
-- 
Lucas


--- End Message ---

Reply to: