[hardy] esc key during fsck check causes usplash to break into text mode

Bug #194017 reported by KrazyPenguin
26
Affects Status Importance Assigned to Milestone
usplash (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

During a pre-determined number of boots, Hardy will do a fsck disk check.
This is now done in graphical mode, and the user is given the option to use the [Esc]
key to skip the check and continue booting.
When the [Esc] key is pressed , Hardy goes into a text mode.
This should NOT happen, as Hardy should continue in graphics mode even
if its' skipping the test.

(Alpha 4 - completely updated Feb 21, 2008)

Related branches

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I confirm with alpha 5

Changed in usplash:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
lsmobrian (brian-j-porter) wrote :

Confirmed. After pressing esc to canel, fsck runs in text mode. Does not show text based status bar
I thought I locked my system up when i hit escape so i pressed ctrl+alt+del and let it run in graphical then tried it again
sudo touch /forcefsck

/var/log/fsck/checkfs and /var/log/fsck/checkroot look normal

Revision history for this message
Kees Cook (kees) wrote :

I believe this is due to usplash requiring a FIFO output reader when getting the "INPUTCHAR" command. There is a race condition in the fsck script that the reader starts after the write is sent. usplash will exit when it wins the race.

e.g.:

$ sudo -s
# usplash -c -v &
# usplash_write "INPUTCHAR"
[1]+ Exit 1 usplash -c -v

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package usplash - 0.5.16

---------------
usplash (0.5.16) hardy; urgency=low

  * libusplash.c: INPUTCHAR did not sleep correctly due to animation
    signals (LP: #194017).
  * libusplash.c: get_timeout_char() was not re-enabling signals.
  * usplash.c, usplash_write.c: removed command data-loss race introduced by
    needless re-opening of input fifo (LP: #200299).
  * usplash.c: "TIMEOUT 0" was causing 100% CPU in select with timeout of 0.

 -- Kees Cook <email address hidden> Sun, 09 Mar 2008 14:16:06 -0700

Changed in usplash:
status: Triaged → Fix Released
Revision history for this message
Janek (thefoxx) wrote :

I don't think it's fixed because I installed Hardy beta today with all updates and I still have this problem. I think after pressing ESC the boot does not only proceed in text mode but it also continues checking the drives because the drive worked for a long time but afterwards the boot continued.

It's for me like for lsmobrian but I waited for the end of the check.

Changed in usplash:
status: Fix Released → New
Revision history for this message
Sancho (sancho-sancho) wrote :

I can confirm - I have the newest update and both the problems with the text mode AND the proceeding with the disk check remains.

Changed in usplash:
status: New → Confirmed
Revision history for this message
Dean Loros (autocrosser) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Closing this again, since the original reason was fixed (see comment 4). Your recent trouble is most likely bug 203322, so please let's continue that discussion there. Thank you!

Changed in usplash:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.