diff options
author | Jonathan Liu <net147@gmail.com> | 2015-03-12 20:18:56 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-12 15:45:41 +0100 |
commit | e64cee7ccf9dedbadc3a63e4ed3eb15172ef4403 (patch) | |
tree | 42096218fd28735fb1aa173362b76e1fe13c344f /meta/recipes-core | |
parent | fed4d140da67fc51d54b02df83882177f6ddab10 (diff) | |
download | openembedded-core-contrib-e64cee7ccf9dedbadc3a63e4ed3eb15172ef4403.tar.gz |
systemd: fix /var/log/journal ownership
The ownership needs to be explicitly set otherwise it inherits the user
and group id of the build user.
(From OE-Core rev: 0752c79282b1cc9699743e719518e6c341d50a3a)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Conflicts:
meta/recipes-core/systemd/systemd_219.bb
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_211.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_211.bb b/meta/recipes-core/systemd/systemd_211.bb index 567c323543..93d9c9996d 100644 --- a/meta/recipes-core/systemd/systemd_211.bb +++ b/meta/recipes-core/systemd/systemd_211.bb @@ -124,6 +124,7 @@ do_install() { sed -i s%@UDEVD@%${rootlibexecdir}/systemd/systemd-udevd% ${D}${sysconfdir}/init.d/systemd-udevd fi + chown root:systemd-journal ${D}/${localstatedir}/log/journal # Delete journal README, as log can be symlinked inside volatile. rm -f ${D}/${localstatedir}/log/README } |