Files
poky/meta/recipes-core
Luca Boccassi 3dc37c12c1 systemd: add hostname fallback when polkit is not available
When polkit is not available, networkd will not have permissions
to call hostnamed's dbus methods, as it runs without privileges.
To solve this, when building without polkit, make a new PACKAGECONFIG
'polkit_hostnamed_fallback' available which changes hostnamed so that
it runs as the 'systemd-network' user, the same as networkd, so that
the authorization works (and also with CAP_SYS_ADMIN since it loses
root).
Also run it with a separate 'systemd-hostname' group which also owns
the bus, to avoid giving the 'systemd-network' additional privileges.

(From OE-Core rev: 07a8f1629662d4d66d056d95be3cb9e749242274)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
..
2021-02-08 14:47:16 +00:00
2020-11-03 08:21:11 +00:00
2019-01-08 11:16:44 +00:00
2020-09-24 22:32:49 +01:00
2021-01-08 10:10:15 +00:00
2018-09-04 11:03:55 +01:00
2021-02-16 11:28:16 +00:00
2020-12-09 12:20:32 +00:00
2021-01-23 17:08:53 +00:00
2020-12-18 22:52:24 +00:00
2019-03-29 08:28:52 +00:00