From a02e66c2574900a12e29723b9667c50b2bffdf45 Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Mon, 26 May 2014 15:52:32 -0400 Subject: sysklogd: add syslog user and group and add dependency Some OpenStack components expect the system to contain a syslog user for logging purposes and fail if one doesn't exist. This fix adds the syslog user and group within the sysklogd package since it responsible for the system logging capabilities of the system. This fix also adds a dependency between the package requiring the syslog user to exist. Signed-off-by: Keith Holman Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-extended/syslog/syslog-user.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-openstack/recipes-extended/syslog/syslog-user.inc (limited to 'meta-openstack/recipes-extended/syslog') diff --git a/meta-openstack/recipes-extended/syslog/syslog-user.inc b/meta-openstack/recipes-extended/syslog/syslog-user.inc new file mode 100644 index 0000000..57aba00 --- /dev/null +++ b/meta-openstack/recipes-extended/syslog/syslog-user.inc @@ -0,0 +1,10 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# + +inherit useradd + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system syslog" +USERADD_PARAM_${PN} = "--system --home /var/log -g syslog syslog" + -- cgit v1.2.3-54-g00ecf