Jonas Meurer wrote:
On 19/11/2007 Dick Middleton wrote:
I suspect that udevsettle is the one you added to cryptsetup. Maybe a
timeout would fix this?
udevsettle indeed supports a --timeout= option, and this would
workaround your delay.
maybe the reason for your 3 minutes delay is that udevsettle has a builtin
timeout of 3 minutes.
That was my assumption.
Do you have any evidence?
I looked at the source - udevsettle has a default timeout of 180s.
I checked that udevsettle as the only function in a run program causes
the deadlock hangup.
Here's a suggested text for documentation somewhere:
"If cryptsetup is to be included in a run program as part of a udev rule
then it should be detached so it runs asynchronously. cryptsetup may
otherwise hang waiting on udevsettle."
I think that's the end of that. Thanks for all your help.
Dick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]