| Summary: | systemd not unlocking encrypted swap partition | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul W. Frields <stickster> | ||||
| Component: | systemd | Assignee: | Lennart Poettering <lpoetter> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | johannbg, lpoetter, metherid, mschmidt, notting, pfrields, plautrba | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-04-20 16:14:47 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
ob dev-mapper-luks\x2d246447f8\x2dceb7\x2d4740\x2d970f\x2ded0d072d0aff.device/start timed out. Seems your swap device never shows up. Can you try upgrading to the newest initscripts build from koji? It fixes a couple of things with LVM and LUKS stacked on each other. I'm currently using initscripts-9.29-1.fc15, and the problem appears to be fixed. |
Created attachment 491937 [details] First few minutes of boot from /var/log/messages Description of problem: Boot takes an extremely long time. I rebooted with systemd.log_level=debug (messages log attached) and found that the timeout was happening while waiting for the swap device to become available. (My encrypted partitions share a global passphrase, confirmed it works using a manual "cryptsetup luksOpen".) Version-Release number of selected component (if applicable): systemd-24-1.fc15.x86_64 /etc/fstab: # Created by anaconda on Mon Apr 11 17:46:42 2011 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/luks-7ed2e726-4dfb-488d-9a1b-9b308d2b47a6 / ext4 defaults 1 1 UUID=aed9c498-d4d0-4e9d-acc9-040481e45a9a /boot ext4 defaults 1 2 /dev/mapper/luks-c893e477-4de3-4e65-a507-09ee6bbb046b /home ext4 defaults 1 2 /dev/mapper/vgTpad-var /var ext4 defaults 1 2 /dev/mapper/vgTpad-virtimages /var/lib/libvirt/images ext4 defaults 1 2 /dev/mapper/vgTpad-mysql /var/lib/mysql ext4 defaults 1 2 /dev/mapper/vgTpad-www /var/www ext4 defaults 1 2 /dev/mapper/vgTpad-fedora /var/www/fedora ext4 defaults 1 2 /dev/mapper/luks-246447f8-ceb7-4740-970f-ed0d072d0aff swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0