Bug 4331 - Function "passed" logged as "succeeded"
Function "passed" logged as "succeeded"
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-08-03 09:12 EDT by Jos Vos
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-03 09:31:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jos Vos 1999-08-03 09:12:20 EDT
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 09:31:59 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.