Bug 2418

Summary: /sbin/initlog doesn\'\'t honour /etc/initlog.conf
Product: Sisyphus Reporter: imz <vanyaz>
Component: serviceAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P5 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2003-03-24 15:18:34 MSK
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 arguments)
facility local7
% 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
---
initscripts-5.49-ipl53mdk
Comment 1 Dmitry V. Levin 2003-05-22 19:26:41 MSD
Fixed in 0.3-alt1
Comment 2 Dmitry V. Levin 2003-05-22 19:26:41 MSD
Fixed in 0.3-alt1