[SRU] Support runc/1.0.0~rc93-0ubuntu1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opengcs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Due to our current policy we keep updating the container stack in all supported releases with new upstream versions. runc is part of this stack, and currently versions of opengcs in Bionic, Focal and Groovy do not support runc / 1.0.0 ~ rc93-0ubuntu1.
opengcs tries to make use of system.
https:/
In Hirsute, a similar approach was implemented in opengcs to allow runc migration. Now, in order to unblock the runc SRUs we need to backport the Hirsute patch.
[Test Plan]
The upstream test suite seems to be enough to catch any potential issue in this case.
[Where problems could occur]
We are replacing a system call which would require cgo with a known constant to avoid this dependency. This approach was adopted by runc upstream maintainers, and according to this comment this is safe enough:
https:/
But the scenario where someone compile its own kernel and change the value of this constant will be inconsistent. However, this is not a big deal IMO, someone changing its own kernel needs to handle the consequences.
[Original Message]
opencgs test is failing and blocking runc/1.
This is the important bits:
# vendor/
src/vendor/
The new runc version does not provide GetClockTicks anymore:
https:/
We should do the same in opengcs.
When applying the attached debdiff the test failure is fixed.