Skip to content

Commit c08bd94

Browse files
committed
rpm/containerd.spec: add req for container-selinux
This is needed so the files being installed have proper selinux context. Without it, with SELinux enabled, there will be various failures to start a container (as binaries, as well as running processes, lack the required context). Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 914883f commit c08bd94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rpm/containerd.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Source0: containerd
4949
Source1: containerd.service
5050
Source2: containerd.toml
5151
Source3: runc
52+
Requires: container-selinux >= 2.74
5253
BuildRequires: make
5354
BuildRequires: gcc
5455
BuildRequires: systemd
@@ -145,6 +146,7 @@ install -p -m 644 man/*.5 $RPM_BUILD_ROOT/%{_mandir}/man5
145146

146147
%changelog
147148
* Tue Jul 11 2019 Kir Kolyshkin <[email protected]> - 1.2.6-3.3
149+
- add requirement for container-selinux
148150
- move runc binary to %_bindir
149151

150152
* Fri Apr 26 2019 Sebastiaan van Stijn <[email protected]> - 1.2.6-3.2

0 commit comments

Comments
 (0)