The /var/log/boot.log file is empty in RedHat (5.3 is what tested with and seen), this is a known problem, see link and info below to workaround
Basically it is doing some # out of a file.
https://bugzilla.redhat.com/show_bug.cgi?id=151238
Robin R. Price II 2010-04-22 12:21:35 EDT Comment 49
Putting in a workaround for anyone who is curious:
* You need to edit /etc/init.d/functions file. There are 4 points: success,
failure, passed, warning.
* before:
:
# Log that something succeeded
success() {
#if [ -z "${IN_INITLOG:-}" ]; then
# initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
#fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_success
return 0
}
:
* after:
:
# Log that something succeeded
success() {
if [ -z "${IN_INITLOG:-}" ]; then
initlog $INITLOG_ARGS -n $0 -s "$1" -e 1
fi
[ "$BOOTUP" != "verbose" -a -z "${LSB:-}" ] && echo_success
return 0
}
:
Do this to all four functions. Note: Your console will be flooded by each
service echoing out: "WARNING: initlog is deprecated and will be removed in a
future release" but /var/log/boot.log will be populated.
-- Robin
0 Comments