Bug#570705: initramfs-tools: break=init does not work
Package: initramfs-tools
Version: 0.92o
Severity: normal
Adding break=init to the command line to get a shell just before
run-init is run does not work. This is because the enviornment variable
"break" is unset on line 217 of /usr/share/initramfs-tools/init, but
maybe_break init is called on line 226.
Either the "unset break" line could be uncommented, moved below
maybe_break (if you don't want it to leak to init), or maybe_break moved
above all of the unset's.
-- Package-specific info:
-- /proc/cmdline
root=/dev/md0 ro console=tty0 noresume
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
tun 14084 1
ipmi_devintf 13200 4
ipmi_si 43628 2
ipmi_msghandler 38520 2 ipmi_devintf,ipmi_si
openafs 570688 3
nfsd 248616 17
auth_rpcgss 47520 1 nfsd
exportfs 8704 1 nfsd
nfs 251952 1
lockd 68944 2 nfsd,nfs
nfs_acl 7552 2 nfsd,nfs
sunrpc 197992 17 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
loop 19468 0
snd_pcm 81800 0
snd_timer 25744 1 snd_pcm
snd 63688 2 snd_pcm,snd_timer
soundcore 12064 1 snd
snd_page_alloc 13072 1 snd_pcm
pcspkr 7040 0
i2c_i801 13596 0
i2c_core 27936 1 i2c_i801
serio_raw 9988 0
psmouse 42268 0
rng_core 8968 0
i3000_edac 9488 0
button 11680 0
edac_core 49560 3 i3000_edac
evdev 14208 2
dcdbas 11952 0
ext3 125072 1
jbd 51240 1 ext3
mbcache 12804 1 ext3
dm_mirror 20608 0
dm_log 13956 1 dm_mirror
dm_snapshot 19400 0
dm_mod 58864 3 dm_mirror,dm_log,dm_snapshot
raid1 24192 1
md_mod 80292 2 raid1
sd_mod 29376 5
ide_cd_mod 36360 0
cdrom 37928 1 ide_cd_mod
ata_piix 22660 3
ata_generic 10116 0
libata 165600 2 ata_piix,ata_generic
scsi_mod 161016 2 sd_mod,libata
piix 12424 0 [permanent]
dock 14112 1 libata
ide_pci_generic 9220 0 [permanent]
ide_core 128284 3 ide_cd_mod,piix,ide_pci_generic
ehci_hcd 36108 0
uhci_hcd 25760 0
tg3 97156 0
thermal 22688 0
processor 42304 1 thermal
fan 9352 0
thermal_sys 17728 3 thermal,processor,fan
-- /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
postinst_hook = update-grub
postrm_hook = update-grub
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (700, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii findutils 4.4.0-2 utilities for finding files--find,
ii klibc-utils 1.5.12-2 small utilities built with klibc f
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
ii udev 0.125-7+lenny3 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.10.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- debconf-show failed
Reply to: