
On Saturday, 4 February 2017 17:48:19 GMT Andrei Borzenkov wrote:
04.02.2017 11:03, Alin M Elena пишет:
Feb 04 07:51:37 circassia dracut-cmdline[146]: Using kernel command line parameters: rd.luks.uuid=luks-1b1dd170-a13d-4d89-a6b5-0eaa84888d9d rd.lvm.lv=system/root root=/dev/mapper/system-root rootfstype=ext4 rootflags=rw,relatime,data=ordered BOOT_IMAGE=/boot/vmlinuz-4.10.0- rc6-2.g18f6269-default root=/dev/mapper/system-root splash=silent quiet showopts
Are they stored kernel options or actually present on kernel command line? I do not see them in the grub line so I suspect the luks info comes from somewhere else. ...
Feb 04 07:51:39 circassia dracut-initqueue[306]: Failed to start systemd- cryptsetup@luks\x2d1b1dd170\x2da13d\x2d4d89\x2da6b5\x2d0eaa84888d9d.servic e: Unit systemd-cryptsetup@luks\x2d1b1dd170\x2da13d \x2d4d89\x2da6b5\x2d0eaa84888d9d.service not found.
OK, now I remember (and I thought there was a bug report about it but I cannot find it). When systemd is used, it relies on generator to create service for root device, but generator is not aware of stored dracut kernel parameters and is able to only process actual kernel command line or /etc/crypttab. Now the case I remember was that after installation dracut did not include /etc/crypttab for root and failed with similar message. Actually, AFAICR there was no /etc/crypttab after installation at all. I think I know the bug you think of... is this https://bugzilla.opensuse.org/show_bug.cgi?id=904987 ? that pointed me to check that /etc/crypttab exists... now I checked that actually is valid and of course is not...
cat /etc/crypttab cr_nvme-2002538435b1b37d4-part2 /dev/disk/by-id/nvme-2002538435b1b37d4-part2 none none ls /dev/disk/by-id/ dm-name-cr-lvm nvme-eui.002538435b1b37d4-part1 dm-name-system-home nvme-eui.002538435b1b37d4-part2 dm-name-system-root nvme-PM951 dm-uuid-CRYPT-LUKS1-1b1dd170a13d4d89a6b50eaa84888d9d-cr-lvm -PM951 dm-uuid-LVM-DPo6X8wTh2ltloJqbAGmTvyVov5S3EnBhX4itQs8LJUTodnCmRDf9ob6L16K2rsH raid-cr-lvm dm-uuid-LVM-DPo6X8wTh2ltloJqbAGmTvyVov5S3EnBQaM4myUMhxvNNEmRzA9lwdFmrKLVfBeo raid-system-home lvm-pv-uuid-I02xcg-WV3n-gTth-hrui-1lNL-0nXZ-yF8erU raid-system-root nvme-eui.002538435b1b37d4 of course I am lost of the meaning of these. Regards, Alin -- Without Questions there are no Answers! _______________________________________ Dr. Alin Marin ELENA http://alin.elena.space/ _______________________________________