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

Bug#810154: marked as done (remove busybox hook, leave responsibility to busybox package)



Your message dated Thu, 11 Feb 2016 04:30:08 +0000
with message-id <E1aTitM-0005il-DD@franck.debian.org>
and subject line Bug#810154: fixed in initramfs-tools 0.123
has caused the Debian Bug report #810154,
regarding remove busybox hook, leave responsibility to busybox package
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.)


-- 
810154: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810154
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.6.6-5
Severity: grave

Hi,

if the cryptsetup package is installed, it also installed a
initramfs-tools hook.

I use BUSYBOX=no in initramfs.conf, but the  cryptroot hook copies
/bin/busybox to the initramfs nonetheless.

As a result, the initramfs is unable to boot the system

I'm getting
Begin: Running /scripts/init-bottom ... done
/init: exec: line 338: switch_root: not found
...Kernel panic -n not syncing: Attempted to kill init


To reproduce the bug, make sure you have the "busybox" package installed
(which it is, by default), set BUSYBOX=n in
/etc/initramfs-tools/initramfs.conf and run "update-initramfs -u" and
reboot.

Be careful to either test this in a VM or keep a rescue media at hand.




-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=5c503ec2-6528-44bb-9ff5-aa2687aa9706 ro quiet splash systemd.show_status=true

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda7 during installation
UUID=5c503ec2-6528-44bb-9ff5-aa2687aa9706 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda6 during installation
UUID=7652cf98-e671-47ea-80d6-02be15580bb5 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=c0d2bc19-898f-4306-a734-85e547e249f0 none            swap    sw              0       0

LABEL=Data	/mnt/data	ntfs-3g	user,noauto,comment=systemd.automount	0	0

LABEL=Fedora	/mnt/fedora	ext4	noauto		0	0
LABEL=Ubuntu	/mnt/ubuntu	ext4	noauto		0	0
LABEL=Asteria   /mnt/ssd ntfs-3g noauto,nofail,user,x-gvfs-show 0 0
#LABEL=BACKUP    /mnt/usb	ext3    auto		0 	2
#192.168.178.86:/srv/nfs /mnt/backup nfs _netdev 0 0

-- lsmod
Module                  Size  Used by
vhost_net              17307  1 
vhost                  22500  1 vhost_net
macvtap                17526  1 vhost_net
macvlan                18315  1 macvtap
tun                    26385  3 vhost_net
cpuid                  12663  0 
ctr                    12927  3 
ccm                    17577  3 
xt_CHECKSUM            12471  1 
iptable_mangle         12536  1 
ipt_MASQUERADE         12594  3 
iptable_nat            12646  1 
nf_nat_ipv4            12912  1 iptable_nat
nf_nat                 18241  3 ipt_MASQUERADE,nf_nat_ipv4,iptable_nat
nf_conntrack_ipv4      18448  2 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_conntrack           12681  1 
nf_conntrack           87424  6 ipt_MASQUERADE,nf_nat,nf_nat_ipv4,xt_conntrack,iptable_nat,nf_conntrack_ipv4
ipt_REJECT             12465  2 
xt_tcpudp              12527  6 
iptable_filter         12536  1 
ip_tables              26011  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               27111  8 xt_CHECKSUM,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,iptable_filter,ipt_REJECT,iptable_mangle
bridge                106102  0 
stp                    12437  1 bridge
llc                    12745  2 stp,bridge
vmnet                  50245  13 
ppdev                  16782  0 
parport_pc             26300  0 
parport                35749  2 ppdev,parport_pc
fuse                   83350  7 
vmw_vsock_vmci_transport    25862  0 
vsock                  30772  1 vmw_vsock_vmci_transport
vmw_vmci               55383  1 vmw_vsock_vmci_transport
pci_stub               12429  1 
vboxpci                23077  0 
vboxnetadp             25443  0 
vboxnetflt             23324  0 
vmmon                  81251  0 
vboxdrv               340067  3 vboxnetadp,vboxnetflt,vboxpci
binfmt_misc            16949  1 
joydev                 17063  0 
hid_generic            12393  0 
hid_microsoft          12578  0 
usbhid                 44460  0 
cdc_mbim               12825  0 
ecb                    12737  0 
hid                   102264  3 hid_generic,hid_microsoft,usbhid
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
x86_pkg_temp_thermal    12951  0 
intel_powerclamp       17159  0 
intel_rapl             17356  0 
coretemp               12820  0 
uvcvideo               79005  0 
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
cdc_ncm                26618  1 cdc_mbim
videobuf2_core         47787  1 uvcvideo
usbnet                 30844  2 cdc_mbim,cdc_ncm
v4l2_common            12995  1 videobuf2_core
videodev              126451  3 uvcvideo,v4l2_common,videobuf2_core
mii                    12675  1 usbnet
kvm_intel             139116  3 
cdc_wdm                17427  1 cdc_mbim
media                  18305  2 uvcvideo,videodev
btusb                  29721  0 
kvm                   388635  1 kvm_intel
bluetooth             374429  1 btusb
cdc_acm                30362  0 
6lowpan_iphc           16588  1 bluetooth
crc32_pclmul           12915  0 
ghash_clmulni_intel    12978  0 
arc4                   12536  2 
iwldvm                135156  0 
mac80211              474218  1 iwldvm
aesni_intel           151423  6 
aes_x86_64             16719  1 aesni_intel
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
glue_helper            12695  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14516  3 ghash_clmulni_intel,aesni_intel,ablk_helper
psmouse                99143  0 
serio_raw              12849  0 
pcspkr                 12595  0 
i2c_i801               16965  0 
snd_hda_codec_hdmi     45118  1 
iwlwifi                96547  1 iwldvm
snd_hda_codec_conexant    17841  1 
snd_hda_codec_generic    63142  1 snd_hda_codec_conexant
cfg80211              405538  3 iwlwifi,mac80211,iwldvm
thinkpad_acpi          69119  1 
nvram                  13034  1 thinkpad_acpi
snd_hda_intel          26327  3 
rfkill                 18867  5 cfg80211,thinkpad_acpi,bluetooth
snd_hda_controller     26646  1 snd_hda_intel
ac                     12715  0 
tpm_tis                17231  0 
battery                13356  0 
tpm                    31511  1 tpm_tis
snd_hda_codec         104463  5 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              13148  1 snd_hda_codec
evdev                  17445  17 
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
shpchp                 31121  0 
snd_timer              26614  1 snd_pcm
snd                    65244  15 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
lpc_ich                20768  0 
soundcore              13026  2 snd,snd_hda_codec
mfd_core               12601  1 lpc_ich
mei_me                 17941  0 
mei                    74977  1 mei_me
processor              28221  0 
autofs4                35529  3 
ext4                  473802  2 
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   82413  1 ext4
btrfs                 859533  0 
xor                    21040  1 btrfs
raid6_pq               95238  1 btrfs
dm_mirror              21657  0 
dm_region_hash         13299  1 dm_mirror
dm_log                 17539  2 dm_region_hash,dm_mirror
dm_mod                 89373  2 dm_log,dm_mirror
sg                     29973  0 
sd_mod                 44356  5 
sr_mod                 21903  0 
crc_t10dif             12431  1 sd_mod
cdrom                  47424  1 sr_mod
crct10dif_generic      12581  0 
ahci                   33291  4 
libahci                27158  1 ahci
crct10dif_pclmul       13387  1 
crct10dif_common       12356  3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel           21809  1 
libata                177457  2 ahci,libahci
scsi_mod              191405  4 sg,libata,sd_mod,sr_mod
xhci_hcd              148881  0 
sdhci_pci              22097  0 
i915                  837145  4 
sdhci                  35153  1 sdhci_pci
ehci_pci               12512  0 
ehci_hcd               69837  1 ehci_pci
i2c_algo_bit           12751  1 i915
mmc_core              102374  2 sdhci,sdhci_pci
drm_kms_helper         49210  1 i915
e1000e                203664  0 
drm                   249955  6 i915,drm_kms_helper
usbcore               195340  11 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_mbim,cdc_acm,cdc_ncm,cdc_wdm,xhci_hcd
ptp                    17692  1 e1000e
pps_core               17225  1 ptp
usb_common             12440  1 usbcore
i2c_core               46012  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
thermal                17559  0 
wmi                    17339  0 
video                  18096  1 i915
button                 12944  1 i915
thermal_sys            27642  5 video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.6.6-5
ii  debconf [debconf-2.0]  1.5.56
ii  dmsetup                2:1.02.90-2.2
ii  libc6                  2.19-18

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-15
ii  console-setup                           1.123
ii  initramfs-tools [linux-initramfs-tool]  0.120
ii  kbd                                     1.15.5-2

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.27-1
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.05-8+b1

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.123

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.

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 810154@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 11 Feb 2016 02:13:23 +0000
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.123
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
 initramfs-tools - generic modular initramfs generator (automation)
 initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 512679 588770 639876 767471 768913 792910 804071 807527 809206 809740 810154 812404 813229 814345
Changes:
 initramfs-tools (0.123) unstable; urgency=medium
 .
   [ Ben Hutchings ]
   * [3084929] debian/control: Remove redundant dependency on
     klibc-utils|busybox
   * [913a861] debian/control: Recommend the right busybox packages for the
     target distribution
   * [d4febbd] Remove busybox hook in favour of busybox's own (Closes: #810154)
   * [b5303a1] Update TODO for removal of busybox hook
   * [6cc3d85] hook-functions: Include any modular RTC drivers in the initramfs
   * [ceff05e] hooks/fsck: Stop setting e2fsck broken_system_clock option
     (Closes: #804071)
   * [9c105f0] Assume blkid is always installed, and remove fallbacks
   * [aaba4cb] hooks/fsck: Use get_fstype rather than blkid to probe filesystem
     type
   * [a8ed874] hooks/fsck: Always use get_fstype to probe type of root
     filesystem (Closes: #767471)
   * [e798629] Pass filesystem type from /etc/fstab to fsck when checking /usr
   * [55e075c] hook-functions: Include drivers for all keyboards when
     MODULES=dep (Closes: #639876)
   * [704bfa5] scripts/functions: Explicitly load keyboard drivers only at
     break=top
   * [c5b54ae] scripts/functions: Use more sensible modprobe options at
     break=top
   * [39e90c8] scripts/functions: Load more USB host controllers drivers on
     break=top
   * [8c437f5] scripts/functions: Load HID drivers at break=top
   * [619f2ca] scripts/functions: Connect panic shell to normal tty device
     (Closes: #512679)
   * [8b8b28c] hook-functions: Clean up split between dep_add_modules and
     dep_add_modules_mount
   * [5f34b94] hook-functions: Include modules for resume partition when
     MODULES=dep (Closes: #588770)
   * [31ab487] hook-functions: Stop force-loading drivers found through sysfs
     when MODULES=dep (Closes: #792910)
   * [07f2c88] kernel/postinst.d: Make test for update-initramfs consistent with
     invocation (Closes: #768913)
   * [e5476bf] copy_file: Skip duplicating symlink if it points to the target
     file (Closes: #812404)
   * [d0f4d06] initramfs-tools: Include empty /etc/initramfs-tools/conf.d
     directory (Closes: #809206)
   * [245d584] initramfs-tools.8: Update list of variables exported to hook
     scripts
   * [941429d] initramfs-tools.8: Add a new section for the general description
     of scripts
   * [3ff5d57] initramfs-tools.8: Add brief description of configuration hooks
     and files (Closes: #807527)
   * [c17a21a] Remove klibc hook in favour of klibc's own
   * [ea7e02d] bash-completion: Simplify by using _get_comp_words_by_ref
   * [9e23444] init: Use "case" rather than loop to look for "quiet" parameter
   * [49e4a05] init: Remove fallback from devtmpfs to tmpfs
   * [ab91306] init: Take over handling of rootdelay parameter from udev boot
     script (Closes: #809740)
   * [56dfe39] bash-completion: Rename our completion script so that it works
     again
   * [ac6d31f] mkinitramfs: Delete or report temporary files on failure
     (Closes: #814345)
   * [c8c932d] Move initramfs.conf around in maintainer scripts to avoid it
     being 'obsolete' (Closes: #813229)
   * [138af73] hook-functions: Dereference links when looking up block device
     number
 .
   [ Andy Whitcroft ]
   * [7774fa3] Don't display "Loading, please wait..." message when 'quiet' is
     in /proc/cmdline.
   * [c4ea209] Mount /dev with the default tmpfs size rather than sourcing
     udev.conf.
   * [b418ad4] Sync the mount options for /run from /lib/init/fstab
     (LP: #1152744)
   * [c44df0c] init: Mount /dev with "nosuid". Thanks to Daniel (LP: #1450960)
Checksums-Sha1:
 04ba47b72545885859efbd5c82c4a16abe1d31b5 1811 initramfs-tools_0.123.dsc
 24be51cd493c96640e34d80ae164c0f855826eb7 84040 initramfs-tools_0.123.tar.xz
Checksums-Sha256:
 4472617459414c9402b654d4e2adb20c175c79f371adf6489c87af1a7e6e3606 1811 initramfs-tools_0.123.dsc
 84f57262b3208b14d36a7758b24380a4c27475e5e1ef69868aaba22f98ea5ac8 84040 initramfs-tools_0.123.tar.xz
Files:
 499f42df5ff1573b9abab071e728227f 1811 utils optional initramfs-tools_0.123.dsc
 e181fd51440cb4b767524bdc95b25745 84040 utils optional initramfs-tools_0.123.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVrvxnue/yOyVhhEJAQrgjBAAihP2c3a/kP8NeNKOG2Z4q09U0vZqNSRW
YR+I4EdAngQVfYgv96Cn8BH9c4pz7Cs3/LSKxoOzPMl055wuD2adLr5tugeFhqSv
+wqoV/IIX9xsqE41iWCHS2lmlY4QPUqwz9D5cTnQBeF8Gc6e0UM5q6Nt7m4NBKho
oYdiCSN8EG7ggWO5gpopOsLSl7J+Af8m/41uiuV6cQDwTU9sHUjQjFVGZ+1Z4h54
MPYyNnnDI9aFlK8/gs7iyyiJgxwangmmVaV8dbEwI6UGcAq6Xi6QeuNqRTeF7iGS
dhtfeYZ+KJv7RjTnKSFSXLx9EDXFlC32oW2t8B+yTfiEuX4+x4vyalEaUCAxMOEy
I9DkeH9VdBE/+vW08heYo9LznopqmWRj1uTyni2rQyAttsir9OToSQcRzrMMXEsR
mfpneVvIbF9VVaCnN1kgenaukfTg41iCX6r7rpPPJGPHCn2QddUI1YjCuMCp4p8B
GC5FPTdQCTbBQNVDF8jD0M94zUxzn/0LnUSke2feze4WZ7EKn43uEFgr0Vy6uoLz
L9cMd3aBcN4938s7BBvvjpPsDJqgXCoJwPIrefXDANKnKSPCIHoEkyNix80BhbK/
rF2yDTtjsVlTwrs1KiMWsv7NiQMQKy402T7ZsjozvQjW336OlBg8cHT3hML/YSE0
+bYohGrV3i4=
=6L3y
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: