From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 183CD77FF5 for ; Tue, 5 Sep 2017 09:50:17 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id v859oIeI007334 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 5 Sep 2017 02:50:19 -0700 (PDT) Received: from pek-qchen1-d1.corp.ad.wrs.com (128.224.162.167) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.361.1; Tue, 5 Sep 2017 02:50:18 -0700 From: Chen Qi To: Date: Tue, 5 Sep 2017 17:55:25 +0800 Message-ID: X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH 0/2] disallow multiple syslog daemons to be installed X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 09:50:18 -0000 Content-Type: text/plain 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