Comment 6 for bug 214271

Revision history for this message
Paolo Bernardi (bernarpa) wrote :

I dealt with the same problem on Ubuntu 9.04; since I use an random key encrypted swap, mkswap is executed at every boot and the condition c) from Alexander Stephanov's post happens accordingly. The patch from Florent Mertens gets two hunks but the concept is still valid; in particular I had just to edit /usr/share/initramfs-tools/scripts/local-premount changing the line

/sbin/usplash_write "TIMEOUT ${slumber}" || true

with

/sbin/usplash_write "TIMEOUT $(( ${slumber} + 2 ))" || true

I couldn't find where to apply the second part of the patch; anyway with the only modification above now usplash doesn't go timeout anymore.

I also wrote a blog post about this:
http://paolobernardi.wordpress.com/2009/10/02/fix-ubuntu-usplash-stops-waiting-for-resume-device/