Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#17631 - [initscripts] external USB partitions in rc.sysinit
Attached to Project:
Arch Linux
Opened by Mihai Militaru (akephalos) - Monday, 28 December 2009, 14:39 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 10 August 2010, 13:16 GMT
Opened by Mihai Militaru (akephalos) - Monday, 28 December 2009, 14:39 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 10 August 2010, 13:16 GMT
|
DetailsDescription: Some external USB drives take a longer time to start. In these conditions, it's corresponding device blocks have not time to populate /dev, although rc.sysinit tries to map crypttab entries, or to check and mount them.
The solution is to wait for each device to appear in /dev using a more elegant function than 'sleep 5'. Additional info: * package version: 2009.08-1 * config and/or log files: - default rc.sysinit script - crypttab containing entries like: + # NAME SOURCE DEVICE PASSWORD OPTIONS + external /dev/sdb1 /path/to/external.key ...where /dev/sdb1 is a LUKS partition on an external USB disk, in my case Seagate FreeAgent Desktop - the boot error attests that the device blocks are not found (no such file...) - fsck and mount fail and the system falls to maintenance prompt. Steps to reproduce: - plug-in an external drive with a LUKS partition - add an entry in /etc/crypttab to open the partition at startup using a key file - reboot Note that the bug might not be reproductible with responsive drives. I'm attaching the sysinit file I currently use, I modified the crypttab part in it only, but it should be used for fsck and other operations requiring USB disks as well, imo: - function: lines 158 - 174 - usage: line 190 |
This task depends upon
rc.sysinit
So basically I have no idea if this modification is required anymore or if it can still be applicable; I can't test it, too.