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

Bug#379212: marked as done (initramfs-tools: update-initramfs Fails to pass the options to /usr/sbin/mkinitramfs when -v is specified )



Your message dated Mon, 24 Jul 2006 06:47:18 -0700
with message-id <E1G50mE-0003Bb-SC@spohr.debian.org>
and subject line Bug#379212: fixed in initramfs-tools 0.71b
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.70b
Severity: normal
Tags: patch

When the -v option is passed to update-initramfs then it fails
with these error messages:

> Warp:/# update-initramfs -u -v -t -k 2.4.27-2-686
> update-initramfs: Generating /boot/initrd.img-2.4.27-2-686
> /usr/sbin/mkinitramfs: invalid option --
> /usr/sbin/mkinitramfs: invalid option -- -
> Terminating...
> mkinitramfs failed for /boot/initrd.img-2.4.27-2-686

Everything is ok when the -v option is not passed:

> Warp:/# update-initramfs -u -t -k 2.4.27-2-686
> update-initramfs: Generating /boot/initrd.img-2.4.27-2-686
> W: kernel 2.4.27-2-686 too old for initramfs on i386
> W: not generating requested initramfs for kernel 2.4.27-2-686

This happens because the options to mkinitramfs are passed as
one option because of the double quotes around the ${OPTS} at
line 71 of update-initramfs.


-- Package-specific info:
-- /proc/cmdline
root=/dev/hda3 ro 

-- /proc/filesystems
	cramfs
	ext3

-- lsmod
Module                  Size  Used by
binfmt_misc            11048  1 
ipv6                  221760  19 
nfsd                  196612  13 
exportfs                5504  1 nfsd
lockd                  53256  2 nfsd
nfs_acl                 3552  1 nfsd
sunrpc                137884  9 nfsd,lockd,nfs_acl
button                  6544  0 
ac                      4836  0 
battery                 9188  0 
dm_mod                 49976  0 
ide_generic             1376  0 [permanent]
snd_cmipci             31296  1 
gameport               14344  1 snd_cmipci
shpchp                 34272  0 
snd_pcm_oss            35936  0 
snd_mixer_oss          15872  1 snd_pcm_oss
snd_pcm                74500  2 snd_cmipci,snd_pcm_oss
snd_page_alloc          9512  1 snd_pcm
snd_opl3_lib            9824  1 snd_cmipci
snd_timer              20836  2 snd_pcm,snd_opl3_lib
snd_hwdep               8676  1 snd_opl3_lib
snd_mpu401_uart         7520  1 snd_cmipci
snd_rawmidi            22560  1 snd_mpu401_uart
snd_seq_device          7756  2 snd_opl3_lib,snd_rawmidi
snd                    48100  12 snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
via_agp                 9632  1 
agpgart                29864  1 via_agp
pci_hotplug            27196  1 shpchp
mousedev               10788  1 
tsdev                   7392  0 
parport_pc             32132  0 
parport                33160  1 parport_pc
evdev                   9088  2 
psmouse                34600  0 
i2c_viapro              8148  0 
floppy                 54276  0 
serio_raw               6596  0 
i2c_core               19520  1 i2c_viapro
pcspkr                  3040  0 
soundcore               9216  1 snd
8250_pnp                8704  0 
rtc                    12340  0 
ext3                  118152  2 
jbd                    50260  1 ext3
mbcache                 8324  1 ext3
ide_cd                 35680  0 
cdrom                  32448  1 ide_cd
ide_disk               15072  5 
generic                 4420  0 [permanent]
usbhid                 35520  0 
via82cxxx               8260  0 [permanent]
ide_core              110888  5 ide_generic,ide_cd,ide_disk,generic,via82cxxx
uhci_hcd               20392  0 
8139too                24800  0 
8139cp                 20576  0 
usbcore               111616  3 usbhid,uhci_hcd
mii                     5312  2 8139too,8139cp
thermal                12904  0 
processor              25512  1 thermal
fan                     4516  0 


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-2  Tiny utilities for small and embed
ii  cpio                          2.6-16     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.4.11-2   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information
--- update-initramfs.orig	2006-07-16 22:46:01.000000000 +0300
+++ update-initramfs	2006-07-22 12:09:32.000000000 +0300
@@ -68,7 +68,7 @@
 	if [ "${verbose}" = 1 ]; then
 		OPTS="-v $OPTS"
 	fi
-	if mkinitramfs "${OPTS}" "${initramfs}" "${version}"; then
+	if mkinitramfs ${OPTS} "${initramfs}" "${version}"; then
 		set_sha1
 	else
 		mkinitramfs_return="$?"

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.71b

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.71b.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.71b.dsc
initramfs-tools_0.71b.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.71b.tar.gz
initramfs-tools_0.71b_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.71b_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 379212@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (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: Mon, 24 Jul 2006 15:06:04 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.71b
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 379212
Changes: 
 initramfs-tools (0.71b) unstable; urgency=low
 .
   * This time caught on bzr dotfiles, removed.
     Thanks a lot to Frederik Schüler <fs@debian.org> for review.
 .
 initramfs-tools (0.71) unstable; urgency=low
 .
   * initramfs.conf.5, initramfs-tools.8, mkinitramfs.8, mkinitramfs-kpkg.8,
     update-initramfs.8: Fix spacing in the SEE ALSO section and have this
     section everywhere as last. Fix linebreak in mkinitramfs.8 options.
     Thanks Martin Michlmayr <tbm@cyrius.com> for the notice.
 .
   * scripts/functions: Use shell parameter expansion to strip known dir
     prefix instead of gratious basename call.
 .
   * scripts/functions: On panic call open the rescue shell with -i to get
     dash interactive features. ash from busybox ignores the param.
     Thanks David Härdeman <david@2gen.com> for the suggestion.
 .
   * conf/initramfs.conf: Readd BUSYBOX=y section. Beware that a lot of boot
     scripts need busybox and the current default image still does too.
 .
   * initramfs.conf: Document BUSYBOX usage.
 .
   * init: Add variable quoting around resume, NORESUME parsing and checks.
 .
   * hook-functions: Add myri10ge and smc911x to the net section. Add hptiop to
     the scsi section.
 .
   * update-initramfs: Fix -v usage by not passing quoted ${OPTS} as one
     option. Thanks Famelis George <famelis@otenet.gr> for the patch.
     (closes: 379212)
 .
   * mkinitramfs: Really source /usr/share/initramfs-tools/conf.d/ entries.
 .
   * mkinitramfs: Check against modules.dep before invoking depmod.
 .
   * hook-functions: check_minkver() only needs to call init_list(),
     when a dir gets passed. Clean up check_minkver() logic.
 .
   * scripts/function, mkinitramfs: Add output on verbose mode.
 .
   * merge 0.69ubuntu4.
 .
   * scripts/local-top/lvm: Prereqs s/md/mdadm/ for the new hooks.
Files: 
 e859446528b63163f3f9f1597182298e 625 utils optional initramfs-tools_0.71b.dsc
 abd3b00971b73829426f65ee1e63fc55 43966 utils optional initramfs-tools_0.71b.tar.gz
 382b44db83edb91055c8427af4dc6d06 50242 utils optional initramfs-tools_0.71b_all.deb

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

iD8DBQFExM4S6n7So0GVSSARAsPpAJ4yaWaIlCksE3iQ6HkNWLHlDMNrowCglAUU
sL+VSfazkSsxlWUoKBictis=
=FExy
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: