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

Bug#454665: initramfs-tools: busybox depends should include busybox-static



Package: initramfs-tools
Version: 0.90a
Severity: critical
Justification: breaks the whole system

Attempting to install busybox-static when initramfs-tools is installed
results in an uninstall of initramfs-tools, and, consequently, the
Debian kernel package.

Obviously busybox-static (vs. busybox) is not normally needed, but,
again obviously, it is precisely when things (i.e. dynamic libraries)
are broken that it *is* needed (I've been there - it's not pretty).  It is
these (potential) circumstances that justify the severity of this bug.

Fortunately, it is super easy to fix.  I've installed my own copy of
initramfs-tools on a test machine, where the *only* change is to the
"Depends" line in the control file, from:

Depends: klibc-utils (>= 1.4.34-1), busybox (>= 1:1.01-3) | busybox-initramfs, cpio, module-init-tools, udev (>= 0.086-1)

to:

Depends: klibc-utils (>= 1.4.34-1), busybox (>= 1:1.01-3) | busybox-static (>= 1:1.01-3), cpio, module-init-tools, udev (>= 0.086-1)

(Note that the busybox-initramfs package is not available.)

I don't know if this qualifies as a "patch" or not, but there it is.
It works great - I was able to install busybox-static (which removes
busybox) with no problem.

Note that this issue relates to a bug filed against busybox-static
(#375568), but it appears to be more properly filed against
initramfs-tools (especialy since #375568 was filed nearly a year and a
half ago and, as with all the busybox and busybox-static bugs, nothing
seems to be happening with them).

Hopefully this can happen ASAP, since it's very easy, and only makes
good things happen!

Thanks very much,

--
Steve Lane
System, Network and Security Administrator
Doudna Lab
Biomolecular Structure and Mechanism Group
UC Berkeley


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

-- /proc/filesystems
	cramfs
	ext3

-- lsmod
Module                  Size  Used by
nfsd                  203568  13 
exportfs                6240  1 nfsd
button                  8688  0 
ac                      5956  0 
battery                10756  0 
ipv6                  240804  50 
nfs                   225228  8 
lockd                  61224  3 nfsd,nfs
nfs_acl                 4288  2 nfsd,nfs
sunrpc                158588  11 nfsd,nfs,lockd,nfs_acl
ipt_MASQUERADE          4384  1 
iptable_nat             7972  1 
nf_nat                 18732  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      18540  2 iptable_nat
nf_conntrack           61192  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink               6520  3 nf_nat,nf_conntrack_ipv4,nf_conntrack
ip_tables              13124  1 iptable_nat
x_tables               15140  3 ipt_MASQUERADE,iptable_nat,ip_tables
dm_snapshot            17284  0 
dm_mirror              21696  0 
dm_mod                 52928  2 dm_snapshot,dm_mirror
w83781d                27500  0 
hwmon_vid               3712  1 w83781d
psmouse                36784  0 
e7xxx_edac              6624  0 
serio_raw               7460  0 
i2c_i801                9456  0 
i2c_core               24320  2 w83781d,i2c_i801
shpchp                 31892  0 
pci_hotplug            29952  1 shpchp
edac_mc                24080  1 e7xxx_edac
iTCO_wdt               10788  0 
evdev                  10080  0 
pcspkr                  3872  0 
rtc                    13624  0 
ext3                  121960  3 
jbd                    56104  1 ext3
mbcache                 9028  1 ext3
ide_cd                 37184  0 
cdrom                  33600  1 ide_cd
ide_disk               17280  6 
ata_generic             8324  0 
libata                116720  1 ata_generic
scsi_mod              137388  1 libata
piix                    9636  0 [permanent]
e1000                 114560  0 
floppy                 55684  0 
generic                 5604  0 [permanent]
ide_core              114788  4 ide_cd,ide_disk,piix,generic
uhci_hcd               23824  0 
usbcore               126152  2 uhci_hcd
thermal                14184  0 
processor              32072  1 thermal
fan                     5604  0 

-- /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: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages initramfs-tools depends on:
ii  busybox                      1:1.1.3-5   Tiny utilities for small and embed
ii  cpio                         2.9-6       GNU cpio -- a program to manage ar
ii  klibc-utils                  1.5-4       small statically-linked utilities 
ii  module-init-tools            3.3-pre11-4 tools for managing Linux kernel mo
ii  udev                         0.114-2     /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information




Reply to: