ALT Linux Bugzilla – #2418
/sbin/initlog doesn\'\'t honour /etc/initlog.conf
Last modified: 2003-08-25 15:18:46
You need to
before you can comment on or make changes to this bug.
The `facility\' setting in /etc/initlog.conf makes no difference in initlog\'s
behaviour. The corresponding argument in commnad line makes difference.
In this example, both messages should be written to the same file.
% fgrep facility /etc/initlog.conf
# This sets the default logging facility. (can override with command line
% initlog -n D -e 1
% initlog -f local7 -n E -e 1
% find /var/log -type f | xargs grep \'\\(D\\|E\\) succeed\'
/var/log/user/info:Mar 24 15:13:16 arrakis D: D succeeded
/var/log/syslog/boot:Mar 24 15:13:19 arrakis E: E succeeded
/var/log/syslog/messages:Mar 24 15:13:16 arrakis D: D succeeded
/var/log/syslog/messages:Mar 24 15:13:19 arrakis E: E succeeded
Fixed in 0.3-alt1