Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 4331 - Function "passed" logged as "succeeded"
Summary: Function "passed" logged as "succeeded"
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-08-03 13:12 UTC by Jos Vos
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-08-03 13:31:22 UTC

Attachments (Terms of Use)

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.

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