Bug 472077

Summary: No icon on login screen to access boot warnings
Product: [Fedora] Fedora Reporter: Christopher Beland <beland>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: fedora, krh, notting, rstrode, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-16 06:26:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Beland 2008-11-18 16:39:57 UTC
http://docs.fedoraproject.org/release-notes/f10preview/en_US/What_is_New_for_Installation_and_Live_Images.html#sn-Plymouth 
says that with Plymouth there is "a status icon on the login screen to view boot warnings".  I do not see such an icon (not holding down any keys), even though at least one of the services produces an orange WARNING status on startup. I do see the messages in /var/log/boot.log as promised.

This is with plymouth-0.6.0-0.2008.11.12.4.fc10.x86_64

Comment 1 Ray Strode [halfline] 2008-11-18 19:10:07 UTC
Hi, we only seem to tell plymouth to show show the icon in the case of errors, not warnings.

Just needs an initscripts tweak to /etc/init.d/functions

Comment 2 Bill Nottingham 2008-11-18 19:17:32 UTC
Hm, the only place we really have warnings in the stock initscripts is 'we fscked; it passed'. It's certainly doable, though.

Comment 3 Charlie Brej 2008-11-18 19:32:24 UTC
The viewer program does have code to show in the bottom bar whether a warning or an error happened. Currently it is set to just show error (if the /var/log/boot.ini and the plymouth/boot.ini files are linked) or nothing.

We could parse the file (if it is linked) and determine if we want an error or a warning icon. I'm just not sure what keyword to trigger on and how general this would be.

Comment 4 Bill Nottingham 2008-11-18 19:41:09 UTC
... I thought the veiwer was triggered on --details being passed to plymouth.

Comment 5 Ray Strode [halfline] 2008-11-18 20:10:41 UTC
yea.  the history is the program used to actually scan the boot log looking for the word "[ FAILED ]" or "[ WARNING ]".  Before I merged it (it was a patch from Matthias) I got rid of that and just made it react to --details.

Comment 6 Bug Zapper 2008-11-26 05:33:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Christopher Beland 2008-12-22 21:58:39 UTC
This is working OK in F11 rawhide with plymouth-0.6.0-2.fc11.x86_64.