[OE-core] [PATCH 0/2] disallow multiple syslog daemons to be installed

ChenQi Qi.Chen at windriver.com
Mon Sep 11 01:44:11 UTC 2017


ping

On 09/05/2017 05:55 PM, Chen Qi wrote:
> 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(-)
>




More information about the Openembedded-core mailing list