Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysusers: Provide meson argument to set gid for 'users' group #7533

Merged
merged 1 commit into from Dec 3, 2017

Conversation

ikeydoherty
Copy link
Contributor

To allow better integration with distributions requiring an explicitly
set gid for the users group, provide the new -Dusers-gid option to
set to a new numeric value.

In the absence of a specified gid, we'll fallback to the default existing
behaviour of - as the gid value, to automatically assign the next available
gid on the system.

Signed-off-by: Ikey Doherty ikey@solus-project.com

To allow better integration with distributions requiring an explicitly
set gid for the `users` group, provide the new `-Dusers-gid` option to
set to a new numeric value.

In the absence of a specified gid, we'll fallback to the default existing
behaviour of `-` as the gid value, to automatically assign the next available
gid on the system.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
@keszybz keszybz merged commit 84786b8 into systemd:master Dec 3, 2017
@keszybz
Copy link
Member

keszybz commented Dec 3, 2017

I dropped your s-o-b because we don't use that.

@ikeydoherty
Copy link
Contributor Author

@keszybz ah fair do - will take note for future patches. Thanks!

@poettering
Copy link
Member

poettering commented Dec 5, 2017

hmm, can you elaborate why distributions would fixate the "users" GID?

@ikeydoherty
Copy link
Contributor Author

@poettering same old story - they fixate now because it was fixated before. So in our case we're dealing with dual-boot systems that make the same stuff available via Samba user-shares, which are owned by the same gid (100/users). There are also other similar pooling cases where the gid becomes relevant.

Unfortunately users has been made special by some distributions over time and for Solus at least it just got difficult to escape it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants