apport information ** Tags added: apport-collected
** Description changed: Hi I get many trouble in trying to generate a correct initrd.img for the following configuration clear lvm on /dev/sd4 partition (msdos) several logical volumes, some clear and some luks-encrypted / et /home on encrypted logical volumes, each with its own 512 byte binary key-file on removable device (USB stick) /boot et /usr on clear logical volumes I am still running 14.04 due to trouble with 16.04, maybe because I missed the introduction of the "initramfs" crypttab option. I dropped any investigation hoping for the trouble being solved with 18.04. This is not the case. I run into trouble as soon as I tried to update initrd.img with update- initramfs. victor-odos goes to /, victor-oikia goes to /home I rewrote passdev and stored it in /lib/cryptsetup/bash/passdev 1/ with crypttab referencing my binary key-files victor-odos /dev/mapper/victor-odos_l /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.ckf/victor-odos:1 luks,keyscript=/lib/cryptsetup/bash/passdev,initramfs victor-oikia /dev/mapper/victor-oikia_l /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.ckf/victor-oikia:1 luks,keyscript=/lib/cryptsetup/bash/passdev,initramfs I join two files : /dev/stdout sent to .log and /dev/stderr to .err 2/ with no key-files victor-odos /dev/mapper/victor-odos_l none luks,initramfs victor-oikia /dev/mapper/victor-oikia_l none luks,initramfs I don't know how to bypass this issue When this has been solved, I intend to detach luks headers. How to code crypttab as I don't know the operational file hierarchy inside initrd ? + --- + ProblemType: Bug + ApportVersion: 2.20.9-0ubuntu7.2 + Architecture: amd64 + AudioDevicesInUse: + USER PID ACCESS COMMAND + /dev/snd/controlC0: ubuntu 2114 F.... pulseaudio + CasperVersion: 1.394 + CurrentDesktop: ubuntu:GNOME + DistroRelease: Ubuntu 18.04 + LiveMediaBuild: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) + MachineType: Dell Inc. Vostro 3550 + Package: linux (not installed) + ProcEnviron: + TERM=xterm-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=C.UTF-8 + SHELL=/bin/bash + ProcFB: 0 inteldrmfb + ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/username.seed boot=casper iso-scan/filename=/amorces/username-18.04.1-desktop-amd64.iso quiet splash --- + ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18 + RelatedPackageVersions: + linux-restricted-modules-4.15.0-29-generic N/A + linux-backports-modules-4.15.0-29-generic N/A + linux-firmware 1.173.1 + Tags: bionic + Uname: Linux 4.15.0-29-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo + _MarkForUpload: True + dmi.bios.date: 02/18/2014 + dmi.bios.vendor: Dell Inc. + dmi.bios.version: A12 + dmi.board.vendor: Dell Inc. + dmi.board.version: A12 + dmi.chassis.type: 8 + dmi.chassis.vendor: Dell Inc. + dmi.chassis.version: Not Specified + dmi.modalias: dmi:bvnDellInc.:bvrA12:bd02/18/2014:svnDellInc.:pnVostro3550:pvrNotSpecified:rvnDellInc.:rn:rvrA12:cvnDellInc.:ct8:cvrNotSpecified: + dmi.product.name: Vostro 3550 + dmi.product.version: Not Specified + dmi.sys.vendor: Dell Inc. ** Attachment added: "AlsaInfo.txt" https://bugs.launchpad.net/bugs/1806914/+attachment/5220713/+files/AlsaInfo.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1806914 Title: [18.04] update-initramfs fails to generate correct initrd Status in linux package in Ubuntu: Confirmed Bug description: Hi I get many trouble in trying to generate a correct initrd.img for the following configuration clear lvm on /dev/sd4 partition (msdos) several logical volumes, some clear and some luks-encrypted / et /home on encrypted logical volumes, each with its own 512 byte binary key-file on removable device (USB stick) /boot et /usr on clear logical volumes I am still running 14.04 due to trouble with 16.04, maybe because I missed the introduction of the "initramfs" crypttab option. I dropped any investigation hoping for the trouble being solved with 18.04. This is not the case. I run into trouble as soon as I tried to update initrd.img with update-initramfs. victor-odos goes to /, victor-oikia goes to /home I rewrote passdev and stored it in /lib/cryptsetup/bash/passdev 1/ with crypttab referencing my binary key-files victor-odos /dev/mapper/victor-odos_l /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.ckf/victor-odos:1 luks,keyscript=/lib/cryptsetup/bash/passdev,initramfs victor-oikia /dev/mapper/victor-oikia_l /dev/disk/by-uuid/4146dfad-26f0-4aec-99c3-8ab00c3e4297:/.ckf/victor-oikia:1 luks,keyscript=/lib/cryptsetup/bash/passdev,initramfs I join two files : /dev/stdout sent to .log and /dev/stderr to .err 2/ with no key-files victor-odos /dev/mapper/victor-odos_l none luks,initramfs victor-oikia /dev/mapper/victor-oikia_l none luks,initramfs I don't know how to bypass this issue When this has been solved, I intend to detach luks headers. How to code crypttab as I don't know the operational file hierarchy inside initrd ? --- ProblemType: Bug ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: ubuntu 2114 F.... pulseaudio CasperVersion: 1.394 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 LiveMediaBuild: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) MachineType: Dell Inc. Vostro 3550 Package: linux (not installed) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/username.seed boot=casper iso-scan/filename=/amorces/username-18.04.1-desktop-amd64.iso quiet splash --- ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18 RelatedPackageVersions: linux-restricted-modules-4.15.0-29-generic N/A linux-backports-modules-4.15.0-29-generic N/A linux-firmware 1.173.1 Tags: bionic Uname: Linux 4.15.0-29-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 02/18/2014 dmi.bios.vendor: Dell Inc. dmi.bios.version: A12 dmi.board.vendor: Dell Inc. dmi.board.version: A12 dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.chassis.version: Not Specified dmi.modalias: dmi:bvnDellInc.:bvrA12:bd02/18/2014:svnDellInc.:pnVostro3550:pvrNotSpecified:rvnDellInc.:rn:rvrA12:cvnDellInc.:ct8:cvrNotSpecified: dmi.product.name: Vostro 3550 dmi.product.version: Not Specified dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1806914/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp