| Summary: | new install with old encrypted /home partition added later does not prompt for password at boot | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Vander Stichele <thomas> | ||||||
| Component: | systemd | Assignee: | systemd-maint | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 16 | CC: | johannbg, lpoetter, metherid, mschmidt, notting, plautrba, systemd-maint | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-11-09 13:08:44 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: |
|
||||||||
|
Description
Thomas Vander Stichele
2011-11-08 23:43:30 UTC
Created attachment 532427 [details]
dmesg after booting, timing out, and logging in on console
Created attachment 532428 [details]
dmesg output after starting from the command line just the service with systemctl start dev-mapper-luks...
After lots of experimenting, it seems that I did not have /etc/crypttab with any content. I don't know much about luks and cryptsetup, so I will assume this file is mandatory. However, why can't the boot figure out that asking for automounting an encrypted partition because of /etc/fstab without a corresponding line in /etc/crypttab isn't going to work ? (In reply to comment #3) > However, why can't the boot figure out that asking for automounting an > encrypted partition because of /etc/fstab without a corresponding line in > /etc/crypttab isn't going to work ? fstab itself does not contain enough information. It does not say that it is an encrypted partition and that an action is required to activate the device. systemd cannot assume this just from the device name. |