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

Bug#674484: marked as done (initramfs-tools: panic() does not cope well with set -e)



Your message dated Wed, 06 Jun 2012 13:17:23 +0000
with message-id <E1ScG71-0004k9-IN@franck.debian.org>
and subject line Bug#674484: fixed in initramfs-tools 0.104
has caused the Debian Bug report #674484,
regarding initramfs-tools: panic() does not cope well with set -e
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.)


-- 
674484: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674484
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.102
Severity: normal

panic() [and thus maybe_break()] attempts to load modules which may not
be present in the initramfs (such as i8042, which is compiled built-in).
This causes any script with set -e to abort.

For example, booting with break=pre-mdadm will not break before mdadm,
but skip it altogether and leave the system trying to boot without a
root.

Appending "|| true" to all modprobe lines in panic() should do the
trick.


-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-2-amd64 root=/dev/mapper/root ro break=pre-mdadm

-- resume
RESUME=/dev/mapper/vg9-swap2
-- /proc/filesystems
	ext3
	fuseblk

-- lsmod
Module                  Size  Used by
pci_stub               12429  1 
vboxpci                19066  0 
vboxnetadp             13155  0 
vboxnetflt             23571  0 
vboxdrv               190057  3 vboxnetflt,vboxnetadp,vboxpci
sch_ingress            12744  1 
ipt_REJECT             12502  2 
xt_multiport           12548  2 
iptable_filter         12536  1 
ip_tables              22042  1 iptable_filter
x_tables               19073  4 ip_tables,iptable_filter,xt_multiport,ipt_REJECT
fuse                   61981  1 
pppoe                  17508  2 
pppox                  12594  1 pppoe
ppp_generic            26673  6 pppox,pppoe
slhc                   12674  1 ppp_generic
it87                   30712  0 
hwmon_vid              12430  1 it87
sg                     25874  0 
loop                   22641  0 
snd_hda_codec_hdmi     30783  1 
parport_serial         16737  0 
tuner_simple           17175  1 
tuner_types            16409  1 tuner_simple
tuner                  17497  1 
tvaudio                26661  0 
tda7432                12664  0 
msp3400                30314  0 
ir_lirc_codec          12719  0 
lirc_dev               17031  1 ir_lirc_codec
ir_mce_kbd_decoder     12615  0 
snd_hda_codec_realtek   188748  1 
ir_sony_decoder        12435  0 
ir_jvc_decoder         12433  0 
gspca_stv06xx          23708  0 
snd_usb_audio          84836  2 
ir_rc6_decoder         12433  0 
bttv                  102278  0 
ir_rc5_decoder         12433  0 
gspca_main             22764  1 gspca_stv06xx
snd_usbmidi_lib        23420  1 snd_usb_audio
btcx_risc              12555  1 bttv
tveeprom               20593  1 bttv
videobuf_dma_sg        13231  1 bttv
videobuf_core          17825  2 videobuf_dma_sg,bttv
v4l2_common            13222  5 bttv,msp3400,tda7432,tvaudio,tuner
ir_nec_decoder         12433  0 
videodev               70889  7 v4l2_common,gspca_main,bttv,msp3400,tda7432,tvaudio,tuner
v4l2_compat_ioctl32    16655  1 videodev
media                  18148  1 videodev
snd_hda_intel          26345  2 
rc_core                18286  8 ir_rc5_decoder,ir_nec_decoder,bttv,ir_rc6_decoder,ir_jvc_decoder,ir_sony_decoder,ir_mce_kbd_decoder,ir_lirc_codec
snd_seq_midi           12848  0 
snd_hda_codec          78031  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_seq_midi_event     13316  1 snd_seq_midi
snd_bt87x              13440  1 
snd_rawmidi            23060  2 snd_seq_midi,snd_usbmidi_lib
snd_hwdep              13186  2 snd_hda_codec,snd_usb_audio
evdev                  17562  7 
snd_pcm_oss            36985  0 
psmouse                64455  0 
radeon                643284  2 
snd_mixer_oss          17916  1 snd_pcm_oss
sp5100_tco             12900  0 
snd_seq                45093  2 snd_seq_midi_event,snd_seq_midi
pcspkr                 12579  0 
edac_mce_amd           17103  0 
serio_raw              12931  0 
k10temp                12611  0 
ttm                    48725  1 radeon
snd_pcm                63900  6 snd_pcm_oss,snd_bt87x,snd_hda_codec,snd_hda_intel,snd_usb_audio,snd_hda_codec_hdmi
edac_core              35258  0 
i2c_piix4              12536  0 
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
drm_kms_helper         27227  1 radeon
drm                   167670  4 drm_kms_helper,ttm,radeon
power_supply           13475  1 radeon
snd_page_alloc         13003  3 snd_pcm,snd_bt87x,snd_hda_intel
i2c_algo_bit           12841  2 radeon,bttv
snd_timer              22917  2 snd_pcm,snd_seq
i2c_core               19780  14 i2c_algo_bit,drm,drm_kms_helper,i2c_piix4,radeon,videodev,v4l2_common,tveeprom,bttv,msp3400,tda7432,tvaudio,tuner,tuner_simple
snd                    52850  25 snd_timer,snd_seq_device,snd_pcm,snd_seq,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_rawmidi,snd_bt87x,snd_hda_codec,snd_hda_intel,snd_usbmidi_lib,snd_usb_audio,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore              13065  1 snd
parport_pc             22364  1 parport_serial
parport                31858  1 parport_pc
shpchp                 31293  0 
wmi                    13243  0 
processor              28106  0 
button                 12937  0 
thermal_sys            18040  1 processor
ext3                  161867  6 
mbcache                13065  1 ext3
jbd                    56902  1 ext3
sha256_generic         16797  10 
cryptd                 14517  0 
aes_x86_64             16796  80 
aes_generic            33026  1 aes_x86_64
cbc                    12754  40 
dm_crypt               22586  5 
dm_mod                 63545  32 dm_crypt
raid1                  30714  4 
md_mod                 87742  5 raid1
uhci_hcd               26865  0 
usbhid                 36379  1 
ata_generic            12479  0 
hid                    81288  1 usbhid
sd_mod                 36136  12 
crc_t10dif             12348  1 sd_mod
sr_mod                 21899  0 
usb_storage            43870  0 
cdrom                  35401  1 sr_mod
uas                    13296  0 
ohci_hcd               22467  0 
firewire_ohci          35772  0 
firewire_core          48407  1 firewire_ohci
crc_itu_t              12347  1 firewire_core
aic7xxx               108294  0 
pata_jmicron           12472  0 
scsi_transport_spi     23870  1 aic7xxx
xhci_hcd               73162  0 
ahci                   24997  9 
libahci                22860  1 ahci
ehci_hcd               40215  0 
libata                140589  4 libahci,ahci,pata_jmicron,ata_generic
r8169                  46980  0 
mii                    12675  1 r8169
usbcore               128498  13 ehci_hcd,xhci_hcd,ohci_hcd,uas,usb_storage,usbhid,uhci_hcd,snd_usbmidi_lib,gspca_main,snd_usb_audio,gspca_stv06xx
scsi_mod              162458  8 libata,scsi_transport_spi,aic7xxx,uas,usb_storage,sr_mod,sd_mod,sg
usb_common             12354  1 usbcore

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
force_build_link = yes
silent_modules = yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
root		/dev/mapper/vg0-root.new	none	luks

-- /proc/mdstat
Personalities : [raid1] 
md125 : active raid1 sdb4[0]
      840005560 blocks super 1.2 [1/1] [U]
      
md126 : active raid1 sdb3[0] sdc3[2]
      566515000 blocks super 1.2 [2/2] [UU]
      
md127 : active raid1 sda2[3] sdc2[4](W) sdb2[1](W)
      50330624 blocks super 1.2 [3/3] [UUU]
      
md0 : active raid1 sdc1[0](W) sdb1[2](W) sda1[1]
      128448 blocks [3/3] [UUU]
      
unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
dmsetup
fuse
keymap
klibc
kmod
lvm2
mdadm
thermal
udev


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio               2.11-7
ii  klibc-utils        2.0~rc5-1
ii  module-init-tools  8-2
ii  udev               175-3.1

Versions of packages initramfs-tools recommends:
ii  busybox  1:1.19.3-7

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:1.99-3

-- no debconf information



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

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.104.dsc
  to main/i/initramfs-tools/initramfs-tools_0.104.dsc
initramfs-tools_0.104.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.104.tar.gz
initramfs-tools_0.104_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.104_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 674484@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.8
Date: Wed, 06 Jun 2012 14:48:26 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.104
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - generic modular initramfs generator
Closes: 601324 652525 655175 660297 668616 670496 674484
Changes: 
 initramfs-tools (0.104) unstable; urgency=high
 .
   [ Michael Prokop ]
   * [9e961c6] docs: clarify that PREREQ is only honored inside single directory.
     Thanks to Marc Haber <mh+debian-bugs@zugschlus.de> for spotting thjs issue
     (Closes: #601324)
 .
   [ maximilian attems ]
   * [b60b440] debian/control: Depend on kmod or m-i-t.
   * [f87e71b] hook-functions: handle rootfs output from mount(8).
     (Closes: #668616)
   * [042c5c9] init: tighten /run/initramfs permissions. (Closes: #655175)
   * [df4ffdf] scripts/functions: panic() don't abort on modprobe failures.
     (Closes: #674484)
 .
   [ Vagrant Cascadian ]
   * [ddbdb4f] init: busybox's switch_root doesn't handle /proc or /sys moving.
     (Closes: #660297)
 .
   [ Balwinder S Dheeman ]
   * [3ff8ee6] init: fixes ignored $tmpfs_size. (Closes: #670496)
 .
   [ Josh Triplett ]
   * [2c5c942] initramfs-tools: speed-up by avoiding forks in the per-module
     hot path. (Closes: #652525)
Checksums-Sha1: 
 cbcfdeeb67bfcb7441c197b47dc675eff922f049 1052 initramfs-tools_0.104.dsc
 1218b9ab4df1557ae4aa2180d46b8740b94af9f0 84519 initramfs-tools_0.104.tar.gz
 57e7b2faada169f5978d64c936b4e2ce0d6aa4c9 91002 initramfs-tools_0.104_all.deb
Checksums-Sha256: 
 45c035c998f8c2ec5a8ca1f50df3e91b30f306bcf1c016bf38ec4806daae30d1 1052 initramfs-tools_0.104.dsc
 6048b66aa067de06419c53353f632315b279eab957cd17157f83c3c60b670e6f 84519 initramfs-tools_0.104.tar.gz
 7817d3b28de728e515078d3452efefb60136ac21ce8c5821fb46ef735f156f73 91002 initramfs-tools_0.104_all.deb
Files: 
 b0eadf22423992235c55d3a0ca49723d 1052 utils optional initramfs-tools_0.104.dsc
 fb46dba7c1886c6020586d99ecfb7519 84519 utils optional initramfs-tools_0.104.tar.gz
 e6519d7618d6b7b1c7dc7678b98f3328 91002 utils optional initramfs-tools_0.104_all.deb

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

iEYEARECAAYFAk/PU3gACgkQeW7Lc5tEHqhiigCgppHUxmZ5/fPynMyrvN2f3LgM
KPEAoIsA+bUqlyeP9sX0x+PK9LIWnYrs
=sjD3
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: