diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2023-05-30 19:41:14 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-31 20:19:29 +0000 |
commit | 7086e2e1612f1f9f5144c235dfcb7cf12bfaa292 (patch) | |
tree | 4e606b130282fbd225d371c15234211363b67efc /meta-app-framework/recipes-config | |
parent | 8b52379e01bc2531e58ec489b08f0ec97b85f879 (diff) |
agl-session: remove agl-driver user from applaunchd group
Previously agl-driver user was part of applaunchd group for D-Bus activation
to work woth the correct access rights. Now that D-Bus activation has been
removed from applaunchd, agl-driver user no longer needs to be in the same
group with applaunchd.
Bug-AGL: SPEC-4801
Change-Id: Ia473b391432d8c797cd38c0841f7fe655dcdb8e6
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28930
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'meta-app-framework/recipes-config')
-rw-r--r-- | meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb b/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb index 067f2a6e4..de31f999a 100644 --- a/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb +++ b/meta-app-framework/recipes-config/agl-session/agl-session_0.1.bb @@ -19,10 +19,9 @@ GROUPADD_PARAM:${PN} = "\ -g 1001 agl-driver ; \ -g 1003 applaunchd ; \ " -# agl-driver user needs to be part of applaunchd group for D-Bus activation to still work -# should be removed after everything is converted to gRPC for enhanced security + USERADD_PARAM:${PN} = "\ - -g 1001 -u 1001 -G video,display,pipewire,applaunchd -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \ + -g 1001 -u 1001 -G video,display,pipewire -o -d /home/agl-driver -m -K PASS_MAX_DAYS=-1 agl-driver ; \ -g 1003 -u 1003 -o -d / -K PASS_MAX_DAYS=-1 applaunchd ; \ " |