Bug 773089
Summary: | Encrypted swap device not enabled when booting | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Krüger <stadtkind2> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | agk, dwysocha, johannbg, lvm-team, mbroz, metherid, mschmidt, notting, okozina, pjones, plautrba, prockai, systemd-maint, whulbert |
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-02-01 09:17:39 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: |
Description
Stefan Krüger
2012-01-10 22:04:57 UTC
crypttab is processed by systemd, reassigning Probably a duplicate of bug 711150. Please try systemd-37-6.fc16 (currently pending for updates-testing). Still not working # free -m total used free shared buffers cached Mem: 743 208 535 0 6 120 -/+ buffers/cache: 81 662 Swap: 0 0 0 # systemctl list-units --all | grep swap dev-disk...lv_swap.device loaded active plugged /dev/disk/by-id/dm-name-VolGroup-lv_swap dev-mapper-swap.device loaded inactive dead dev-mapper-swap.device dev-mapp...lv_swap.device loaded active plugged /dev/mapper/VolGroup-lvswap dev-VolG...lv_swap.device loaded active plugged /dev/VolGroup/lv_swap cryptsetup loaded active exited Cryptography Setup for swap dev-mapper-swap.swap loaded inactive dead /dev/mapper/swap swap.target loaded active active Swap # rpm -qa | grep systemd systemd-37-6.fc16.x86_64 systemd-units-37-6.fc16.x86_64 systemd-sysv-37-6.fc16.x86_64 Does "udevadm info -q all --name=/dev/mapper/swap" show "E: SYSTEMD_READY=0"? That would point to bug 711394. Do you have any messages about an "ordering cycle" in dmesg and/or /var/log/messages? # udevadm info -q all --name=/dev/mapper/swap | grep SYSTEMD_READY E: SYSTEMD_READY=0 # dmesg | grep "ordering cycle" [ 2.666598] systemd[1]: Found ordering cycle on local-fs.target/start [ 2.666652] systemd[1]: Breaking ordering cycle by deleting job fedora-storage-init-late.service/start and on another system without systemd-37-6.fc16 multiple times: # dmesg | grep "ordering cycle" [ 5.811655] systemd[1]: Found ordering cycle on local-fs.target/start [ 5.811707] systemd[1]: Breaking ordering cycle by deleting job cryptsetup/start [ 9.909999] systemd[1]: Found ordering cycle on cryptsetup/start [ 9.978347] systemd[1]: Found ordering cycle on cryptsetup/start [ 9.978400] systemd[1]: Breaking ordering cycle by deleting job cryptsetup/start [ 9.981370] systemd[1]: Found ordering cycle on cryptsetup/start [ 9.981421] systemd[1]: Breaking ordering cycle by deleting job cryptsetup/start [ 9.982226] systemd[1]: Found ordering cycle on cryptsetup/start [ 9.982276] systemd[1]: Breaking ordering cycle by deleting job cryptsetup/start [ 9.982772] systemd[1]: Found ordering cycle on cryptsetup/start [ 9.982820] systemd[1]: Breaking ordering cycle by deleting job cryptsetup/start PS: with systemd-37-6.fc16 the system takes longer to boot... JFYI systemd-37-11.fc16 does not fix this problem, even though it says: [ 13 ] Bug #759402 - systemd does not activate encrypted swap anymore https://bugzilla.redhat.com/show_bug.cgi?id=759402 The command swapon -a is still needed after every reboot. (In reply to comment #6) > # udevadm info -q all --name=/dev/mapper/swap | grep SYSTEMD_READY > E: SYSTEMD_READY=0 A symptom of bug 711394. Installing the udisks package may help as a workaround. *** This bug has been marked as a duplicate of bug 711394 *** |