Re: [OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-09-14 Thread Martin Jansa
I'm sorry for noise, I've reproduced it in LuneOS raspberrypi build and the root cause is wrongly used override in this bbappend: https://github.com/webOS-ports/meta-rpi-luneos/blob/3b76e0b7d554e937263e685854819ab8454ebe35/recipes-core/systemd/systemd_%25.bbappend On Thu, Sep 14, 2017 at 12:05

Re: [OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-09-13 Thread Martin Jansa
Yes, you're right it shouldn't use passwd/group from host. I've tried to reproduce it in different build directory and now I see that it properly adds polkitd user in do_prepare_recipe_sysroot task already: OE @ ~ $ tail -n 15

Re: [OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-09-13 Thread Jason Wessel
It should work because it has nothing to do with that particular passwd file. This is builds successfully on a ubuntu 16.04 host which has no polkitd user. Also with the user add stanza in the patch it should be adding the user that is required when PACKAGECONFIG has the polkitd added to the

Re: [OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-09-06 Thread Martin Jansa
Does this work on hosts without polkitd user? Here it failed with: | chown: invalid user: ‘polkitd:root’ On Tue, Aug 15, 2017 at 8:55 PM, Jason Wessel wrote: > The systemd 234 added some files to the polkit directory and the > directory the files live in must

[OE-core] [PATCH] systemd: Fix rootfs transaction error when PACKAGECONFIG has polkit

2017-08-15 Thread Jason Wessel
The systemd 234 added some files to the polkit directory and the directory the files live in must be owned by the polkitd user, else you will receive the following error when the rootfs is being assembled: Error: Transaction check error: file /usr/share/polkit-1/rules.d conflicts between