Skip to content

Commit

Permalink
Upgrade runc version to 1.2.2 and libseccomp to 2.5.5 (#11029)
Browse files Browse the repository at this point in the history
As containerd 2.0 GA recently, we want to provide containerd 2.0 in azure linux 3.0 to enhance our distro. containerd 2.0 requires runc 1.2 as a dependency. The latest runc version 1.2.2 introduces security enhancement and supports new features, such as user namespace, so we want to upgrade runc to the latest version and align with the Fedora offerings. This PR is to upgrade runc version to 1.2.2 and libseccomp to 2.5.5. As a follow-up, containerd 2.0 will be added as a standalone package in a separate PR.
  • Loading branch information
liunan-ms authored and aditjha-msft committed Dec 18, 2024
1 parent a78f1ed commit 575e27f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion SPECS/libseccomp/libseccomp.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"libseccomp-2.5.4.tar.gz": "d82902400405cf0068574ef3dc1fe5f5926207543ba1ae6f8e7a1576351dcbdb"
"libseccomp-2.5.5.tar.gz": "248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375"
}
}
5 changes: 4 additions & 1 deletion SPECS/libseccomp/libseccomp.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Enhanced seccomp library
Name: libseccomp
Version: 2.5.4
Version: 2.5.5
Release: 1%{?dist}
License: LGPLv2
Vendor: Microsoft Corporation
Expand Down Expand Up @@ -62,6 +62,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_mandir}/man3/*

%changelog
* Tue Nov 05 2024 Nan Liu <[email protected]> - 2.5.5-1
- Upgrade to 2.5.5 as other older version is no longer supported upstream

* Fri Oct 27 2023 CBL-Mariner Servicing Account <[email protected]> - 2.5.4-1
- Auto-upgrade to 2.5.4 - Azure Linux 3.0 - package upgrades

Expand Down
2 changes: 1 addition & 1 deletion SPECS/runc/runc.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"runc-1.1.12.tar.gz": "be31b07d6a54a8f234016501c300ad04b6c428c56588e7eca8c3b663308db208"
"runc-1.2.2.tar.gz": "0eabc936d481d123be92c429588f9d1de7cafd36b37a8a5085b1412e758796a1"
}
}
12 changes: 8 additions & 4 deletions SPECS/runc/runc.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%define commit_hash 51d5e94601ceffbbd85688df1c928ecccbfa4685
%define commit_hash 7cb363254b69e10320360b63fb73e0ffb5da7bf2
Summary: CLI tool for spawning and running containers per OCI spec.
Name: runc
# update "commit_hash" above when upgrading version
Version: 1.1.12
Release: 2%{?dist}
Version: 1.2.2
Release: 1%{?dist}
License: ASL 2.0
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand All @@ -12,7 +12,7 @@ URL: https://github.com/opencontainers/runc
Source0: https://github.com/opencontainers/runc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: git
BuildRequires: go-md2man
BuildRequires: golang < 1.23
BuildRequires: golang
BuildRequires: libseccomp-devel
BuildRequires: make
Requires: glibc
Expand Down Expand Up @@ -43,6 +43,10 @@ make install-man DESTDIR=%{buildroot} PREFIX=%{_prefix}
%{_mandir}/*

%changelog
* Mon Nov 25 2024 Nan Liu <[email protected]> - 1.2.2-1
- Bump version to 1.2.2
- Remove the golang version constraint

* Tue Oct 15 2024 Muhammad Falak <[email protected]> - 1.1.12-2
- Pin golang version to <= 1.22

Expand Down
8 changes: 4 additions & 4 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10841,8 +10841,8 @@
"type": "other",
"other": {
"name": "libseccomp",
"version": "2.5.4",
"downloadUrl": "https://github.com/seccomp/libseccomp/releases/download/v2.5.4/libseccomp-2.5.4.tar.gz"
"version": "2.5.5",
"downloadUrl": "https://github.com/seccomp/libseccomp/releases/download/v2.5.5/libseccomp-2.5.5.tar.gz"
}
}
},
Expand Down Expand Up @@ -27064,8 +27064,8 @@
"type": "other",
"other": {
"name": "runc",
"version": "1.1.12",
"downloadUrl": "https://github.com/opencontainers/runc/archive/v1.1.12.tar.gz"
"version": "1.2.2",
"downloadUrl": "https://github.com/opencontainers/runc/archive/v1.2.2.tar.gz"
}
}
},
Expand Down

0 comments on commit 575e27f

Please sign in to comment.