Skip to content

regression – supplementary groups not set anymore #4531

@grawity

Description

@grawity

Somewhere between 5c4624e and 5202883, systemd stopped loading supplementary groups when starting services as non-root users. This particularly creates problems for [email protected].

I suspect commit 4d885bd.

systemd version the issue has been seen with

v231-830-g52028838a1bc

Used distribution

Arch Linux

In case of bug report: Expected behaviour you didn't see

In all apps:

$ id
uid=1000(grawity) gid=1000(grawity) groups=1000(grawity),3(sys),4(adm),10(wheel),50(games),100(users),108(vboxusers),150(wireshark)

In case of bug report: Unexpected behaviour you saw

In gnome-terminal, which is launched via systemd --user:

$ id
uid=1000(grawity) gid=1000(grawity) groups=1000(grawity)

In case of bug report: Steps to reproduce the problem

unit=$(sudo systemd-run --uid=grawity id 2>&1 | sed "s/.* //")
output=$(sudo journalctl -b -u "$unit" -o cat | grep 'uid=')
[ "$output" == "$(id grawity)" ]

Metadata

Metadata

Assignees

Labels

pid1regression ⚠️A bug in something that used to work correctly and broke through some recent commit

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions