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

Bug#429144: marked as done (mkinitrd creates unusable initrd)



Your message dated Tue, 03 Jul 2007 22:47:03 +0000
with message-id <E1I5r9D-0006Q4-5O@ries.debian.org>
and subject line Bug#429144: fixed in initramfs-tools 0.89
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.85e
Tag: patch

mkinitramfs creates a broken initrd, when accidentally the MODULES parameter is wrong in /etc/initramfs-tools/initramfs.conf.

This can create major problems, and it's not so easy to find the source of this problem

Compared to this, it's very easy to add the attached patch, which makes mkinitramfs check if the MODULES setting is useable and will not lead to an unusable initrd.

filet:~# diff /usr/sbin/mkinitramfs mkinitramfs
180,191c180,199
< if [ "${MODULES}" = "dep" ]; then
<       dep_add_modules
< fi
<
< if [ "${MODULES}" = "most" ]; then
<       auto_add_modules
< fi
<
< if [ "${MODULES}" = "netboot" ]; then
<       auto_add_modules base
<       auto_add_modules net
< fi
---
> case ${MODULES} in
>       dep)
>               dep_add_modules
>               ;;
>       most)
>               auto_add_modules
>               ;;
>       netboot)
>               auto_add_modules base
>               auto_add_modules net
>               ;;
>       list)
>               # do nothing
>               ;;
>       *)
>               echo "You chose an unsupported MODULES setting: ${MODULES}"
> echo "If you want to use only listed modules, chose 'list', or chose one of dep, most, netboot"
>               exit 1
>               ;;
> esac


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.89

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.89.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.89.dsc
initramfs-tools_0.89.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.89.tar.gz
initramfs-tools_0.89_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.89_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 429144@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 04 Jul 2007 00:28:34 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.89
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 374611 426395 427837 427838 429144
Changes: 
 initramfs-tools (0.89) unstable; urgency=low
 .
   Release "L'électeur c'est notoire N'a pas tout' sa raison"
 .
   [ Joey Hess ]
   * mkinitramfs: Include libgcc_s.so.1 on arm since glibc always tries to load
     it for the SJLJ exception handling on that architecture. (closes: #426395)
     Thanks to Aurelien Jarno for ack and review.
 .
   [ maximilian attems ]
   * initramfs.conf.5: Document ROOT hardcoding.
   * scripts/local: Use simpler fstype invocation.
   * initramfs-tools.8, initramfs.conf.5: Fix typos. (closes: #427837, #427838)
     Thanks "A. Costa" <agcosta@gis.net> for the patch.
   * scripts/local: Try to warn for renamed root dev. (closes: #374611)
   * minitramfs: Fall back to bootable default MODULES=most if unsupported
     MODULES setting is passed. Thanks Henning Sprang <henning_sprang@gmx.de>
     for report. (closes: #429144)
   * hook-functions: Fix variable typo. Thanks Emanuele Rocca <ema@debian.org>.
   * scripts/local: Revert change to use udev vol_id before fstype,
     there are too many "wrongly" formated fs out there. fstype supports less,
     but is more robust.
Files: 
 ab76678db60349a57097080c5ed85bca 656 utils optional initramfs-tools_0.89.dsc
 63b22065170eaddedb85427bdbb384bd 59800 utils optional initramfs-tools_0.89.tar.gz
 6445c324340becaa95fda7f4abf39909 66836 utils optional initramfs-tools_0.89_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGis8weW7Lc5tEHqgRAgQ8AKCoQU1srqdW0VVmMl/EO34waxFPTgCgmLBv
o64rp6SF09QDhSYvEG4PDwM=
=X/mw
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: