Skip to content

disallow multiple syslog daemons to be installed

Chen Qi openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2busybox: fix syslog related meta datameta/recipes-core/busybox/busybox.inc+7 -200 replies
2/2sysklogd: conflict with other syslog daemonsmeta/recipes-extended/sysklogd/sysklogd.inc+4 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] disallow multiple syslog daemons to be installed

In OE core, we had the assumption that multiple syslog daemons could be installed at the same time. We did some work to cope with this assumption, including using update-alternatives to manage syslog related files.

In meta-openembedded, rsyslog and syslog-ng have already set RCONFLICTS to avoid being installed with other syslog daemons.

Checking Fedora and Ubuntu, they both disallow installation of multiple syslog daemons. (For other distros, I haven't checked.)

I support forbidding installing multiple syslog daemons. Reasons are below.
1) It makes things simpler and cleaner.
2) It doesn't make much sense to install multiple syslog daemons.
3) Our current implementation has some problems. One of them is that the /etc/systemd/system/syslog.service symlink is determined by the installation order of syslog daemons, while other syslog related files including syslog configuration files are determined by update-alternatives mechanism. For more info for the /etc/systemd/system/syslog.service symlink, please refer to https://www.freedesktop.org/wiki/Software/systemd/syslog/.

These two patches fix busybox and sysklogd to disallow installing multiple syslog daemons.

The following changes since commit ee5bce2d11e783c0921df47b629025a6b67c44bf:

kernel-dev: Removed bad reference for creating patches. (2017-09-02 00:52:49 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/syslog-conflicts
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/syslog-conflicts

Chen Qi (2):
busybox: fix syslog related meta data
sysklogd: conflict with other syslog daemons

 meta/recipes-core/busybox/busybox.inc       | 27 +++++++--------------------
 meta/recipes-extended/sysklogd/sysklogd.inc | 12 ++++--------
 2 files changed, 11 insertions(+), 28 deletions(-)
Signature · 1 line
1.9.1