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

manifests/group: fix ID for "input" group #1866

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

lucab
Copy link
Contributor

@lucab lucab commented Jul 25, 2022

This fixes the static GID for the input group, properly using the
Fedora-wide reserved ID 104.
This group is mostly used as the owner of ephemeral entries under
/dev, thus it should be safe to update (upon booting into the new
deployment, devices will get created from scratch with the new GID).

Ref: https://pagure.io/setup/blob/108f62338e57652bb3a37e9028572704f3f28c29/f/uidgid#_113
Ref: coreos/fedora-coreos-tracker#1201 (comment)

This fixes the static GID for the `input` group, properly using the
Fedora-wide reserved ID `104`.
This group is mostly used as the owner of ephemeral entries under
`/dev`, thus it should be safe to update (upon booting into the new
deployment, devices will get created from scratch with the new GID).

Ref: https://pagure.io/setup/blob/108f62338e57652bb3a37e9028572704f3f28c29/f/uidgid#_113
@travier
Copy link
Member

travier commented Jul 25, 2022

This is mostly like #1832. Should be good. Same mixed feelings. Hopefully we don't break someone's workflow.

@travier
Copy link
Member

travier commented Jul 25, 2022

LGTM, but needs someone else to double check that we're not going to break things.

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's used to create device nodes on boot, I agree this is safe to change.

LGTM, but needs someone else to double check that we're not going to break things.

I think one way to see this is that given that the group is actively used by the system, it's owned by us. And the GID we're moving it to is below SYS_GID_MIN so shouldn't be presently used.

@jlebon jlebon merged commit 838aa03 into coreos:testing-devel Jul 25, 2022
@lucab lucab deleted the ups/manifests-group-fix-input branch July 26, 2022 06:41
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.

None yet

3 participants