diff options
author | Keith Holman <Keith.Holman@windriver.com> | 2014-05-26 15:52:32 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-26 16:02:41 -0400 |
commit | 293cbfc7e52bfb40d6e09e1dc9bd4f76c6e2a3d3 (patch) | |
tree | ce33308fcb29a9b45604083764c8c1cb9edc4b8d /meta-openstack/recipes-extended/syslog | |
parent | eeac2153f8bcc83d02643353cea76a202c9d89fd (diff) | |
download | meta-cloud-services-293cbfc7e52bfb40d6e09e1dc9bd4f76c6e2a3d3.tar.gz |
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 <Keith.Holman@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended/syslog')
-rw-r--r-- | meta-openstack/recipes-extended/syslog/syslog-user.inc | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
1 | # | ||
2 | # Copyright (C) 2014 Wind River Systems, Inc. | ||
3 | # | ||
4 | |||
5 | inherit useradd | ||
6 | |||
7 | USERADD_PACKAGES = "${PN}" | ||
8 | GROUPADD_PARAM_${PN} = "--system syslog" | ||
9 | USERADD_PARAM_${PN} = "--system --home /var/log -g syslog syslog" | ||
10 | |||