[OE-core] [PATCH] systemd: create wheel sysuser group offline

Andre McCurdy armccurdy at gmail.com
Mon Nov 13 20:18:01 UTC 2017


On Mon, Nov 13, 2017 at 6:48 AM, Patrick Ohly <patrick.ohly at intel.com> wrote:
> On Thu, 2017-11-09 at 21:54 -0800, Andre McCurdy wrote:
>> The default systemd-tmpfiles config file expects to be able to create
>> files etc belonging to the wheel system group. Currently the wheel
>> group is created at run time by systemd-sysusers, but that doesn't
>> happen if systemd-sysusers is disabled (as it currently is by default
>> when building with musl libc).
>
> Isn't this something that the systemd_create_users rootfs postprocess
> command in rootfs-postcommands.bbclass already takes care of?

systemd_create_users() does a build time pass over the
systemd-sysusers config files, but those files are not installed if
systemd is configured without sysusers support.

> I know that it is has issues (https://bugzilla.yoctoproject.org/show_bu
> g.cgi?id=9789), but it should at least create the wheel group.
>
> --
> Best Regards, Patrick Ohly



More information about the Openembedded-core mailing list