From: Chen Qi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/2] disallow multiple syslog daemons to be installed
Date: Tue, 5 Sep 2017 17:55:25 +0800 [thread overview]
Message-ID: <cover.1504604362.git.Qi.Chen@windriver.com> (raw)
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(-)
--
1.9.1
next reply other threads:[~2017-09-05 9:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 9:55 Chen Qi [this message]
2017-09-05 9:55 ` [PATCH 1/2] busybox: fix syslog related meta data Chen Qi
2017-09-05 9:55 ` [PATCH 2/2] sysklogd: conflict with other syslog daemons Chen Qi
2017-09-11 1:44 ` [PATCH 0/2] disallow multiple syslog daemons to be installed ChenQi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1504604362.git.Qi.Chen@windriver.com \
--to=qi.chen@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.