Bug 4331

Summary: Function "passed" logged as "succeeded"
Product: [Retired] Red Hat Linux Reporter: Jos Vos <jos>
Component: initscriptsAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
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: 1999-08-03 13:31:22 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 Jos Vos 1999-08-03 13:12:20 UTC
When the function "passed" is called from some init script
(like after doing fsck in rc.sysinit), it will be displayed
as "[PASSED]" (which is OK), but it will be logged via
syslog as "succeeded", because both "success" and "passed"
use the "-e 1" option of initlog.  This can be rather
confusing, so maybe initlog should get another -e option,
which is logged as "partial failure" or so.

Comment 1 Bill Nottingham 1999-08-03 13:31:59 UTC
Maybe; it's currently logged as succeeded because it is
a successful fsck, even if it was forced to check (sometimes
it's forced to check because of the mount count, etc.)

Of course, if it's completely unsuccessful, you're dropped
to a shell, so it doesn't get logged anyways. ;)

We'll think about this for a future release.