FS#71657 - [cri-o] Container runtime dependencies both mandatory

Attached to Project: Community Packages
Opened by Omar Pakker (Omar007) - Thursday, 29 July 2021, 16:53 GMT
Last edited by Toolybird (Toolybird) - Thursday, 29 September 2022, 22:13 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Christian Rebischke (Shibumi)
Morten Linderud (Foxboron)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The CRI-O package has additionally included `crun` as a hard dependency starting with package version 1.21.2-1 which means it will now always install 2 runtimes while only 1 is really needed.
I don't have a problem with the addition in itself but having it always pull in both seems unnecessary. The default runtime for CRI-O is currently still `runc` so it would make most sense to demote `crun` to an optional dependency imo.

Food for thought on a different level (would be a cross-package change); maybe have OCI compatible container runtime packages just 'provide' themselves as 'oci-runtime' so something like CRI-O that really just depend on an OCI runtime can just depend on that instead of relying on all the different runtime packages individually.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 29 September 2022, 22:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  cri-o 1.25.0-1
Comment by David Runge (dvzrv) - Monday, 20 September 2021, 20:57 GMT
@Omar007: Thanks for the report!

I will consider the virtual provides route in the coming days :)
Comment by David Runge (dvzrv) - Monday, 29 August 2022, 20:53 GMT
The cri-o 1.25.0-1 package in [community-testing] now depends on oci-runtime instead of crun and runc.

If you have some time for testing, that would be awesome!
Comment by Omar Pakker (Omar007) - Thursday, 29 September 2022, 18:11 GMT
Did not get around to test it while it was in the testing repos but I've updated several systems thus far and was able to clean out runc on each of them no problem (with crun present). This ticket is resolved and can be closed :)

Loading...