Red Hat Bugzilla – Bug 440187
/var/log/messages hardcoded in /usr/sbin/kerneloops
Last modified: 2011-12-13 17:28:52 EST
Description of problem:
The filename /var/log/messages is hardcoded in the kerneloops binary. This
means that it's basically unusable if (for example) the machine is running
syslog-ng and the actual filename is /var/log/messages-YYYYMMDD or similar.
It would be good if it supported a '-f filename' option, at which point I can
handle the rest of the problem (like dealing with a changing filename)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
You can add '--file <name>' and it will scan that file in addition to the hardcoded /var/log/messages.