FS#31085 - [filesystem] /etc/crypttab requires third field
Attached to Project:
Arch Linux
Opened by Jeremy (loserMcloser) - Thursday, 09 August 2012, 22:06 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 November 2012, 12:35 GMT
Opened by Jeremy (loserMcloser) - Thursday, 09 August 2012, 22:06 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 13 November 2012, 12:35 GMT
|
Details
Description:
crypttab(5) says: The third field specifies the encryption password. If the field is not present or the password is set to none, the password has to be manually entered during system boot. I tried leaving the third field "not present" on an entry in /etc/crypttab, and on the next boot initscripts complained that I was using the legacy Archlinux crypttab format (though I was not), and then dropped me down to init level 1 to fix the fact that /etc/fstab listed a filesystem under /dev/mapper/ that didn't exist. This isn't really a problem, since the fix was merely to change the third field in that entry in /etc/crypttab to "none", but anyways there is definitely a discrepancy between crypttab(5) and initscripts about what is allowed as the third field in /etc/crypttab. Additional info: * package version(s) filesystem 2012.7-1 initscripts 2012.07.5-1 cryptsetup 1.5.0-1 Steps to reproduce: 1. Add an entry to crypttab that specifies only the first two fields, a configuration that crypttab(5) claims is allowed. 2. Reboot. |
This task depends upon
Closed by Tom Gundersen (tomegun)
Tuesday, 13 November 2012, 12:35 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed in 2012.8.3, please reopen if still broken
Tuesday, 13 November 2012, 12:35 GMT
Reason for closing: Fixed
Additional comments about closing: should be fixed in 2012.8.3, please reopen if still broken