]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: fix gid when DynamicUser=yes with static User=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Jul 2018 02:42:54 +0000 (11:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Jul 2018 06:38:18 +0000 (15:38 +0900)
commit25a1df7c652d180eb716412885c3ce3fcc1bbded
tree7f85b0e9a2d521bdd9433d851bcf52f47cc9b567
parentf11fc3fa734059ca9e4afa84f76e3ae4595ce9cc
core: fix gid when DynamicUser=yes with static User=

When DynamicUser=yes and static User= are set, and the user has
different uid and gid, then as the storage socket for the dynamic
user does not contains gid, we need to obtain gid.

Follow-up for 9ec655cbbd7505ef465e0444da0622e46099ce42.

Fixes #9702.
src/core/dynamic-user.c