Home_greyopenFATE - openSUSE feature tracking > #311316
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Improve syslog daemon switch and SystemV & SystemD integration

Feature state

openSUSE Distribution


Currently all syslog daemons (syslogd,rsyslog,syslog-ng) are started via
script and switched using the
variable in

This provides a single, daemon independent, interface to the syslog service for

  • log rotation (
    files just call
    /etc/init.d/syslog reload
  • allows programs to request additional
    sockets by adding a
  • start
    when the daemon needs it or skip when the syslog daemon has built-in
The /etc/init.d/syslog script handles the above cases, even syslogd needs e.g. the additional sockets
via -a parameter while rsyslog & syslog-ng in the config file (generated & included in main config).

Because there are no conflicts between the daemon packages, this even allows the use a different daemon to handle local machine logs and a different to implement a log-host (with additional init script), when the user wishes to do it.

On openSUSE-11.4,
systemd may optionally be used instead of
sysvinit /
upstart .
We've adopted the syslog-daemons (https://bugzilla.novell.com/show_bug.cgi?id=656104 ) to support systemd socket activation [systemd.socket(5)] allowing to restart and switch between daemons without to close the /dev/log socket(s). We currently do not use a systemd native
file, because we'd have to start it via /etc/init.d/syslog due to features listed above anyway and systemd exposes the /etc/init.d/syslog script as LSB

This request is to rethink all the mechanisms and improve the current syslog packages. It includes splits/changes to the syslog packages, adoption of all packages that request additional chroot sockets, adoption of yast2 modules that may configure the syslog service and systemd to provide all the functionality required to implement the systemd socket activation support in Type=forking systemd.service(5) mode as shared library and a devel package (reported as https://bugzilla.novell.com/show_bug.cgi?id=656259 ). I consider this library as mandatory for any future changes regarding systemd socket activation, because at the moment all the required code is included
inline in (at least) 3 daemons + startproc and we have to get rid of this as soon as possible.



icons/user_comment.png M. T. wrote: (6 years ago)

Done by Werner on 12.1 milestone 5.

Last change: 4 years ago
Score: 2
  • Negative: 0
  • Neutral: 0
  • Positive: 2
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint