systemd: fix /var/log/journal ownership
PATCH v2 1/1 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.
Signed-off-by Jonathan Liu <[email protected]>
--- meta/recipes-core/systemd/systemd_211.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd_211.bb +2 -0
@@ -124,6 +124,8 @@ 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 }
Signature · 1 line
2.3.1
Quoted 7 lines · Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user.
Signed-off-by Jonathan Liu <[email protected]>--- meta/recipes-core/systemd/systemd_211.bb | 2 ++ 1 file changed, 2 insertions(+)
Ping.
This is a backport from master:
http://git.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?id=0752c79282b1cc9699743e719518e6c341d50a3a
Regards,
Jonathan
Quoted 11 lines · Jonathan Liu
Quoted 8 lines · Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user.
Signed-off-by Jonathan Liu <[email protected]>--- meta/recipes-core/systemd/systemd_211.bb | 2 ++ 1 file changed, 2 insertions(+)Ping.
Ping.
Quoted 6 lines
This is a backport from master:
http://git.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?id=0752c79282b1cc9699743e719518e6c341d50a3aRegards,
Jonathan