#1437 New system group for clocks
Closed: accepted by james. Opened by mlichvar.

In the next release of systemd will be a new udev rules requiring a "clock" system group. The upstream change is here:
https://github.com/systemd/systemd/commit/af96ccfc24bc4803078a46b4ef2cdeb5decdfbcd

In Fedora we will need to add this group to the setup package. I've prepared a pull request:
https://src.fedoraproject.org/rpms/setup/pull-request/16

The guidelines say every static allocation needs to be approved by the FPC. Can you please have a look?

If that is not acceptable, I think the Fedora systemd package would need to revert the upstream change and we could add the udev rule to the linuxptp package with a dynamic allocation of the group.


seems reasonable +1

just one question - why 103 ? it seems arbitrary, and looks like it's configurable in systemd?

(I'm also slightly confused by the difference between the group file and the uidgid file ... what's the difference? is the former only for groups without users?)

103 is close to the other groups created for systemd. There is no room at the other end of the 104-106 set.

group goes to /etc/group. uidgid goes to documentation. It combines users and groups.

thanks for the explanation. sounds reasonable to me then, +1

looks like it's configurable in systemd?

It's configurable so that we can hardcode it to the Fedora values in the package build:
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec#_853.
But we actually use that only to verify that our values are the same as in setup and then drop our sysusers file in the part where it overlaps with setup.

I think we're following the right procedure here: the udev rules have been added upstream, and then downstream in Fedora we pick a gid in setup, and then systemd package will be adjusted.

We talked about it quickly at this weeks meeting and approved it.

Metadata Update from @james:
- Issue close_status updated to: accepted
- Issue status updated to: Closed (was: Open)

Just wanted to toss in my belated +1.

Thank you!

Metadata