Red Hat Bugzilla – Bug 4331
Function "passed" logged as "succeeded"
Last modified: 2008-05-01 11:37:51 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.
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.