Package: initramfs-tools
Version: 0.92j
Severity: important
File: /usr/share/initramfs-tools/scripts/functions
X-Debbugs-Cc: [EMAIL PROTECTED]
Tags: patch
initramfs-tools breaks mdadm, which uses set -eu. So when it calls
maybe_break, the script dies:
Begin: Running /scripts/local-top ...
/scripts/local-top/mdadm: 15: break: parameter not set
The patch is simply to use:
if [ ${break:-} = $1 ]; then
instead of
if [ ${break} = $1 ]; then
on line 58 of scripts/functions.
The problem should also happen with 0.92l, but I cannot reproduce
it.
The workaround for mdadm in this case is to pass break=top at the
kernel boot prompt, and then hit ^D (ctrl-d) when initramfs-tools
presents the shell.
Julien, can you please confirm that this works when you get home
tonight?
-- Package-specific info:
-- /proc/cmdline
root=/dev/disk/by-uuid/cbef70d0-231c-474e-9bd1-d74f874426ab ro nmi_watchdog=2
-- /proc/filesystems
ext3
vfat
fuseblk
-- lsmod
Module Size Used by
fuse 53184 1
nls_utf86272 0
nls_cp437 11136 0
vfat 14976 0
fat51128 1 vfat
nls_base 12932 4 nls_utf8,nls_cp437,vfat,fat
ppp_deflate 9216 0
zlib_deflate 23960 1 ppp_deflate
zlib_inflate 18944 1 ppp_deflate
bsd_comp9600 0
ppp_async 13056 0
crc_ccitt 6528 1 ppp_async
ppp_generic27816 3 ppp_deflate,bsd_comp,ppp_async
slhc 10112 1 ppp_generic
bnep 17024 2
rfcomm 38176 5
l2cap 23936 13 bnep,rfcomm
wacom 22144 0
radeon133920 0
drm91488 1 radeon
video 24084 0
output 7808 1 video
ac 9352 0
battery16904 0
nfsd 248360 17
auth_rpcgss47520 1 nfsd
exportfs8704 1 nfsd
nfs 251696 1
lockd 68560 2 nfsd,nfs
nfs_acl 7552 2 nfsd,nfs
sunrpc197480 17 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
bridge 53544 0
tun14084 1
ipv6 288328 42
ipt_MASQUERADE 7296 2
iptable_nat 9872 1
nf_nat 23192 2 ipt_MASQUERADE,iptable_nat
ipt_REJECT 7552 1
xt_tcpudp 7680 26
ipt_LOG10116 1
xt_limit7172 1
nf_conntrack_ipv4 19352 9 iptable_nat,nf_nat
xt_conntrack8704 6
ipt_addrtype6912 2
iptable_filter 7424 1
ip_tables 21520 2 iptable_nat,iptable_filter
x_tables 25224 9
ipt_MASQUERADE,iptable_nat,ipt_REJECT,xt_tcpudp,ipt_LOG,xt_limit,xt_conntrack,ipt_addrtype,ip_tables
dm_crypt 17032 0
crypto_blkcipher 21636 1 dm_crypt
nf_conntrack_ftp 12728 0
nf_conntrack 71440 6
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_conntrack,nf_conntrack_ftp
snd_pcm_oss41760 0
snd_mixer_oss 18816 1 snd_pcm_oss
usbhid 45792 0
hci_usb18460 2
hid41792 1 usbhid
bluetooth 57124 8 bnep,rfcomm,l2cap,hci_usb
ff_memless 9224 1 usbhid
usb_storage94400 0
serio_raw 9860 0
snd_via82xx28712 1
gameport 17040 1 snd_via82xx
psmouse42268 0
snd_mpu401_uart11776 1 snd_via82xx
snd_pcsp 14588 0
snd_seq_midi 11072 0
snd_rawmidi26784 2 snd_mpu401_uart,snd_seq_midi
snd_seq_dummy 7428 0
snd_via82xx_modem 16396 0
snd_ac97_codec115416 2 snd_via82xx,snd_via82xx_modem
k8temp 9216 0
snd_seq_oss33152 0
ac97_bus6272 1 snd_ac97_codec
snd_seq_midi_event 11904 2 snd_seq_midi,snd_seq_oss
snd_seq54304 6
snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11668 5
snd_seq_midi,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm81800 5
snd_pcm_oss,snd_via82xx,snd_pcsp,snd_via82xx_modem,snd_ac97_codec
snd_timer 25744 2 snd_seq,snd_pcm
snd_page_alloc 13072 3 snd_via82xx,snd_via82xx_modem,snd_pcm
snd63688 15
snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_mpu401_uart,snd_pcsp,snd_rawmidi,snd_via82xx_modem,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore 12064 1 snd
i2c_viapro 12440 0
i2c_core 27936 1 i2c_viapro
shpchp 34080 0
pci_hotplug32056 1 shpchp
button 11680 0
evdev 14208 4
ext3 124688 7
jbd51240 1 ext3
mbcache