Skip to contentSkip to conversation

systemd: add packageconfig for wheel-group

PATCH New Peter Bergin 1 participant 1 message Sep 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: add packageconfig for wheel-group

If the distro does not include the group 'wheel' systemd will complain when trying to parse ACL rules for tmpfiles.d.

systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring

Systemd has a configuration parameter to avoid using 'wheel' group in the standard config files for tmpfiles. Add this as a PACKAGECONFIG and enable it by default to keep default.

---
 meta/recipes-core/systemd/systemd_249.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd_249.3.bb +2 -0
index c1594d7cc5..c027b88fd6 100644
@@ -93,6 +93,7 @@ PACKAGECONFIG ??= " \
     userdb \
     utmp \
     vconsole \
+    wheel-group \
     zstd \
 "
 
@@ -196,6 +197,7 @@ PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false"
 PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
 PACKAGECONFIG[valgrind] = "-DVALGRIND=1,,valgrind"
 PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup"
+PACKAGECONFIG[wheel-group] = "-Dwheel-group=true, -Dwheel-group=false"
 PACKAGECONFIG[xdg-autostart] = "-Dxdg-autostart=true,-Dxdg-autostart=false"
 # Verify keymaps on locale change
 PACKAGECONFIG[xkbcommon] = "-Dxkbcommon=true,-Dxkbcommon=false,libxkbcommon"
Signature · 1 line
2.30.2