Mailinglist Archive: opensuse-bugs (4847 mails)

< Previous Next >
[Bug 654929] New: patterns-openSUSE-base breaks switch from rsyslog to syslog-ng or syslogd
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 19 Nov 2010 15:14:10 +0000
  • Message-id: <bug-654929-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

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

https://bugzilla.novell.com/show_bug.cgi?id=654929#c0


Summary: patterns-openSUSE-base breaks switch from rsyslog to
syslog-ng or syslogd
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: All
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Patterns
AssignedTo: coolo@xxxxxxxxxx
ReportedBy: mt@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: werner@xxxxxxxxxx, pczanik@xxxxxxxxxxxxxx
Found By: ---
Blocker: ---


Subject: rsyslog vs. syslog-ng
Date: Friday, 19. November 2010
From: Peter Czanik <pczanik@xxxxxxxxxxxxxx>
To: "opensuse-factory" <opensuse-factory@xxxxxxxxxxxx>

Hello,

No, this e-mail is not about features, as I'm quite biased on the topic,
see my signature :-) It's about installation. Right now one needs to
fight with the base system and know quite a lot of about how syslog is
implented in openSUSE if one wants to run syslog-ng.

The problems seems to be, that rsyslog is tied too deeply to the base
system:

linux-ym5q:/var/log # rpm -e rsyslog
error: Failed dependencies:
rsyslog is needed by (installed) patterns-openSUSE-base-11.3-30.1.x86_64

If I remove it during installation, it will result in a broken system
(at least was so when I last tried). If I remove it later by rpm, it
comes back with an upgrade. Which is obviously not a nice situation,
considering, that if rsylog is present on the machine, then it is
started even if syslog-ng is installed. Even if I set SYSLOG_DAEMON to
"syslog-ng" in /etc/sysconfig/syslog, it is set back to "" or "rsyslog"
when rsyslog is updated.

So right now the only situation when syslog-ng works correctly on
openSUSE, when I remove rsyslogd after(!) installation by breaking
patterns-openSUSE-base and lock it, so it can't come back. Well, lets
say, that it's an ugly solution...

I'd like to ask how resolve this situation. I'm quite sure, that rsyslog
needs to be removed to patterns-openSUSE-base. But I'm not so sure in
the next steps as I'm not (yet) an rpm expert. Could all of the syslog
packages provide "syslog" functionality, which is required by the base
pattern, and the syslog packages (rsyslog, syslog-ng and syslogd)
conflict each other? This way syslog was still required, but only the
chosen implementation would be installed on the system.

Peter Czanik (CzP) <czanik@xxxxxxxxxx>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/
-------------------------------------------------------------

This is AFAIS correct:

# rpm -q syslogd syslog-ng rsyslog
syslogd-1.4.1-720.1.x86_64
syslog-ng-3.1.1-4.1.1.x86_64
rsyslog-5.4.0-2.7.x86_64
# rpm -e rsyslog
error: Failed dependencies:
rsyslog is needed by (installed)
patterns-openSUSE-base-11.3-22.1.x86_64

It is not possible to switch to another syslog daemon without to
break these RPM deps.

I'd say, the rsyslog dependency has to be changed from 'rsyslog' to 'syslog';
all three daemons provide this in their RPM provides. Question is, how to
trigger rsyslog installation by default. Using "Recommends: rsyslog" ?

--
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 >
This Thread
  • No further messages