Mailinglist Archive: opensuse (1523 mails)

< Previous Next >
Re: [opensuse] Why has syslog-ng changed to rsyslog?
  • From: Lars Müller <lmuelle@xxxxxxx>
  • Date: Tue, 30 Mar 2010 11:09:46 +0200
  • Message-id: <20100330090946.GA12191@xxxxxxxxxxxxxxxx>
On Mon, Mar 29, 2010 at 09:02:41PM -0400, Anton Aylward wrote:
[ 8< ]
When I look at the postinstall part of the syslog-ng installation I see
this:

# check if daemon configured in SYSLOG_DAEMON is installed
# and switch to ourself if it's missed
#
source etc/sysconfig/syslog
replace_syslog=no
if test "$SYSLOG_DAEMON" != "syslog-ng" ; then
if test -z "$SYSLOG_DAEMON" || \
test ! -x sbin/${SYSLOG_DAEMON} ; then
replace_syslog=yes
fi
fi
if test "$replace_syslog" = "yes" ; then
sed -i -e 's/^SYSLOG_DAEMON=.*/SYSLOG_DAEMON="syslog-ng"/g' \
etc/sysconfig/syslog
fi

There we are. Its editing the etc/sysconfig/syslog file.
This would happen if, for example, there was a

SYSLOG_DAEMON="rsyslog"

in there.

Very, very likely a bug and not a feature. :/

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

Please add further comments there.

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >