Thanks everyone for the recent testing. In comparing everyone's logs the following observations can be drawn:
1. The assertions made in comment #11 are incorrect. We are not seeing EAGAIN (error code 11) but apparently EACCES (error code 13).
2. The patch I prepared is suited for handling EAGAIN. The reason it works for EACCES as well is simply because it's throwing some sleep in there.
We already know from comment #5 that tossing in some sleep before X starts works around the problem, so that isn't surprising. Still, this patch is probably a better workaround since it only comes into play when the bug has actually happened; on non-bugged boots you'll get a faster non-sleepy startup. For this reason, I'll proceed with polishing up the patch and add it to the archive.
Thanks everyone for the recent testing. In comparing everyone's logs the following observations can be drawn:
1. The assertions made in comment #11 are incorrect. We are not seeing EAGAIN (error code 11) but apparently EACCES (error code 13).
2. The patch I prepared is suited for handling EAGAIN. The reason it works for EACCES as well is simply because it's throwing some sleep in there.
We already know from comment #5 that tossing in some sleep before X starts works around the problem, so that isn't surprising. Still, this patch is probably a better workaround since it only comes into play when the bug has actually happened; on non-bugged boots you'll get a faster non-sleepy startup. For this reason, I'll proceed with polishing up the patch and add it to the archive.