Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #57464 > unrolled thread

Bug#859692: initramfs-tools: should depend on busybox

Started byRussell Coker <russell@coker.com.au>
First post2017-04-06 04:30 +0200
Last post2017-04-09 02:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#859692: initramfs-tools: should depend on busybox Russell Coker <russell@coker.com.au> - 2017-04-06 04:30 +0200
    Bug#859692: initramfs-tools: should depend on busybox Ben Hutchings <ben@decadent.org.uk> - 2017-04-07 00:00 +0200
    Bug#859692: marked as done (initramfs-tools: should depend on  busybox) owner@bugs.debian.org (Debian Bug Tracking System) - 2017-04-09 02:10 +0200

#57464 — Bug#859692: initramfs-tools: should depend on busybox

FromRussell Coker <russell@coker.com.au>
Date2017-04-06 04:30 +0200
SubjectBug#859692: initramfs-tools: should depend on busybox
Message-ID<tt5ln-2tX-5@gated-at.bofh.it>
Package: initramfs-tools
Version: 0.127
Severity: important


# dpkg-reconfigure linux-image-4.9.0-2-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-2-amd64
E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
update-initramfs: failed for /boot/initrd.img-4.9.0-2-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

This package should depend on busybox|busybox-static instead of giving an
error at runtime.

-- Package-specific info:
-- initramfs sizes
-rw-r--r--. 1 root root 20M Feb 28 14:42 /boot/initrd.img-4.9.0-1-amd64
-rw-r--r--. 1 root root 20M Mar 24 19:49 /boot/initrd.img-4.9.0-2-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 root=UUID=a2d7cbbc-23be-4d97-b2bb-de99b0c58c7d ro security=selinux rootflags=skip_balance security=selinux init=/bin/systemd

-- resume
RESUME=/dev/mapper/xev-swap
-- /proc/filesystems
	btrfs
	ext3
	ext2
	ext4

-- lsmod
Module                  Size  Used by
uas                    24576  0
usb_storage            73728  3 uas
bridge                135168  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
cpufreq_userspace      16384  0
cpufreq_powersave      16384  0
cpufreq_conservative    16384  0
binfmt_misc            20480  1
ext4                  585728  2
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  3 ext4
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
snd_hda_intel          36864  0
snd_hda_codec         135168  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           81920  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm_oss            49152  0
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
snd_mixer_oss          24576  1 snd_pcm_oss
intel_powerclamp       16384  0
snd_pcm               110592  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
kvm_intel             192512  0
snd_rawmidi            32768  1 snd_seq_midi
evdev                  24576  17
kvm                   589824  1 kvm_intel
irqbypass              16384  1 kvm
intel_cstate           16384  0
iTCO_wdt               16384  0
eeepc_wmi              16384  0
asus_wmi               28672  1 eeepc_wmi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
sparse_keymap          16384  1 asus_wmi
rfkill                 24576  2 asus_wmi
iTCO_vendor_support    16384  1 iTCO_wdt
i915                 1232896  5
intel_uncore          118784  0
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
intel_rapl_perf        16384  0
snd_timer              32768  2 snd_seq,snd_pcm
sg                     32768  0
pcspkr                 16384  0
serio_raw              16384  0
drm_kms_helper        155648  1 i915
snd                    86016  12 snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_mixer_oss,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
drm                   360448  5 i915,drm_kms_helper
wmi                    16384  1 asus_wmi
soundcore              16384  1 snd
video                  40960  2 asus_wmi,i915
tpm_tis                16384  0
i2c_algo_bit           16384  1 i915
tpm_tis_core           20480  1 tpm_tis
lpc_ich                24576  0
shpchp                 36864  0
tpm                    45056  2 tpm_tis,tpm_tis_core
mei_me                 36864  0
mei                   102400  1 mei_me
mfd_core               16384  1 lpc_ich
button                 16384  1 i915
coretemp               16384  0
loop                   28672  0
parport_pc             28672  0
ppdev                  20480  0
sunrpc                339968  1
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
btrfs                1060864  1
crc32c_generic         16384  0
xor                    24576  1 btrfs
raid6_pq              110592  1 btrfs
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
dm_crypt               24576  2
dm_mod                118784  5 dm_crypt
sr_mod                 24576  0
cdrom                  61440  1 sr_mod
sd_mod                 45056  6
ata_generic            16384  0
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  1
ghash_clmulni_intel    16384  0
ata_piix               36864  3
aesni_intel           167936  7
libata                249856  2 ata_piix,ata_generic
ehci_pci               16384  0
ehci_hcd               81920  1 ehci_pci
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
psmouse               135168  0
glue_helper            16384  1 aesni_intel
scsi_mod              225280  6 sd_mod,usb_storage,libata,uas,sr_mod,sg
ablk_helper            16384  1 aesni_intel
usbcore               249856  5 usbhid,usb_storage,ehci_hcd,uas,ehci_pci
cryptd                 24576  5 ablk_helper,ghash_clmulni_intel,aesni_intel
i2c_i801               24576  0
r8169                  81920  0
i2c_smbus              16384  1 i2c_i801
mii                    16384  1 r8169
usb_common             16384  1 usbcore
fjes                   28672  0

-- /etc/initramfs-tools/modules

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

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

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

-- /etc/crypttab
root-crypt /dev/sda3 none luks
swap_crypt /dev/sda2 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap

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

/usr/share/initramfs-tools/hooks:
btrfs
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
resume
thermal
udev


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.127
ii  linux-base            4.5

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.1-4.3

-- no debconf information

[toc] | [next] | [standalone]


#57469

FromBen Hutchings <ben@decadent.org.uk>
Date2017-04-07 00:00 +0200
Message-ID<ttnBD-6sT-5@gated-at.bofh.it>
In reply to#57464

[Multipart message — attachments visible in raw view] — view raw

Control: forcemerge 855094 -1

On Thu, 2017-04-06 at 12:22 +1000, Russell Coker wrote:
> Package: initramfs-tools
> Version: 0.127
> Severity: important
> 
> 
> # dpkg-reconfigure linux-image-4.9.0-2-amd64
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-4.9.0-2-amd64
> E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
> update-initramfs: failed for /boot/initrd.img-4.9.0-2-amd64 with 1.
> run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
> 
> This package should depend on busybox|busybox-static instead of giving an
> error at runtime.
[...]

It's cryptsetup that depends on busybox, not initramfs-tools (which can
happily use klibc-utils).   But initramfs-tools now only works with at
least a certain version of busybox, and cryptsetup doesn't enforce
that.  There is a fix pending which is a versioned Breaks.

Ben.

-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

[toc] | [prev] | [next] | [standalone]


#57490 — Bug#859692: marked as done (initramfs-tools: should depend on busybox)

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2017-04-09 02:10 +0200
SubjectBug#859692: marked as done (initramfs-tools: should depend on busybox)
Message-ID<tu8Ax-3TW-7@gated-at.bofh.it>
In reply to#57464

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 09 Apr 2017 00:04:16 +0000
with message-id <E1cx0L2-000D3v-9A@fasolo.debian.org>
and subject line Bug#855094: fixed in initramfs-tools 0.128
has caused the Debian Bug report #855094,
regarding initramfs-tools: should depend on busybox
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.)


-- 
855094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855094
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web