Your message dated Fri, 15 Jun 2018 17:00:12 +0000
with message-id <[email protected]>
and subject line Bug#783297: fixed in cryptsetup 2:2.0.3-1
has caused the Debian Bug report #783297,
regarding split initramfs integration into a separate 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 [email protected]
immediately.)


-- 
783297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783297
Debian Bug Tracking System
Contact [email protected] 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: cryptsetup
Source-Version: 2:2.0.3-1

We believe that the bug you reported is fixed in the latest version of
cryptsetup, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Meurer <[email protected]> (supplier of updated cryptsetup 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 [email protected])


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

Format: 1.8
Date: Fri, 15 Jun 2018 15:32:16 +0200
Source: cryptsetup
Binary: cryptsetup-run cryptsetup-bin cryptsetup-initramfs cryptsetup 
libcryptsetup12 libcryptsetup-dev cryptsetup-udeb libcryptsetup12-udeb
Architecture: source amd64 all
Version: 2:2.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Cryptsetup Team 
<[email protected]>
Changed-By: Jonas Meurer <[email protected]>
Description:
 cryptsetup - transitional dummy package for cryptsetup-{run,initramfs}
 cryptsetup-bin - disk encryption support - command line tools
 cryptsetup-initramfs - disk encryption support - initramfs integration
 cryptsetup-run - disk encryption support - startup scripts
 cryptsetup-udeb - disk encryption support - commandline tools (udeb) (udeb)
 libcryptsetup-dev - disk encryption support - development files
 libcryptsetup12 - disk encryption support - shared library
 libcryptsetup12-udeb - disk encryption support - shared library (udeb) (udeb)
Closes: 783297 827200 898516
Changes:
 cryptsetup (2:2.0.3-1) unstable; urgency=medium
 .
   [ Guilhem Moulin ]
   * Split cryptsetup package into cryptsetup-run (init scripts and libraries)
     and cryptsetup-initramfs (initramfs integration).  The 'cryptsetup'
     package is now a transitional dummy package.  (Closes: #783297.)
   * debian/cryptsetup-run.preinst: remove logic for rm_conffile
     /etc/udev/rules.d/z60_cryptsetup.rules, which was added for #493151 in
     2:1.0.6-5.
   * debian/cryptdisks.bash_completion: only complete cryptdisks_stop arguments
     with crypttab(5) targets that already exist, and only complete
     cryptdisks_start targets with crypttab(5) targets that don't exist yet.
     (Closes: #827200.)
   * debian/initramfs/cryptroot-hook:
     + use copy_file() from hook-functions to copy key files to the initrd.
       This ensures that relevant messages are printed in verbose mode.
       (Closes: #898516.)
     + remove backward compatibility support for setting CRYPTSETUP and
       KEYFILE_PATTERN in /etc/initramfs-tools/initramfs.conf.  Since 2:1.7.2-1
       they should be set in /etc/cryptsetup-initramfs/conf-hook.
     + add 'algif_skcipher' kernel module to large initramfs (if the MODULES
       variable isn't "dep").  That module is required for unlocking LUKS2
       devices.
 .
   [ Jonas Meurer ]
   * New upstream release 2.0.3
   * debian/control:
     - Bump standards-version to 4.1.4, no changes required
     - Change my mail address to '[email protected]'
     - Change Vcs links to the new repository on salsa.debian.org
   * debian/README.source: minor improvements
   * debian/doc/crypttab.xml: Fix typo in manpage
Checksums-Sha1:
 cae64480b2b7ad5384d44c241479e00db0894e62 2875 cryptsetup_2.0.3-1.dsc
 a657532362efeccba43a687cd6f98690e64cfeb7 10136680 cryptsetup_2.0.3.orig.tar.gz
 7c3d36c9dd3b14661f5e26dec210c62478fd0802 96936 cryptsetup_2.0.3-1.debian.tar.xz
 fca67112098ac3bd56c38733a668c1a48d8e6490 165008 
cryptsetup-bin-dbgsym_2.0.3-1_amd64.deb
 4bc679451b5a009256d27105791253ade8b6da57 243932 
cryptsetup-bin_2.0.3-1_amd64.deb
 42abd830cf883b70f4874dd9f8d5b2b1ca433bd5 61284 
cryptsetup-initramfs_2.0.3-1_all.deb
 f5eeb7caa8000d07776f45ef23d3b46b058887ca 17104 
cryptsetup-run-dbgsym_2.0.3-1_amd64.deb
 112db340d63f24752773c6db92d9dfa25e759141 174540 
cryptsetup-run_2.0.3-1_amd64.deb
 a54d0903c7a2233a63726228050928e4b9da81b6 47960 
cryptsetup-udeb_2.0.3-1_amd64.udeb
 5abbde5589739a8c9816871008200b2fdf1cf88b 42624 cryptsetup_2.0.3-1_all.deb
 1d84345a0e4b4c3e57fffc9deadb59631a30d94c 9406 
cryptsetup_2.0.3-1_amd64.buildinfo
 2beeab7f94d5b2e84ddd7af890433854a8a9ee75 58488 
libcryptsetup-dev_2.0.3-1_amd64.deb
 9d55d97258d9f256d46430cd43e228a5ea2fe7b6 339940 
libcryptsetup12-dbgsym_2.0.3-1_amd64.deb
 8ceec6a81c8a0cf0fd64033c8bc23f9ce78cfa3b 129068 
libcryptsetup12-udeb_2.0.3-1_amd64.udeb
 a1f5b5a1795022161942be4121570f82c1288940 170912 
libcryptsetup12_2.0.3-1_amd64.deb
Checksums-Sha256:
 3dc30bafcec39fdd45a64520a140f44ffe660f61ea34bce79f42d30bdf4821ad 2875 
cryptsetup_2.0.3-1.dsc
 127f9ffb32f2c7cf7d9a2aebc3e70623c8337588a8bf32032af2447846444b41 10136680 
cryptsetup_2.0.3.orig.tar.gz
 7a04df8f960e3c1defd62d06ba26172264e1cfcbac2bfe847405cf3e11c3883f 96936 
cryptsetup_2.0.3-1.debian.tar.xz
 59455607aa210de5746741e1e95b9d6a326f5bb2405de1998efacf3c376d2e8e 165008 
cryptsetup-bin-dbgsym_2.0.3-1_amd64.deb
 f5ddec8d550e8ed957df613ad88a0edeaeb5f8f16f93af07dba4f74713f4b7a1 243932 
cryptsetup-bin_2.0.3-1_amd64.deb
 164f2c737077307bf231848e247c30868789b2978e2fffb12192b43ae910f8be 61284 
cryptsetup-initramfs_2.0.3-1_all.deb
 b50931911b9122c524333cba944b6af8f8afc41582655bb4a2dba61a6faf2a5c 17104 
cryptsetup-run-dbgsym_2.0.3-1_amd64.deb
 8fc041b7f70443d7097fb75d14a1755f55b0b204f19ae1ba7318cdd4aef2322b 174540 
cryptsetup-run_2.0.3-1_amd64.deb
 c75d7866c873610d3ad946a51969c3647326de65ecfedc40c83310a3cafb69d3 47960 
cryptsetup-udeb_2.0.3-1_amd64.udeb
 b87fcc232983acb8c4e9cafb759228fe5c62ae34e679a58a61b7586df3ee2c4a 42624 
cryptsetup_2.0.3-1_all.deb
 3817549a04a6d813ce65059b280522218f74482884406f49a86be8f8ca5a67cc 9406 
cryptsetup_2.0.3-1_amd64.buildinfo
 45b90e9b43f47c013f7cc7cd4daac0db5267ca8dda69f63176bf9b02ffe63c91 58488 
libcryptsetup-dev_2.0.3-1_amd64.deb
 d320c0a4c349f2b9f0dc6ae3d01dbf14f6b218417ca8394d8cd070a8528ec984 339940 
libcryptsetup12-dbgsym_2.0.3-1_amd64.deb
 9308468ed48ac4188d2d3ebc0b071d38c27c15b0e116a77fb7a10fc506469af0 129068 
libcryptsetup12-udeb_2.0.3-1_amd64.udeb
 f24b56c67e0aa760d066434bf473328a8dd9a0dcc9e9ed8a811f51ffc1597845 170912 
libcryptsetup12_2.0.3-1_amd64.deb
Files:
 37a1a83e5c4b7d4ce8d8959f4669acaa 2875 admin optional cryptsetup_2.0.3-1.dsc
 a48ee58141c665dd90150b4ef8d84860 10136680 admin optional 
cryptsetup_2.0.3.orig.tar.gz
 5b2500c4821ed8b63955c2881b0ab9fc 96936 admin optional 
cryptsetup_2.0.3-1.debian.tar.xz
 1eea76418296a9489a2358285d717197 165008 debug optional 
cryptsetup-bin-dbgsym_2.0.3-1_amd64.deb
 8380f2136aced22cccbe3fb196e796b9 243932 admin optional 
cryptsetup-bin_2.0.3-1_amd64.deb
 5c6fbf4c6a04dd360763f20ddf063009 61284 admin optional 
cryptsetup-initramfs_2.0.3-1_all.deb
 d983483a1481b73634d5d0f730aa1752 17104 debug optional 
cryptsetup-run-dbgsym_2.0.3-1_amd64.deb
 11cd40d930848b405ffa3830e995c049 174540 admin optional 
cryptsetup-run_2.0.3-1_amd64.deb
 62973cfd46db02353737ef7f259294a4 47960 debian-installer optional 
cryptsetup-udeb_2.0.3-1_amd64.udeb
 abde2b79f7ac8c5df4223237978ce134 42624 oldlibs optional 
cryptsetup_2.0.3-1_all.deb
 efb574a1c726073ee9e13839d07519d3 9406 admin optional 
cryptsetup_2.0.3-1_amd64.buildinfo
 7e5a89e77200eea0c870b78530e5d33f 58488 libdevel optional 
libcryptsetup-dev_2.0.3-1_amd64.deb
 ec2f45a1d1ce8e20a6faccc8e95ffb1d 339940 debug optional 
libcryptsetup12-dbgsym_2.0.3-1_amd64.deb
 1effa0d3842c0aaee0aeb852f36bf8ee 129068 debian-installer optional 
libcryptsetup12-udeb_2.0.3-1_amd64.udeb
 ba13c9e463f0ede65263b8c08a0264c5 170912 libs optional 
libcryptsetup12_2.0.3-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEELIzSg9Pv30M4kOeDUmLn/0kQSf4FAlsj0EYACgkQUmLn/0kQ
Sf75ghAAkdcOnAvAON4Lgd2h5JaQlcDiXWqDxxDQyU6QyFUucgYrckFq2G9d/jh7
Ot4UNibRtKG/86SIsAM/9mn+17dmtNM4/w2+j9TIUeT7qbQDwrak+DIJ6kPP+6LG
bM91Cla94nhJ+Wg3h4/c6jbnpCE8R7xlJNss3FjFaEWu0DoE93kAHvHGVP05G0hQ
NjOny6X2y2AmKQp0DnMRImWO4kfNAmX9IZh31+rITfABR1J+e/IW+JMwJD6GZgxC
FToa5PPE+hS3i/BRplornaULFG2e3whlZV2jHGF7Rel9o6go1uEm/Q4HmbKjT0ul
bW4tjJaWks8XfPDPOvwKgWwvI2J3H2yuA8QhcV27271IvDnjZBsYyKA4EidhZ8VQ
uQr9AUxGIzz8lbfaYOjLMk98WVR7oZojm9C7m6ElVxnIE8TUZW7CzBxJwtgp39mg
vKiCrvra63H8V/vAHY3sayvwlA4RHTMw0hNGHKxzJAYLXBfqjD9udReyrS2y6BJ1
ZaoP8da8jHlnouk+9Tor3m+aRaSjpFK5AcRE22qIYQ3wsvjjHcV2rHUbd2jR+maK
Yq5qAuYI5m62eWRlaSLeICJFDYxsb5Piaoy6LTYIc1DYRlkKYnulantd13Mw5WUr
inOQWh0ebT+cg4ts5EbSWknRYCq1Wyj8WdOUk+OteaO+BPDE7MU=
=e7iB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to