Mailinglist Archive: opensuse-bugs (6619 mails)

< Previous Next >
[Bug 728565] rsyslogd: only rsyslog.early.conf is used

https://bugzilla.novell.com/show_bug.cgi?id=728565

https://bugzilla.novell.com/show_bug.cgi?id=728565#c9


Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
InfoProvider|maintenance@xxxxxxxxxxxx |weigelt.bernd@xxxxxx

--- Comment #9 from Dr. Werner Fink <werner@xxxxxxxx> 2011-11-14 08:50:27 UTC
---
Which line do you have commented out?

config=/etc/rsyslog.conf

??

this would lead to the assumption that you do not have any action
line in /etc/rsyslog.conf using the @ sysmbol ... right?

This because after my change the part for rsyslogd looks like this
one:

rsyslogd)
syslog=rsyslogd
config=/etc/rsyslog.conf
socksdir=/var/run/rsyslog
socks=$socksdir/additional-log-sockets.conf
#
# In hope this works with the rsyslog.early.conf file
# (hard to implement for rsyslog with its includes/if
# statements)...
#
if test -s "$config" ; then
while read select action ; do
case "$select" in
\#*|"")
continue
esac
case "$action" in
*@*)
network=network.target
break
esac
done < ${config}
test -z "$network" && config=/etc/rsyslog.early.conf
else
config=/etc/rsyslog.early.conf
fi
if test -r "$config" ; then
while read one two rest ; do
if test "$one" = '$ModLoad' -a "$two" = 'imklog.so' ; then
start_klogd=no
break
fi
done < $config
fi
/bin/mkdir -p -m 0755 ${socksdir#/var}
touch ${socks#/var}
compat=${RSYSLOGD_COMPAT_VERSION:-${RSYSLOGD_NATIVE_VERSION}}
params="-c ${compat:-3} -f $config $RSYSLOGD_PARAMS"
;;

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References