Bug 1524759
| Summary: | crypttab: "noauto" option is ignored during the boot | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew <avg1209> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | agk, gmazyland, kdudka, lnykryn, msekleta, okozina, ssahani, s, systemd-maint, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-12 19:57:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Andrew
2017-12-12 00:37:38 UTC
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 256
MK digest: d3 d0 fc ad 8c 5c 0a f7 ac e3 4e 41 b2 83 a8 b1 bf 8c f6 87
MK salt: 0b 5f 43 7f 77 4d ff db ba 63 db 53 55 53 ea d4
36 b6 65 65 39 10 d7 57 00 0b b0 af 05 18 a2 a4
MK iterations: 348750
UUID: cc6e6d72-04ff-45df-9236-554b750246c1
Key Slot 0: ENABLED
Iterations: 2790189
Salt: be b0 57 6e d3 06 1e 70 ea 78 5b 30 74 55 f4 81
d2 72 af 22 bd c4 65 7b d0 03 76 89 85 3b fa b5
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
dmesg: audit: type=1130 audit(1513037418.787:77): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-cryptsetup@luks\x2d84961d73\x2d0674\x2d425d\x2db9c5\x2d63c161c672a8 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Hi, crypttab processing is not implemented within cryptsetup component. Lets ask systemd team on their opinion. Hi Ondrej et all, How it used to falwlessly work in F25 then? BTW, when I do some cryptsetup manipulation on the encrypted partition (for instance, by changing the passphrase), the booting process completely stuck at the never ending step: dev-mapper-luks\x2d84961d73\x2d0674\x2d425d\x2db9c5\x2d63c161c672a8.device I haven't found any way to proceed/bypass this step yet. Thanks, -Andrew noauto in crypttab means that that device will not be added to cryptsetup.target. But if you add a mount unit that is mounted during boot using that encrypted device, it'll be "pulled in" by that mount unit and unlocked automatically. To prevent that device from being unlocked automatically, you also need to disable the mount unit. Our documentation for that is not too good. I files a PR upstream to clarify this: https://github.com/systemd/systemd/pull/7620. |