[oe-commits] Jonathan Liu : systemd: fix /var/log/journal ownership
git at git.openembedded.org
git at git.openembedded.org
Tue May 12 14:52:27 UTC 2015
Module: openembedded-core.git
Branch: daisy
Commit: e64cee7ccf9dedbadc3a63e4ed3eb15172ef4403
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e64cee7ccf9dedbadc3a63e4ed3eb15172ef4403
Author: Jonathan Liu <net147 at gmail.com>
Date: Thu Mar 12 20:18:56 2015 +1100
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 at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Conflicts:
meta/recipes-core/systemd/systemd_219.bb
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/systemd/systemd_211.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/systemd/systemd_211.bb b/meta/recipes-core/systemd/systemd_211.bb
index 567c323..93d9c99 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
}
More information about the Openembedded-commits
mailing list