profiles: merge groups records with [SUCCESS=merge] by pbrezina · Pull Request #391 · authselect/authselect · GitHub
Skip to content

profiles: merge groups records with [SUCCESS=merge]#391

Merged
pbrezina merged 1 commit into
authselect:1.2.xfrom
pbrezina:merge
Feb 5, 2025
Merged

profiles: merge groups records with [SUCCESS=merge]#391
pbrezina merged 1 commit into
authselect:1.2.xfrom
pbrezina:merge

Conversation

@pbrezina

Copy link
Copy Markdown
Member

Services such as systemd-homed would like to advertise users which are
part of system groups, such as "wheel". That only works if glibc's
[SUCCESS=merge] feature is used in nsswitch.conf, so that group records
from multiple sources are merged.

This is documented here:

https://www.freedesktop.org/software/systemd/man/latest/nss-systemd.html#Configuration%20in%20/etc/nsswitch.conf

This hence adds [SUCCESS=merge] expressions to all NSS modules listed in
the "groups" lines.

This is a backport of 8d8adbd

Services such as systemd-homed would like to advertise users which are
part of system groups, such as "wheel". That only works if glibc's
[SUCCESS=merge] feature is used in nsswitch.conf, so that group records
from multiple sources are merged.

This is documented here:

https://www.freedesktop.org/software/systemd/man/latest/nss-systemd.html#Configuration%20in%20/etc/nsswitch.conf

This hence adds [SUCCESS=merge] expressions to all NSS modules listed in
the "groups" lines.

This is a backport of 8d8adbd
@abbra

abbra commented Jan 30, 2025

Copy link
Copy Markdown

@pbrezina pbrezina merged commit 9ee4c24 into authselect:1.2.x Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants