#2661 Add fedora-third-party-refresh.service to 90-default.preset for rpm-ostree
Closed: Accepted 2 years ago by defolos. Opened 2 years ago by otaylor.

With the new fedora-third-party tool, if the system is opted-in to third-party repositories, we want to enable any additional third-party Flatpak and rpm repositories that are added to the system. (E.g., if a new repository is added to fedora-workstation-repositories, and the system is opted in, then that repository should be enabled.)

For standard RPM systems, this is done by a %transfiletriggerin that calls fedora-third-party refresh, but that doesn't work for rpm-ostree - we need to change the configuration of the installed system's /etc. So the fedora-third-party package includes a fedora-third-party-refresh.service which is ConditionPathExists=/run/ostree-booted.

We'd like to add this to 90-default.preset so that onboot service runs on any rpm-ostree system with fedora-third-party installed.

I think this should be pretty uncontroversial, but because the service modifies the configuration of dnf and flatpak, it seems like it doesn't fit the rules of https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/#_enabling_services_by_default and needs Fesco approval.


For the record, I discussed this with @otayler earlier today and I asked him to file this ticket due to the "Must not alter other services" rule. That being said, I think this is a perfectly reasonable and sensible change to make.

+1 from me.

This ticket can be approved tomorrow, unless there is a +- 0 or a -1. If it does not get approved, we will discuss it during tomorrow's FESCo meeting. @otaylor You're in any case invited to join in.

Metadata Update from @defolos:
- Issue tagged with: meeting

2 years ago

This has been approved.

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

2 years ago

Login to comment on this ticket.

Metadata