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

Andre McCurdy armccurdy at gmail.com
Tue Dec 12 02:09:03 UTC 2017


On Fri, Dec 8, 2017 at 11:36 AM, Andre McCurdy <armccurdy at gmail.com> wrote:
> On Thu, Dec 7, 2017 at 10:44 PM, Yi Zhao <yi.zhao at windriver.com> wrote:
>> 在 2017年11月10日 13:54, Andre McCurdy 写道:
>>>
>>> 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).
>>
>> For sysvinit, we follow the Debian rule which doesn't have wheel group in
>> the system. Should we have to break this rule for systemd? Is this necessary
>> to use this group in systemd?
>
> The default systemd-tmpfiles config file expects to be able to create
> files etc belonging to the wheel system group. Unless we patch or
> over-ride the default systemd-tmpfiles config file to change that then
> yes, the wheel group appears to be necessary for systemd.

Ping.

This is needed for rocko (assuming systemd with musl is expected to
work with rocko?) so unless there are still strong objections I
recommend merging as-is.

More significant re-work (e.g. preventing systemd-tmpfiles from being
enabled without systemd-sysusers or patching systemd to remove any
dependency on the wheel group) would not be suitable for rocko, so
should be considered separately.



More information about the Openembedded-core mailing list