Bug 755164
| Summary: | systemd will not enable LUKS-encrypted swap devices at boot | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Deron Meranda <deron.meranda> | ||||||
| Component: | systemd | Assignee: | systemd-maint | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 16 | CC: | gregorio.gervasio, johannbg, johannbg, lpoetter, metherid, mschmidt, notting, plautrba, systemd-maint | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-09-14 15:33:34 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Deron Meranda
2011-11-19 09:03:31 UTC
Problems with encrypted swaps may be related to bug 711150. Are you seeing an ordering cycle logged in dmesg and/or /var/log/messages? If it's not that, please boot with "log_buf_len=1M systemd.log_level=debug systemd.log_target=kmsg" and attach the output of dmesg. Created attachment 534864 [details]
Output of dmesg after boot with systemd in debug log mode
Booted with systemd.log_level=debug, system versions:
kernel-3.1.1-2.fc16.x86_64
systemd-37-3.fc16.x86_64
systemd-sysv-37-3.fc16.x86_64
systemd-units-37-3.fc16.x86_64
Created attachment 534866 [details]
systemctl dump
The output of "systemctl dump" after boot
I attached more debugging information. On this system I have two swap devices set up, one is LUKS encrypted, the other is not. /dev/vg_beryl/lvswap - LUKS encrypted swap (/dev/dm-5) /dev/vg_beryl/lv_swap2 - a plain swap device (/dev/dm-14) After boot, /proc/swaps contains: Filename Type Size Used Priority /dev/dm-14 partition 1048572 0 0 If I then run "systemctl start swap.target", then /proc/swaps contains: Filename Type Size Used Priority /dev/dm-14 partition 1048572 0 0 /dev/dm-18 partition 33554428 0 0 Is this still an issue with the latest systemd release ( 37-11 ) or can this bug be closed? Release 37-11 fixes the issue for me. OK, closing. |