From b0c18202615849fc7a35d6f23afc0696dd0e952f Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Thu, 12 Mar 2015 20:18:56 +1100 Subject: 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) (From OE-Core rev: e64cee7ccf9dedbadc3a63e4ed3eb15172ef4403) Signed-off-by: Jonathan Liu Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Saul Wold Conflicts: meta/recipes-core/systemd/systemd_219.bb Signed-off-by: Richard Purdie --- 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 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 } -- cgit v1.2.3-54-g00ecf