Bug ID | 1185512 |
---|---|
Summary | dracut (mkinitrd) does not update /etc/crypttab |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Major |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | Ulrich.Windl@rz.uni-regensburg.de |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
After changing /etc/crypttab and rebuilding initrd, I noticed (after booting) that the system failed to boot as the /etc/inittab in initrd was obsolete: # ll /etc/crypttab; lsinitrd |grep crypttab -rw------- 1 root root 173 Apr 30 18:35 /etc/crypttab -rw------- 1 root root 37 Mar 13 17:02 etc/crypttab Problem caused during boot: 2021-04-29T14:01:30.712242+02:00 localhost systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-7135c231\x2d90f1\x2d4a16\x2daf63\x2d3d7190a1f1c0.device. 2021-04-29T14:01:30.712591+02:00 localhost systemd[1]: Dependency failed for /dev/disk/by-uuid/7135c231-90f1-4a16-af63-3d7190a1f1c0. 2021-04-29T14:01:30.712973+02:00 localhost systemd[1]: dev-disk-by\x2duuid-7135c231\x2d90f1\x2d4a16\x2daf63\x2d3d7190a1f1c0.swap: Job dev-disk-by\x2duuid-7135c231\x2d90f1\x2d4a16\x2daf63\ x2d3d7190a1f1c0.swap/start failed with result 'dependency'. The workaround was to mount the root, add "nofail" to /etc/fstab, them rebuild initrd and reboot.