--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: initramfs-tools: busybox depends should include busybox-static
- From: Steve Lane <drsteve@rna.berkeley.edu>
- Date: Thu, 06 Dec 2007 14:26:42 -0800
- Message-id: <20071206222642.20586.6997.reportbug@xavier.xmen.phabrix>
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
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.100
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.100.dsc
to main/i/initramfs-tools/initramfs-tools_0.100.dsc
initramfs-tools_0.100.tar.gz
to main/i/initramfs-tools/initramfs-tools_0.100.tar.gz
initramfs-tools_0.100_all.deb
to main/i/initramfs-tools/initramfs-tools_0.100_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 454665@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Prokop <mika@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: Tue, 14 Feb 2012 14:42:23 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.100
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <mika@debian.org>
Description:
initramfs-tools - generic modular initramfs generator
Closes: 454665 566401 586381 589963 601319 607888 610462 615831 624702 628374 636495 639902 649399
Changes:
initramfs-tools (0.100) unstable; urgency=low
.
Release "singing in the snow ☃☃☃"
.
[ Michael Prokop ]
* [16280bb] lsinitramfs: support xz/lzma, bzip2 and lzop as compress
methods. (Closes: #586381)
* [ee16a4e] set_initlist: redirect warning messages to stderr.
(Closes: #601319)
* [af110e0] Alternate Recommends on busybox-static (Closes: #639902,
#454665)
* [b61413d] warn user if directory is present in confdir
(Closes: #610462)
.
[ maximilian attems ]
* [5409ca7] manual_add_modules: No longer add firmware.agent too.
(Closes: #566401)
* [4f98b0b] mkinitramfs: Use version comparison for xz or other
compression tools (Closes: #624702)
* [d479b47] initramfs-tools: rephrase description
* [07c822f] mkinitramfs: Check if TMPDIR is writable
* [b9ff58c] mkinitramfs: Use /var/tmp rather then /tmp for space reasons
* [bd3c5d8] Revert "Revert "mkinitramfs: Nuke MIN_VERSION handling.""
* [313db4c] MODULES=dep: Use /sys again to decide for libata or ide
(Closes: #607888)
* [9bec96f] debian/control: Drop versioned depend on pre-Etch udev
version
* [02ea666] debian/control: Tighten dep on klibc-utils 1.5.23-2
* [5c68e6e] init: Prepare for switch_root(8) usage
* [5e1f500] update-initramfs: Cleanup nowadays unused run_lilo()
* [b0d14a0] update-initramfs: run_bootloader() hooks on create too
* [8d0ffcb] preinst: get rid of awk usage (Closes: #589963)
.
[ Timo Juhani Lindfors ]
* [63932cc] panic(): print the name of each module before loading it
* [cd1981e] panic: Load modules for highly probable USB keyboard
(Closes: #615831)
.
[ Martin Pitt ]
* [b1530ee] hooks/busybox: Fix 2.99 busybox breakage (Closes: #628374)
.
[ Alkis Georgopoulos ]
* [b938c7e] configure_networking() wait for udev to populate available
nics (LP: #682445)
.
[ Harald Hoyer ]
* [9249db6] MODULES=dep: awk free version for root dev search
.
[ Sven Joachim ]
* [717397c] copy_exec: Handle optimized libraries under multiarch paths
(Closes: #636495)
.
[ Colin Watson ]
* [6cf2bd7] mark Multi-Arch: foreign (Closes: #649399)
Checksums-Sha1:
bc2050eeb1a6bf59db6cd28df61a0ff5caa2d9aa 1020 initramfs-tools_0.100.dsc
dc490fd5ced826064036e9673a85e046123da4f5 83219 initramfs-tools_0.100.tar.gz
22bb0cebf88b5e0565760739f6ccb4f877558dfd 89390 initramfs-tools_0.100_all.deb
Checksums-Sha256:
82ba37e8eee1a451f65bcc1967b3f4d7866c19735f32f66b405ee0a2de70a9cb 1020 initramfs-tools_0.100.dsc
137e0df9d7ad85aaf0094f18c1850e6eb37b1d120efcffb158b73ec806b3b0c2 83219 initramfs-tools_0.100.tar.gz
da173ff372cfbc2b6869c42bdbe85365376052fb94363f73b89f4432a0868bf7 89390 initramfs-tools_0.100_all.deb
Files:
9bc857366110e632f554fba12d45f827 1020 utils optional initramfs-tools_0.100.dsc
1b684b9f57c5e266f6a3ebf5bbbfab12 83219 utils optional initramfs-tools_0.100.tar.gz
2a0d2934df4d5e3ddcc64997df3c0009 89390 utils optional initramfs-tools_0.100_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk86ZZUACgkQ2N9T+zficujjIwCdEcCfsrXrrKNXXbdN5B3E79Al
y+IAnjGWyvw9ltDoq36cs52PW4O7sEms
=OH9R
-----END PGP SIGNATURE-----
--- End Message ---