Description
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.