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

Support adding users to existing groups in /usr/lib/group (nss-altfiles) #1596

Open
jlebon opened this issue Mar 31, 2023 · 0 comments
Open
Labels
jira for syncing to jira

Comments

@jlebon
Copy link
Member

jlebon commented Mar 31, 2023

Feature Request

Desired Feature

In Fedora CoreOS/RHEL CoreOS, we'd like to eventually fully migrate to systemd-sysusers (coreos/rpm-ostree#49). Until then though, users are unable to easily add configured users to existing groups. The current workaround is to do it via a separate systemd unit.

When adding/modifying users, Ignition could learn to lookup whether each group to which to add the user exists and if so, ensure that the group is in /etc/group, possibly automatically "promoting" the group entry from /usr/lib/group.

Other Information

This would probably allow us to get rid of https://github.com/coreos/fedora-coreos-config/blob/668d24e4ba1a754e97a2d33ec130436fa8f702c0/manifests/fedora-coreos-base.yaml#L32-L36 and https://github.com/coreos/fedora-coreos-config/blob/668d24e4ba1a754e97a2d33ec130436fa8f702c0/manifests/fedora-coreos.yaml#L55-L60.

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

No branches or pull requests

2 participants