Compare commits

...
Sign in to create a new pull request.

244 commits

Author SHA1 Message Date
Packit
615e4619a4 Update to 2.245.0 upstream release
Upstream tag: v2.245.0
Upstream commit: 3f7c37e9

Commit authored by Packit automation (https://packit.dev/)
2025-12-15 15:49:15 +00:00
Packit
3f88bda292 Update to 2.244.0 upstream release
Upstream tag: v2.244.0
Upstream commit: 9017e1f8

Commit authored by Packit automation (https://packit.dev/)
2025-12-01 15:51:17 +00:00
Packit
99f38c064f Update to 2.243.0 upstream release
Upstream tag: v2.243.0
Upstream commit: efdee4df

Commit authored by Packit automation (https://packit.dev/)
2025-11-07 19:05:10 +00:00
Packit
ac7e099b8e Update to 2.242.0 upstream release
Upstream tag: v2.242.0
Upstream commit: edfbda46

Commit authored by Packit automation (https://packit.dev/)
2025-09-05 14:44:40 +00:00
Packit
f5e56373a3 Update to 2.241.0 upstream release
Upstream tag: v2.241.0
Upstream commit: 5997aa52

Commit authored by Packit automation (https://packit.dev/)
2025-08-19 16:05:32 +00:00
Packit
33a94c0fec Update to 2.240.0 upstream release
Upstream tag: v2.240.0
Upstream commit: 10cc7eca

Commit authored by Packit automation (https://packit.dev/)
2025-08-07 12:54:13 +00:00
Fedora Release Engineering
ae2bda3b19 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:38:20 +00:00
Packit
b938868d0d Update to 2.239.0 upstream release
Upstream tag: v2.239.0
Upstream commit: 229e8d8b

Commit authored by Packit automation (https://packit.dev/)
2025-07-07 16:09:13 +00:00
Packit
556c1de554 Update to 2.238.0 upstream release
Upstream tag: v2.238.0
Upstream commit: 36e8f213

Commit authored by Packit automation (https://packit.dev/)
2025-05-30 18:02:24 +00:00
Packit
1b9c808c73 Update to 2.237.0 upstream release
Upstream tag: v2.237.0
Upstream commit: d7e420a1

Commit authored by Packit automation (https://packit.dev/)
2025-04-28 19:06:43 +00:00
Packit
5c4e72179b Update to 2.236.0 upstream release
Upstream tag: v2.236.0
Upstream commit: 4244f856

Commit authored by Packit automation (https://packit.dev/)
2025-03-13 20:26:37 +00:00
Lokesh Mandvekar
a15b46699b
fix gating.yaml 2025-02-24 17:01:52 +05:30
Packit
58f6209191 Update to 2.235.0 upstream release
Upstream tag: v2.235.0
Upstream commit: c9b3eca0

Commit authored by Packit automation (https://packit.dev/)
2025-02-24 10:42:38 +00:00
Fedora Release Engineering
67ab29b766 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 14:27:37 +00:00
Lokesh Mandvekar
c2d42deedf
TMT: sync tests with upstream
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-26 15:35:58 +05:30
Packit
038f1b6063 Update to 2.234.2 upstream release
Upstream tag: v2.234.2
Upstream commit: cd0a1758

Commit authored by Packit automation (https://packit.dev/)
2024-11-11 14:12:33 +00:00
Packit
edda101018 Update to 2.234.1 upstream release
Upstream tag: v2.234.1
Upstream commit: 8ba68ee9

Commit authored by Packit automation (https://packit.dev/)
2024-11-11 12:09:59 +00:00
Packit
b4ebc80e86 Update to 2.233.0 upstream release
Upstream tag: v2.233.0
Upstream commit: cc5da8a9

Commit authored by Packit automation (https://packit.dev/)
2024-09-11 14:00:39 +00:00
Fedora Release Engineering
1d88ecfc56 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 19:56:23 +00:00
Packit
8377dcb72b Update to 2.232.1 upstream release
Upstream tag: v2.232.1
Upstream commit: 4ff1a398

Commit authored by Packit automation (https://packit.dev/)
2024-06-10 17:32:34 +00:00
Lokesh Mandvekar
66b85a8781
sync test plans from upstream 2024-05-27 11:31:29 -04:00
Lokesh Mandvekar
1012b5368e
fix gating.yaml
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 16:13:42 -04:00
Lokesh Mandvekar
6548fb56c2
TMT: use fmf to discover tests
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:52:00 -04:00
Lokesh Mandvekar
114bba5ebc
Reuse TMT tests: remove old STI tests
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:25:18 -04:00
Lokesh Mandvekar
7c08fffb11
Attempt to use TMT plans
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:00:44 -04:00
Packit
2d328af1cd Update to 2.231.0 upstream release
- Resolves: rhbz#2276827

Upstream tag: v2.231.0
Upstream commit: 5d983412

Commit authored by Packit automation (https://packit.dev/)
2024-04-24 14:30:43 +00:00
Packit
f7ef46bd6b [packit] 2.230.0 upstream release
Upstream tag: v2.230.0
Upstream commit: 5cec8532
2024-03-02 18:44:04 +00:00
Packit
a24e6afd78 [packit] 2.229.1 upstream release
Upstream tag: v2.229.1
Upstream commit: a023e9ee
2024-02-28 15:07:51 +00:00
Fedora Release Engineering
b0b9b555ec Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 08:00:11 +00:00
Packit
fb3dca68cb [packit] 2.229.0 upstream release
Upstream tag: v2.229.0
Upstream commit: eac57925
2024-01-22 12:53:47 +00:00
Fedora Release Engineering
0ad7a38c63 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 16:07:41 +00:00
Packit
f2ab676dc0 [packit] 2.228.1 upstream release
Upstream tag: v2.228.1
Upstream commit: d733187b
2024-01-18 02:53:21 +00:00
Packit
c63e6813d9 [packit] 2.228.0 upstream release
Upstream tag: v2.228.0
Upstream commit: 48c2b45f
2024-01-11 03:13:23 +00:00
Packit
fce80f3008 [packit] 2.227.0 upstream release
Upstream tag: v2.227.0
Upstream commit: 289df825
2023-12-21 15:51:36 +00:00
Packit
4d552c672d [packit] 2.226.0 upstream release
Upstream tag: v2.226.0
Upstream commit: cff8553f
2023-11-30 00:41:51 +00:00
Packit
8252c641d9 [packit] 2.224.0 upstream release
Upstream tag: v2.224.0
Upstream commit: 31e9f0bd
2023-10-11 11:09:33 +00:00
Packit
bbe8925300 [packit] 2.222.0 upstream release
Upstream tag: v2.222.0
Upstream commit: cbaa1ba7
2023-09-17 13:49:48 +00:00
Packit
b1e22dd31c [packit] 2.221.1 upstream release
Upstream tag: v2.221.1
Upstream commit: bfb44d38

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/container-selinux.git refs/heads/*:refs/remotes/packit/*
git checkout packit/2.221.1-rawhide-update-propose_downstream
```
2023-08-29 21:06:35 +00:00
Lokesh Mandvekar
813175eff4 bump to v2.221.0 2023-08-15 09:19:54 -04:00
Packit
507a53d1e9 2.221 upstream release
Upstream tag: v2.221
Upstream commit: ed30ab0d

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/container-selinux.git refs/heads/*:refs/remotes/packit/*
git checkout packit/2.221-rawhide-update-propose_downstream
```
2023-08-15 09:19:01 -04:00
Fedora Release Engineering
5e76ec1dc9 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 16:19:24 +00:00
Packit
b3d7d4b81d [packit] 2.219.0 upstream release
Upstream tag: v2.219.0
Upstream commit: e3d7d0b1
2023-07-02 11:28:42 +00:00
Packit
5c06fa1090 [packit] 2.218.0 upstream release
Upstream tag: v2.218.0
Upstream commit: 08662f13
2023-06-06 15:26:16 +00:00
Packit
a317b950f4 [packit] 2.217.0 upstream release
Upstream tag: v2.217.0
Upstream commit: 2e448062
2023-06-05 18:29:06 +00:00
Packit
c5cb8ccf6c [packit] 2.216.0 upstream release
Upstream tag: v2.216.0
Upstream commit: a1a96a2e
2023-05-30 19:10:35 +00:00
Lokesh Mandvekar
473824031c [packit] 2.215.0 upstream release
Upstream tag: v2.215.0
Upstream commit: e16876ee
2023-05-23 09:18:15 -04:00
Packit
280f3257e5 [packit] 2.215.0 upstream release
Upstream tag: v2.215.0
Upstream commit: 730f696f
2023-05-22 15:48:19 +00:00
Lokesh Mandvekar
e5568c55a3 bump to v2.213.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-05-16 09:21:55 -04:00
Lokesh Mandvekar
8bff9a5251 bump to v2.211.1
Should address relabeling issues mentioned in:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-06ac069828

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-05-02 10:30:40 -04:00
Lokesh Mandvekar
23b10c340b prepare for Packit integration, remove centos conditionals
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-04-28 14:25:38 -04:00
Lokesh Mandvekar
1a501c866e fedora spec not used for packit copr-builds
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-04-28 13:39:45 -04:00
RH Container Bot
2d04a15786 auto bump to v2.211.0 2023-04-22 12:01:40 +00:00
RH Container Bot
5ebc24d7cc auto bump to v2.210.0 2023-04-06 21:01:05 +00:00
RH Container Bot
06867e53d1 auto bump to v2.209.0 2023-04-03 07:02:31 +00:00
RH Container Bot
a9e3755912 auto bump to v2.208.0 2023-03-31 20:01:03 +00:00
RH Container Bot
e37858fe40 auto bump to v2.206.0 2023-03-21 22:01:20 +00:00
RH Container Bot
b30eaa1213 auto bump to v2.205.0 2023-03-16 20:01:06 +00:00
RH Container Bot
a374919826 auto bump to v2.204.0 2023-03-13 19:01:42 +00:00
RH Container Bot
436047e723 auto bump to v2.203.0 2023-03-07 15:01:31 +00:00
Lokesh Mandvekar
29543ebdbe migrated to SPDX license
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-03-06 16:36:19 +05:30
RH Container Bot
9daecd44a0 auto bump to v2.202.0 2023-03-03 01:01:37 +00:00
RH Container Bot
f405e189fc auto bump to v2.201.0 2023-02-22 20:00:53 +00:00
Lokesh Mandvekar
496d853e1c delete systemd_chat_resolved for centos 8 packit builds
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-10 18:52:46 +05:30
Lokesh Mandvekar
5434a9802e dummy changelog to make packit centos 8 copr builds happy
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-10 18:36:41 +05:30
Lokesh Mandvekar
586b681dfe packit: include _selinux_policy_version for centos 8
for whatever reason centos 8 on copr says undefined macro.

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-10 18:11:29 +05:30
Lokesh Mandvekar
24761d467f bump to v2.200.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-02-08 18:42:43 +05:30
Lokesh Mandvekar
9e01c83a26 bump to v2.199.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-01-31 17:33:18 +05:30
Fedora Release Engineering
b8f764bbf5 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:27:20 +00:00
Lokesh Mandvekar
33f8e14356 bump to v2.198.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-01-06 20:11:43 +05:30
Lokesh Mandvekar
3fa11813c1 bump to v2.197.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-01-04 17:51:20 +05:30
Daniel J Walsh
fe4141b17a
local build 2022-12-15 05:10:45 -05:00
Daniel J Walsh
dff2564c2c
local build 2022-12-14 13:39:39 -05:00
Lokesh Mandvekar
5f23ffaf8e bump to v2.193.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-11-23 18:32:48 +05:30
Lokesh Mandvekar
54778e261a bump to v2.191.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-10-31 13:55:54 +05:30
Lokesh Mandvekar
02261d4f06 bump to v2.190.1
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-10-28 14:43:13 +05:30
Lokesh Mandvekar
0c3e157565 update macros to get version correctly
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-10-10 08:43:32 -04:00
Lokesh Mandvekar
5d42cc9de2 Bump to v2.190.0
Resolves: #2031022

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-09-13 14:30:22 -04:00
Lokesh Mandvekar
916aae2515 Use similar macros as other podman-related packages
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-08-17 14:38:42 -04:00
Fedora Release Engineering
a73e688038 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:31:50 +00:00
RH Container Bot
9d8732d586 auto bump to v2.189.0 2022-07-14 15:03:02 +00:00
RH Container Bot
381c043b46 auto bump to v2.188.0 2022-06-23 15:04:11 +00:00
Lokesh Mandvekar
b25bea1555 update Version field per changes in rpm autobuilder
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-27 13:28:18 -04:00
RH Container Bot
49a8b59d81 auto bump to v2.187.0 2022-05-24 17:04:35 +00:00
RH Container Bot
7f88c4f20c auto bump to v2.186.0 2022-05-24 15:06:21 +00:00
Lokesh Mandvekar
a0981ae9b5 empty commit for smooth upgrade path
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-11 14:49:46 -04:00
Lokesh Mandvekar
c69b4c3a01 empty commit for smooth upgrade path
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-05-11 14:49:44 -04:00
Lokesh Mandvekar
62a54b91e4 remove unwanted file entries from sources
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-04-21 14:18:23 -04:00
RH Container Bot
a16983f2a4 auto bump to v2.183.0 2022-04-18 11:03:42 +00:00
Lokesh Mandvekar
71fe6bf23d rebuild
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-04-07 08:53:01 -04:00
RH Container Bot
01159dc8d3 auto bump to v2.181.0 2022-03-25 19:02:41 +00:00
Lokesh Mandvekar
370ad1e8ea bump to v2.180.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-07 09:12:48 -05:00
Lokesh Mandvekar
f52aec2706 bump to v2.179.1
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-01 10:39:29 -05:00
Lokesh Mandvekar
fc3b887a98 bump to v2.178.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-11 14:42:37 -05:00
Lokesh Mandvekar
0cbd2b83da bump to v2.177.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-09 14:52:17 -05:00
Ed Santiago
045c776835 Use podman in gating tests
Nothing complicated, just a very simple 'run' command.
Currently fails, which is good, it means this test
would have caught today's crisis[1]. Unfortunately
it fails with no useful info whatsoever: the test
result simply shows ERROR. I'm not sure there's much
I can do about this, since podman itself is silent
on the failure. (It'd be nice if gating tests at least
showed us the exit status).

 [1]  https://github.com/containers/container-selinux/issues/169

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-02-07 13:30:31 -07:00
Lokesh Mandvekar
0ec5ff3c75 bump for rebuild
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-07 10:50:23 -05:00
Lokesh Mandvekar
132afee939 Revert "local build" - was just a test
This reverts commit 56575732c2.
2022-02-07 10:49:10 -05:00
Daniel J Walsh
56575732c2
local build 2022-02-07 10:26:59 -05:00
Lokesh Mandvekar
b80cce1407 bump to v2.176.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-03 09:03:25 -05:00
Lokesh Mandvekar
a011a4e035 bup to v2.174.0
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-02-01 14:49:05 -05:00
Lokesh Mandvekar
6e8d3c1e67 switch to autospec
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-01-27 13:37:46 -05:00
RH Container Bot
115c590de0 container-selinux-2:2.173.2-1
autobuilt v2.173.2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-26 19:03:43 +00:00
Fedora Release Engineering
9d04c64d6d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:47:20 +00:00
RH Container Bot
258efbfe5e container-selinux-2:2.173.1-1
autobuilt v2.173.1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-18 16:04:46 +00:00
RH Container Bot
237d59707c container-selinux-2:2.173.0-1
autobuilt v2.173.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-11 12:04:22 +00:00
RH Container Bot
a57b6ae995 container-selinux-2:2.172.1-1
autobuilt v2.172.1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2022-01-06 21:03:59 +00:00
RH Container Bot
8bae2f2e51 container-selinux-2:2.172.0-1
autobuilt v2.172.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-11-22 23:03:22 +00:00
RH Container Bot
fd5c0b5da2 container-selinux-2:2.171.0-1
autobuilt v2.171.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-11-10 23:03:48 +00:00
Daniel J Walsh
cb5c675153
Add conflicts k3s-selinux <= 0.4-1 to force upgrade 2021-10-15 14:52:35 -04:00
RH Container Bot
156b58ad36 container-selinux-2:2.170.0-1
autobuilt v2.170.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-10-05 19:47:48 +00:00
RH Container Bot
04f47a764a container-selinux-2:2.169.0-1
autobuilt v2.169.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-09-24 21:04:32 +00:00
Vit Mojzis
c1c245c063 Start shipping udica policy templates
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2021-09-15 17:02:29 +02:00
RH Container Bot
f9aa97e6da container-selinux-2:2.168.0-1
autobuilt v2.168.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-09-13 18:02:56 +00:00
Lokesh Mandvekar
c287dbae6f container-selinux-2:2.167.0-2
- use upstream tag instead of commits, fix autobuild macros

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-09-10 09:33:17 -04:00
RH Container Bot
61b74b997d container-selinux-2:2.167.0-1
autobuilt v2.167.0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-08-26 20:03:52 +00:00
RH Container Bot
fd8f2748f9 container-selinux-2:2.165.1-1
autobuilt v2.165.1

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-08-25 17:19:46 +00:00
RH Container Bot
039306ba70 container-selinux-2:2.164.2-1
autobuilt v2.164.2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-08-04 19:24:22 +00:00
Fedora Release Engineering
67bd97e493 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:59:41 +00:00
Fedora Release Engineering
c07db367f7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 15:01:35 +00:00
Daniel J Walsh
a64ae0fa9b
Allow spc_t domains to set bpf rules on any domain 2021-07-19 11:33:17 -04:00
Daniel J Walsh
0ed3080e4e
bump to 2.163.0
autobuilt 99b40c5
2021-07-19 11:31:22 -04:00
RH Container Bot
37d4bd63db container-selinux-2:2.163.0-2.dev.git99b40c5
- bump to 2.163.0
- autobuilt 99b40c5

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-06-12 04:09:36 +00:00
RH Container Bot
c208a2d90f container-selinux-2:2.162.2-2.dev.git61b862a
- bump to 2.162.2
- autobuilt 61b862a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-25 04:10:08 +00:00
Daniel J Walsh
2e560c5e49
Fix labels in users homedirs, before overlayfs is supported by default for non root users 2021-05-17 06:01:30 -04:00
RH Container Bot
8cccf0bd09 container-selinux-2:2.162.1-2.dev.git233e620
- bump to 2.162.1
- autobuilt 233e620

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-16 04:12:43 +00:00
RH Container Bot
7758bc735c container-selinux-2:2.162.0-2.dev.gitda28288
- bump to 2.162.0
- autobuilt da28288

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-12 04:10:43 +00:00
RH Container Bot
c208678fca container-selinux-2:2.161.1-2.dev.gite1092cd
- bump to 2.161.1
- autobuilt e1092cd

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-05-07 15:39:13 +00:00
Lokesh Mandvekar
fad696781c Revert "container-selinux-2:2.117.0-2.dev.gitbfde70a"
This reverts commit 1b9e9a7937.

Bad commit
2021-05-06 08:24:08 -04:00
RH Container Bot
1b9e9a7937 container-selinux-2:2.117.0-2.dev.gitbfde70a
- bump to 2.117.0
- autobuilt bfde70a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-04-28 13:42:16 +00:00
RH Container Bot
5b38b93dd2 container-selinux-2:2.160.0-3.dev.git5a60716
- autobuilt 5a60716

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-04-20 14:53:17 +00:00
Lokesh Mandvekar
a007307517 container-selinux-2:2.160.0-2.dev.gitc9f0cb6
- bump to v2.160.0

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-03-31 14:39:05 -04:00
RH Container Bot
9cb5b10e56 container-selinux-2:2.159.0-2.dev.gitd89a599
- bump to 2.159.0
- autobuilt d89a599

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-03-29 13:18:04 +00:00
Daniel J Walsh
dca5282acc
Rebuilt to use latest selinux-policy interfaces 2021-02-17 15:01:39 -05:00
RH Container Bot
c3b175e6d9 container-selinux-2:2.158.0-4.dev.gite78ac4f
- autobuilt e78ac4f

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-02-16 23:02:11 +00:00
RH Container Bot
ce7f9dfa88 container-selinux-2:2.158.0-3.dev.gitaeb85c4
- autobuilt aeb85c4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-02-12 12:32:56 +00:00
RH Container Bot
e85faff448 container-selinux-2:2.158.0-2.dev.giteb6dad0
- bump to 2.158.0
- autobuilt eb6dad0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-02-11 22:32:55 +00:00
RH Container Bot
13d8074bca container-selinux-2:2.157.0-3.dev.git6d13bf9
- autobuilt 6d13bf9

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-02-08 19:25:49 +00:00
RH Container Bot
75547d8ddf container-selinux-2:2.157.0-2.dev.gitf330e81
- bump to 2.157.0
- autobuilt f330e81

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-02-02 19:33:00 +00:00
Fedora Release Engineering
77cba8c62b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:30:27 +00:00
RH Container Bot
0d6f91e1a0 container-selinux-2:2.156.0-2.dev.git75f193a
- bump to 2.156.0
- autobuilt 75f193a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-01-15 17:32:57 +00:00
Tom Stellard
45f7c52422 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-13 01:03:05 +00:00
Ondrej Mosnacek
b449d2caab Depend on git-core instead of full git
See:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GS7GOUITUEASRELL7SKGLVJLGS3ZVJ45/

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-01-11 19:11:38 +00:00
Lokesh Mandvekar
e50e815a3f use built_tag macro to record latest tag
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2021-01-11 14:01:44 -05:00
RH Container Bot
11e4b9b12a container-selinux-2:2.155.0-2.dev.git667f0f3
- bump to 2.155.0
- autobuilt 667f0f3

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2021-01-05 17:33:12 +00:00
RH Container Bot
9ddc5ee996 container-selinux-2:2.154.0-2.dev.git54e2ac5
- bump to 2.154.0
- autobuilt 54e2ac5

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-12-30 17:32:20 +00:00
RH Container Bot
79772309b0 container-selinux-2:2.153.0-2.dev.git8573f8d
- bump to 2.153.0
- autobuilt 8573f8d

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-12-26 11:32:22 +00:00
RH Container Bot
6d70d472bf container-selinux-2:2.152.0-2.dev.git1677bc4
- bump to 2.152.0
- autobuilt 1677bc4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-12-22 14:02:31 +00:00
Jindrich Novy
5c9197e29d container-selinux-2.151.0-4.dev.git5d3c461.fc34
- remove bogus changelog dates emitted by build bot leading to build failure
- Related: #1715412

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2020-12-02 13:17:20 +01:00
Jindrich Novy
9830a7eb5b container-selinux-2.151.0-3.dev.git5d3c461.fc34
- remove %%fedora Epoch conditional
- Related: #1899626

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2020-12-02 12:52:47 +01:00
RH Container Bot
2a5fd9fae8 container-selinux-2:2.151.0-2.dev.git5d3c461
- bump to 2.151.0
- autobuilt 5d3c461

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-11-05 18:27:45 +00:00
RH Container Bot
d362045995 container-selinux-2:2.150.0-2.dev.git0ef4703
- bump to 2.150.0
- autobuilt 0ef4703

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-10-23 17:25:20 +00:00
RH Container Bot
9fdf5e4f15 container-selinux-2:2.148.0-3.dev.git9b3b66f
- autobuilt 9b3b66f

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-10-15 14:32:32 +00:00
RH Container Bot
b2e55a00f6 container-selinux-2:2.148.0-2.dev.git3c361a2
- bump to 2.148.0
- autobuilt 3c361a2

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-10-14 14:31:51 +00:00
RH Container Bot
f78c91f8fa container-selinux-2:2.147.0-2.dev.git9fb1698
- bump to 2.147.0
- autobuilt 9fb1698

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-10-12 14:31:58 +00:00
RH Container Bot
56ad893019 container-selinux-2:2.146.0-2.dev.git2908536
- bump to 2.146.0
- autobuilt 2908536

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-10-08 14:32:21 +00:00
RH Container Bot
9633f45f8a container-selinux-2:2.145.0-2.dev.git464e922
- bump to 2.145.0
- autobuilt 464e922

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-09-10 18:12:50 +00:00
Lokesh Mandvekar
b69eeb1c7c Resolves: #1797554 - use _selinux_policy_version macro
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-08-31 10:12:38 -04:00
Lokesh Mandvekar
72fda385c2 container-selinux-2:2.144.0-4.dev.git5d929d4
- Resolves: #1780129 - bump min selinux-policy

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-08-28 11:11:37 -04:00
RH Container Bot
bd03f1a9ad container-selinux-2:2.144.0-3.dev.git5d929d4
- autobuilt 5d929d4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-08-13 14:10:52 +00:00
RH Container Bot
147e7d7263 container-selinux-2:2.144.0-2.dev.git746ea7a
- bump to 2.144.0
- autobuilt 746ea7a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-08-12 15:10:13 +00:00
RH Container Bot
23e726843b container-selinux-2:2.143.0-2.dev.gite2d5a9e
- bump to 2.143.0
- autobuilt e2d5a9e

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-08-05 22:10:42 +00:00
Fedora Release Engineering
e73166af7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:31:25 +00:00
RH Container Bot
1cfd08260c container-selinux-2:2.142.0-2.dev.gitfe6a25c
- bump to 2.142.0
- autobuilt fe6a25c

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-07-24 11:09:57 +00:00
RH Container Bot
6901df102e container-selinux-2:2.141.0-2.dev.git2750e78
- bump to 2.141.0
- autobuilt 2750e78

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-07-24 10:09:56 +00:00
Merlin Mathesius
5b189dfd34 Clean up usage of %{epoch} macro to allow building for ELN
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-07-23 15:53:06 -05:00
RH Container Bot
78aaeb708b container-selinux-2:2.140.0-2.dev.git965c7fb
- bump to 2.140.0
- autobuilt 965c7fb

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-07-23 19:10:43 +00:00
RH Container Bot
dd65c71401 container-selinux-2:2.139.0-2.dev.git8c26927
- bump to 2.139.0
- autobuilt 8c26927

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-07-18 11:10:11 +00:00
RH Container Bot
d96aa6d4ec container-selinux-2:2.138.0-2.dev.git9884317
- bump to 2.138.0
- autobuilt 9884317

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-07-09 16:10:49 +00:00
RH Container Bot
7fd33b9d65 container-selinux-2:2.137.0-2.dev.git6b721da
- bump to 2.137.0
- autobuilt 6b721da

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-06-11 20:09:25 +00:00
RH Container Bot
3ed1e8a576 container-selinux-2:2.136.0-2.dev.git441172a
- bump to 2.136.0
- autobuilt 441172a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-06-11 18:09:25 +00:00
RH Container Bot
724d3722ea container-selinux-2:2.135.0-2.dev.git0d99e89
- bump to 2.135.0
- autobuilt 0d99e89

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-05-29 18:08:38 +00:00
RH Container Bot
3e718a963f container-selinux-2:2.134.0-2.dev.gitff26015
- bump to 2.134.0
- autobuilt ff26015

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-05-28 21:09:36 +00:00
Aleksandra Fedorova
92fc7eb090 Update gating test name
Messaging scheme has changed and old centos-related test names are now deprecated.

See https://pagure.io/fedora-ci/general/issue/110
2020-05-21 10:44:27 +02:00
RH Container Bot
9e927847d1 container-selinux-2:2.132.0-3.dev.git0a878bd
- autobuilt 0a878bd

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-05-11 18:08:15 +00:00
RH Container Bot
fe867eee69 container-selinux-2:2.132.0-2.dev.git448dfbf
- bump to 2.132.0
- autobuilt 448dfbf

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-04-15 14:07:54 +00:00
RH Container Bot
03c15b46a6 container-selinux-2:2.131.0-2.dev.git9ce0dac
- bump to 2.131.0
- autobuilt 9ce0dac

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-04-09 20:08:09 +00:00
RH Container Bot
a260f6569b container-selinux-2:2.130.0-2.dev.gitfd55ae0
- bump to 2.130.0
- autobuilt fd55ae0

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-04-06 19:08:06 +00:00
RH Container Bot
55657d1adf container-selinux-2:2.129.0-2.dev.gitf00d1f4
- bump to 2.129.0
- autobuilt f00d1f4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-29 12:09:29 +00:00
RH Container Bot
c060c61582 container-selinux-2:2.128.0-2.dev.git363646f
- bump to 2.128.0
- autobuilt 363646f

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-29 11:09:26 +00:00
RH Container Bot
a762720d65 container-selinux-2:2.127.0-2.dev.git6caf15d
- bump to 2.127.0
- autobuilt 6caf15d

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-27 15:07:51 +00:00
Daniel J Walsh
218d40242f
Install selinux contexts file into /usr/share/containers/selinux/contexts 2020-03-26 10:13:41 -04:00
RH Container Bot
3c31e55f4e container-selinux-2:2.126.0-2.dev.git867a377
- bump to 2.126.0
- autobuilt 867a377

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-26 14:07:29 +00:00
Lokesh Mandvekar
f8d59d5712 container-selinux-2:2.125.2-2.dev.gitae0720d
- bump release tag

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-03-23 17:00:44 -04:00
Daniel J Walsh
230c717ecf
Install container_contexts file
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-03-23 15:45:54 -04:00
RH Container Bot
be3fb2313c container-selinux-2:2.125.0-3.1.dev.gitfde876b
- autobuilt fde876b

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-23 19:07:23 +00:00
Lokesh Mandvekar
e913b2a98d container-selinux-2:2.125.0-2.1.dev.gitb321ea4
- bump release tag for smooth upgrade path

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-03-23 09:03:58 -04:00
RH Container Bot
5629e18d78 container-selinux-2:2.125.0-0.1.dev.gitb321ea4
- bump to 2.125.0
- autobuilt b321ea4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-03-20 18:11:34 +00:00
Lokesh Mandvekar
ad6b6a78c6 keep functional upgrade path
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2020-02-11 10:21:59 -05:00
RH Container Bot
a7a27f3909 container-selinux-2:2.124.0-0.4.dev.git5624558
- autobuilt 5624558

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2020-02-11 04:12:21 +00:00
Ondrej Mosnacek
a4a98d05cc Add smoke tests and enable gating
Add very basic smoke tests that check if the container module installed
successfully and that it is still possible to rebuild the policy after
installing the package.

This, along with enabling rawhide gating [1], should help catch issues
like [2] and prevent a broken build from getting into Rawhide composes.

[1] https://docs.fedoraproject.org/en-US/rawhide-gating/
[2] https://github.com/containers/container-selinux/pull/84

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-02-03 14:09:59 +01:00
Fedora Release Engineering
66ff78ffab - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 14:44:54 +00:00
Jindrich Novy
7ba0084bf5 container-selinux-2.124.0-0.2.dev.gitf958d0c.fc32
- use more current selinux policy version

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
2020-01-03 16:17:26 +01:00
RH Container Bot
9f271533a0 container-selinux-2:2.124.0-0.1.dev.gitf958d0c
- bump to 2.124.0
- autobuilt f958d0c

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-12-11 18:13:36 +00:00
Lokesh Mandvekar
cf0837dcdd container-selinux-2:2.123.0-0.4.dev.git0b25a4a
- run selinux_relabel_pre

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2019-12-09 11:27:54 -05:00
RH Container Bot
fda115ab94 container-selinux-2:2.123.0-0.3.dev.git0b25a4a
- autobuilt 0b25a4a

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-11-29 12:10:21 +00:00
Daniel J Walsh
c36566c4ae
Use selinux macros in post install scripts 2019-11-29 06:53:56 -05:00
RH Container Bot
c10fcb7be3 container-selinux-2:2.123.0-0.1.dev.git661a904
- bump to 2.123.0
- autobuilt 661a904

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-11-25 16:10:35 +00:00
RH Container Bot
7d86365609 container-selinux-2:2.122.0-0.1.dev.git4560dd4
- bump to 2.122.0
- autobuilt 4560dd4

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-11-22 21:10:14 +00:00
RH Container Bot
8afcfa88a8 container-selinux-2:2.120.1-0.2.dev.gita233788
- autobuilt a233788

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-11-19 14:15:26 +00:00
RH Container Bot
445a455adf container-selinux-2:2.120.1-0.1.dev.git6fb6dcf
- bump to 2.120.1
- autobuilt 6fb6dcf

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-11-06 20:15:33 +00:00
RH Container Bot
244a2cbe3c container-selinux-2:2.119.1-0.1.dev.git2ecb2a8
- bump to 2.119.1
- autobuilt 2ecb2a8

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-10-27 09:21:18 +00:00
RH Container Bot
c9e415f48d container-selinux-2:2.119.0-0.1.dev.gitb383f07
- bump to 2.119.0
- autobuilt b383f07

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-10-24 16:26:13 +00:00
RH Container Bot
7605f73935 container-selinux-2:2.118.0-0.1.dev.git79bdcb5
- bump to 2.118.0
- autobuilt 79bdcb5

Signed-off-by: RH Container Bot <rhcontainerbot@fedoraproject.org>
2019-10-11 14:19:30 +00:00
Lokesh Mandvekar (Bot)
603bad3c42 container-selinux-2:2.117.0-0.1.dev.gitbfde70a
- bump to 2.117.0
- autobuilt bfde70a

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-09-20 08:27:36 +00:00
Lokesh Mandvekar (Bot)
121490dc1d container-selinux-2:2.116.0-0.1.dev.gitc5ef5ac
- bump to 2.116.0
- autobuilt c5ef5ac

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-09-05 14:35:01 +00:00
Lokesh Mandvekar (Bot)
5e7899d66a container-selinux-2:2.115.0-0.1.dev.gitfddfbbb
- bump to 2.115.0
- autobuilt fddfbbb

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-08-21 14:30:06 +00:00
Lokesh Mandvekar (Bot)
c42be5bbaa container-selinux-2:2.114.0-0.1.dev.git028ab00
- bump to 2.114.0
- autobuilt 028ab00

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-08-19 12:25:19 +00:00
Daniel J Walsh
3125beb1b1
Allow containers to name_bind to rawip_sockets. 2019-08-09 15:10:42 -04:00
Daniel J Walsh
7390ff8b05
Allow containers to use fusefs_t entrypoint
Dontaudit attempts to setattr on devicenodes.
2019-08-08 17:22:59 -04:00
Fedora Release Engineering
1164ea7a24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 20:57:33 +00:00
Lokesh Mandvekar (Bot)
20e3511f2b container-selinux-2:2.111.0-2.1.dev.git9a75deb
- bump to 2.111.0
- autobuilt 9a75deb

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-07-18 03:24:01 +00:00
Lokesh Mandvekar
9db5509450 container-selinux-2.110.0-1.1.dev.git544d71f
- bump to v2.110.0
- hook up to autobuild

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2019-07-11 00:16:25 +05:30
Daniel J Walsh
ff9d4132e3
Allow containers to accept connections on all socket types
Allow containers to connect to gssproxy stream sockets if added to container
2019-07-08 13:40:06 -04:00
Daniel J Walsh
e642c7930b
Allow containers to manipulate Onload files. 2019-06-14 09:49:20 -04:00
Daniel J Walsh
535b77ce65
Allow all unconfined domains to manage unlabeled keyrings
Add labeling for kubernetes pods
2019-06-11 15:04:40 -04:00
Daniel J Walsh
5a72894caf
Set proper labeling for container volumes in SilverBlue 2019-06-03 06:51:52 +02:00
Daniel J Walsh
c4b1cdf7e5
Set proper labeling for container volumes 2019-05-17 16:35:24 -04:00
Daniel J Walsh
bd1fb39d87
Set proper labeling for container volumes 2019-05-17 16:34:53 -04:00
Daniel J Walsh
0ced217ba7
Allow all container domains to be entered from container_file_t 2019-05-12 06:50:58 -04:00
Daniel J Walsh
5c4855c313
Allow containers to read rpm cache and rpm databse 2019-05-03 15:32:13 -04:00
Daniel J Walsh
3cdf9de46f
Allow containers running as spc_t to create unlabeled_t kernel keyrings 2019-04-23 11:44:55 -04:00
Daniel J Walsh
bd9b0f5853
Allow containers running as spc_t to create unlabeled_t kernel keyrings 2019-04-23 11:44:39 -04:00
Daniel J Walsh
86a68856db
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/container-selinux 2019-04-23 11:44:12 -04:00
Daniel J Walsh
920a724abf
Fix labeling on /var/lib/containers/storage/overlay-layers,images to be sharable.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-04-23 11:43:50 -04:00
Daniel J Walsh
e49a8125a0
Fix labeling on /var/lib/containers/storage/overlay-layers,images to be sharable. 2019-04-22 16:51:58 -04:00
Daniel J Walsh
dfec1aa725
Fix labeling on /var/lib/containers/storage/overlay-layers,images to be sharable. 2019-04-22 16:51:35 -04:00
Daniel J Walsh
e2b52d2d49
Allow iptables to append to container_file_t 2019-04-15 09:14:34 -04:00
Daniel J Walsh
7bfa450762
Allow containers to read/write sysctl_kernel_ns_last_pid_t
Allow containers to manage fusefs sockets and named pipes
2019-04-12 12:48:55 -04:00
Daniel J Walsh
9a2cedceeb
Allow containers to create fusefs sockets and named pipes 2019-04-01 17:47:51 -04:00
Daniel J Walsh
83c147430e
Allow containers to create fusefs sockets and named pipes 2019-04-01 17:46:19 -04:00
Daniel J Walsh
e0dcd250c0
Allow init_t to manage container content
Allow container domains to create fifo_files on fusefs file systems
Add boolean to allow containers to use ceph file systems
2019-03-28 08:00:26 -04:00
Daniel J Walsh
81c6f71fc4
Allow container runtimes to create unlabeled keyrings 2019-03-26 08:15:18 -04:00
Daniel J Walsh
4b3e8ccdf7
Allow containers to mount and umount fuse file systems. This will allow us
to use buidlah within a user namespace separated container.
2019-03-20 15:41:00 -04:00
Daniel J Walsh
728707509f
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/container-selinux 2019-03-09 08:40:53 -05:00
Daniel J Walsh
c650254748
Allow all container domains to have container file types entrypoint
Add new release to fix issues with udica
Allow container_runtime_t to dyntransition to container domains
2019-03-09 08:38:21 -05:00
Lokesh Mandvekar (Bot)
8285069315 container-selinux-2:2.89-5.git2521d0d
- bump to 2.89
- autobuilt 2521d0d

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-03-09 05:21:39 +00:00
Lokesh Mandvekar (Bot)
8200ea022e container-selinux-2:2.88-4.git5c98b56
- bump to 2.88
- autobuilt 5c98b56

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-03-07 05:22:18 +00:00
Lokesh Mandvekar (Bot)
bee8aaf051 container-selinux-2:2.87-3.git2c1a2ab
- autobuilt 2c1a2ab

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-03-06 05:18:39 +00:00
Lokesh Mandvekar (Bot)
17ada63853 container-selinux-2:2.87-2.git891a85f
- bump to 2.87
- autobuilt 891a85f

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-03-02 05:05:56 +00:00
Daniel J Walsh
7ef0bf8d6f
Allow unconfined user and services to dyntrans to container domains, needed for CRIU
Allow containers exectue hugetlb files.
2019-03-01 09:00:53 -05:00
Daniel J Walsh
cdbdbb8ff6
More allow rules to allow containers to run within containers 2019-02-28 14:51:59 -05:00
Daniel J Walsh
9481eed87d
More allow rules to allow containers to run within containers 2019-02-28 08:15:40 -05:00
Lokesh Mandvekar (Bot)
0a83311798 container-selinux-2:2.82-2.git5e1f62f
- bump to 2.82
- autobuilt 5e1f62f

Signed-off-by: Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org>
2019-02-26 05:15:09 +00:00
Daniel J Walsh
a2d2cf7715
Allow containers to mounton cgroup and container_file_t 2019-02-25 10:08:25 -05:00
12 changed files with 520 additions and 409 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

169
.gitignore vendored
View file

@ -74,3 +74,172 @@
/container-selinux-484806a.tar.gz
/container-selinux-21c2be6.tar.gz
/container-selinux-5e1f62f.tar.gz
/container-selinux-ec6fcad.tar.gz
/container-selinux-eb60838.tar.gz
/container-selinux-92af7fd.tar.gz
/container-selinux-c178849.tar.gz
/container-selinux-891a85f.tar.gz
/container-selinux-2c1a2ab.tar.gz
/container-selinux-5c98b56.tar.gz
/container-selinux-2521d0d.tar.gz
/container-selinux-619db17.tar.gz
/container-selinux-acc6941.tar.gz
/container-selinux-1e99f1d.tar.gz
/container-selinux-e3ebc68.tar.gz
/container-selinux-a6c9822.tar.gz
/container-selinux-aa7b807.tar.gz
/container-selinux-9a53d6c.tar.gz
/container-selinux-3b78187.tar.gz
/container-selinux-b0061dc.tar.gz
/container-selinux-1c24dcb.tar.gz
/container-selinux-b275a1f.tar.gz
/container-selinux-7baad79.tar.gz
/container-selinux-fc7111d.tar.gz
/container-selinux-453b816.tar.gz
/container-selinux-db771da.tar.gz
/container-selinux-544d71f.tar.gz
/container-selinux-9a75deb.tar.gz
/container-selinux-b68cf19.tar.gz
/container-selinux-4f7d6bb.tar.gz
/container-selinux-028ab00.tar.gz
/container-selinux-fddfbbb.tar.gz
/container-selinux-c5ef5ac.tar.gz
/container-selinux-bfde70a.tar.gz
/container-selinux-79bdcb5.tar.gz
/container-selinux-b383f07.tar.gz
/container-selinux-2ecb2a8.tar.gz
/container-selinux-6fb6dcf.tar.gz
/container-selinux-a233788.tar.gz
/container-selinux-4560dd4.tar.gz
/container-selinux-661a904.tar.gz
/container-selinux-0b25a4a.tar.gz
/container-selinux-f958d0c.tar.gz
/container-selinux-5624558.tar.gz
/container-selinux-b321ea4.tar.gz
/container-selinux-fde876b.tar.gz
/container-selinux-ae0720d.tar.gz
/container-selinux-867a377.tar.gz
/container-selinux-6caf15d.tar.gz
/container-selinux-363646f.tar.gz
/container-selinux-f00d1f4.tar.gz
/container-selinux-fd55ae0.tar.gz
/container-selinux-9ce0dac.tar.gz
/container-selinux-448dfbf.tar.gz
/container-selinux-0a878bd.tar.gz
/container-selinux-ff26015.tar.gz
/container-selinux-0d99e89.tar.gz
/container-selinux-441172a.tar.gz
/container-selinux-6b721da.tar.gz
/container-selinux-9884317.tar.gz
/container-selinux-8c26927.tar.gz
/container-selinux-965c7fb.tar.gz
/container-selinux-2750e78.tar.gz
/container-selinux-fe6a25c.tar.gz
/container-selinux-e2d5a9e.tar.gz
/container-selinux-746ea7a.tar.gz
/container-selinux-5d929d4.tar.gz
/container-selinux-464e922.tar.gz
/container-selinux-2908536.tar.gz
/container-selinux-9fb1698.tar.gz
/container-selinux-3c361a2.tar.gz
/container-selinux-9b3b66f.tar.gz
/container-selinux-0ef4703.tar.gz
/container-selinux-5d3c461.tar.gz
/container-selinux-1677bc4.tar.gz
/container-selinux-8573f8d.tar.gz
/container-selinux-54e2ac5.tar.gz
/container-selinux-667f0f3.tar.gz
/container-selinux-75f193a.tar.gz
/container-selinux-f330e81.tar.gz
/container-selinux-6d13bf9.tar.gz
/container-selinux-eb6dad0.tar.gz
/container-selinux-aeb85c4.tar.gz
/container-selinux-e78ac4f.tar.gz
/container-selinux-d89a599.tar.gz
/container-selinux-c9f0cb6.tar.gz
/v2.155.0.tar.gz
/container-selinux-5a60716.tar.gz
/container-selinux-e1092cd.tar.gz
/container-selinux-da28288.tar.gz
/container-selinux-233e620.tar.gz
/container-selinux-61b862a.tar.gz
/container-selinux-99b40c5.tar.gz
/container-selinux-563ba3f.tar.gz
/v2.167.0.tar.gz
/v2.168.0.tar.gz
/v2.169.0.tar.gz
/v2.170.0.tar.gz
/v2.171.0.tar.gz
/v2.172.0.tar.gz
/v2.172.1.tar.gz
/v2.173.0.tar.gz
/v2.173.1.tar.gz
/v2.173.2.tar.gz
/v2.174.0.tar.gz
/v2.176.0.tar.gz
/v2.177.0.tar.gz
/v2.178.0.tar.gz
/v2.179.1.tar.gz
/v2.180.0.tar.gz
/v2.181.0.tar.gz
/v2.183.0.tar.gz
/v2.186.0.tar.gz
/v2.187.0.tar.gz
/v2.188.0.tar.gz
/v2.189.0.tar.gz
/v2.190.0.tar.gz
/v2.190.1.tar.gz
/v2.191.0.tar.gz
/v2.193.0.tar.gz
/v2.195.0.tar.gz
/v2.195.1.tar.gz
/v2.197.0.tar.gz
/v2.198.0.tar.gz
/v2.199.0.tar.gz
/v2.200.0.tar.gz
/v2.201.0.tar.gz
/v2.202.0.tar.gz
/v2.203.0.tar.gz
/v2.204.0.tar.gz
/v2.205.0.tar.gz
/v2.206.0.tar.gz
/v2.208.0.tar.gz
/v2.209.0.tar.gz
/v2.210.0.tar.gz
/v2.211.0.tar.gz
/v2.211.1.tar.gz
/v2.213.0.tar.gz
/v2.215.0.tar.gz
/v2.216.0.tar.gz
/v2.217.0.tar.gz
/v2.218.0.tar.gz
/v2.219.0.tar.gz
/v2.221.tar.gz
/v2.221.0.tar.gz
/v2.221.1.tar.gz
/v2.222.0.tar.gz
/v2.224.0.tar.gz
/v2.226.0.tar.gz
/v2.227.0.tar.gz
/v2.228.0.tar.gz
/v2.228.1.tar.gz
/v2.229.0.tar.gz
/v2.229.1.tar.gz
/v2.230.0.tar.gz
/v2.231.0.tar.gz
/packit-tmt-bodhi-reuse.zip
/v2.232.1.tar.gz
/v2.233.0.tar.gz
/v2.234.1.tar.gz
/v2.234.2.tar.gz
/v2.235.0.tar.gz
/v2.236.0.tar.gz
/v2.237.0.tar.gz
/v2.238.0.tar.gz
/v2.239.0.tar.gz
/v2.240.0.tar.gz
/v2.241.0.tar.gz
/v2.242.0.tar.gz
/v2.243.0.tar.gz
/v2.244.0.tar.gz
/v2.245.0.tar.gz

145
.packit.yaml Normal file
View file

@ -0,0 +1,145 @@
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
downstream_package_name: container-selinux
upstream_tag_template: v{version}
# Ref: https://packit.dev/docs/configuration#files_to_sync
files_to_sync:
- src: rpm/gating.yaml
dest: gating.yaml
delete: true
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: test/
dest: test/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
- .packit.yaml
packages:
container-selinux-fedora:
pkg_tool: fedpkg
specfile_path: rpm/container-selinux.spec
container-selinux-centos:
pkg_tool: centpkg
specfile_path: rpm/container-selinux.spec
container-selinux-eln:
specfile_path: rpm/container-selinux.spec
srpm_build_deps:
- make
jobs:
- job: copr_build
trigger: pull_request
packages: [container-selinux-fedora]
notifications: &copr_build_failure_notification
failure_comment:
message: "Ephemeral COPR build failed. @containers/packit-build please check."
enable_net: true
# container-selinux is noarch so we only need to test on one arch
targets: &fedora_copr_targets
- fedora-all-x86_64
- fedora-all-aarch64
- job: copr_build
trigger: pull_request
packages: [container-selinux-eln]
notifications: *copr_build_failure_notification
enable_net: true
targets: &eln_copr_targets
- fedora-eln-x86_64
- fedora-eln-aarch64
- job: copr_build
trigger: pull_request
packages: [container-selinux-centos]
notifications: *copr_build_failure_notification
enable_net: true
targets: &centos_copr_targets
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
- centos-stream-10-aarch64
# Run on commit to main branch
# Build targets managed in copr settings
- job: copr_build
trigger: commit
packages: [container-selinux-fedora]
notifications:
failure_comment:
message: "podman-next COPR build failed. @containers/packit-build please check."
branch: main
owner: rhcontainerbot
project: podman-next
enable_net: true
# All tests specified in the `/plans/` subdir
# Tests for Fedora
- job: tests
trigger: pull_request
packages: [container-selinux-fedora]
notifications: &test_failure_notification
failure_comment:
message: "Tests failed. @containers/packit-build please check."
targets: *fedora_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
# Tests for Fedora
- job: tests
trigger: pull_request
packages: [container-selinux-eln]
notifications: *test_failure_notification
targets: *eln_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-eln/rhcontainerbot-podman-next-fedora-eln.repo
# Tests for CentOS Stream
- job: tests
trigger: pull_request
packages: [container-selinux-centos]
notifications: *test_failure_notification
targets: *centos_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/centos-stream-$releasever/rhcontainerbot-podman-next-centos-stream-$releasever.repo
- job: propose_downstream
trigger: release
packages: [container-selinux-fedora]
dist_git_branches: &fedora_targets
- fedora-all
- job: propose_downstream
trigger: release
packages: [container-selinux-centos]
dist_git_branches:
- c10s
- job: koji_build
trigger: commit
packages: [container-selinux-fedora]
dist_git_branches: *fedora_targets
- job: bodhi_update
trigger: commit
packages: [container-selinux-fedora]
dist_git_branches:
- fedora-branched # rawhide updates are created automatically

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.13.0.

View file

@ -1,13 +1,7 @@
%global debug_package %{nil}
# container-selinux
%global git0 https://github.com/projectatomic/container-selinux
%global commit0 5e1f62fe319ebbef46bcabc8cc5e22d209411dda
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global debug_package %{nil}
# container-selinux stuff (prefix with ds_ for version/release etc.)
# Some bits borrowed from the openstack-selinux package
%global selinuxtype targeted
%global moduletype services
%global modulenames container
@ -16,43 +10,73 @@
# Format must contain '$x' somewhere to do anything useful
%global _format() export %1=""; for x in %{modulenames}; do %1+=%2; %1+=" "; done;
# Relabel files
%global relabel_files() %{_sbindir}/restorecon -R %{_bindir}/*podman* %{_bindir}/*runc* %{_bindir}/*crio %{_bindir}/docker* %{_localstatedir}/run/containerd.sock %{_localstatedir}/run/docker.sock %{_localstatedir}/run/docker.pid %{_sysconfdir}/docker %{_sysconfdir}/crio %{_localstatedir}/log/docker %{_localstatedir}/log/lxc %{_localstatedir}/lock/lxc %{_unitdir}/docker.service %{_unitdir}/docker-containerd.service %{_unitdir}/docker-latest.service %{_unitdir}/docker-latest-containerd.service %{_sysconfdir}/docker %{_libexecdir}/docker* &> /dev/null || :
# RHEL < 10 and Fedora < 40 use file context entries in /var/run
%if %{defined rhel} && 0%{?rhel} < 10 || %{defined fedora} && 0%{?fedora} < 40
%define legacy_var_run 1
%endif
# Version of SELinux we were using
%global selinux_policyver 3.13.1-220
# https://github.com/containers/container-selinux/issues/203
%if %{!defined fedora} && %{!defined rhel} || %{defined rhel} && 0%{?rhel} <= 9
%define no_user_namespace 1
%endif
# set copr_build is more intuitive than copr_username
%if %{defined copr_username} && "%{copr_username}" == "rhcontainerbot" && "%{copr_projectname}" == "podman-next"
%define next_build 1
%endif
Name: container-selinux
%if 0%{?fedora}
Epoch: 2
# Set different Epoch for rhcontainerbot/podman-next copr build
%if %{defined next_build}
Epoch: 102
%else
Epoch: 4
%endif
Version: 2.82
Release: 1.git%{shortcommit0}%{?dist}
License: GPLv2
URL: %{git0}
# Keep Version in upstream specfile at 0. It will be automatically set
# to the correct value by Packit for copr and koji builds.
# IGNORE this comment if you're looking at it in dist-git.
Version: 2.245.0
Release: %autorelease
License: GPL-2.0-only
URL: https://github.com/containers/%{name}
Summary: SELinux policies for container runtimes
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
BuildRequires: make
BuildRequires: git-core
BuildRequires: pkgconfig(systemd)
BuildRequires: selinux-policy >= %{selinux_policyver}
BuildRequires: selinux-policy-devel >= %{selinux_policyver}
BuildRequires: selinux-policy >= %_selinux_policy_version
BuildRequires: selinux-policy-devel >= %_selinux_policy_version
# RE: rhbz#1195804 - ensure min NVR for selinux-policy
Requires: selinux-policy >= %{selinux_policyver}
Requires(post): selinux-policy-base >= %{selinux_policyver}
Requires(post): selinux-policy-targeted >= %{selinux_policyver}
Requires: selinux-policy >= %_selinux_policy_version
Requires(post): selinux-policy-base >= %_selinux_policy_version
Requires(post): selinux-policy-any >= %_selinux_policy_version
Recommends: selinux-policy-targeted >= %_selinux_policy_version
Requires(post): policycoreutils
Requires(post): libselinux-utils
Requires(post): sed
Obsoletes: %{name} <= 2:1.12.5-13
Obsoletes: docker-selinux <= 2:1.12.4-28
Provides: docker-selinux = %{epoch}:%{version}-%{release}
Provides: docker-selinux = %{?epoch:%{epoch}:}%{version}-%{release}
Conflicts: udica < 0.2.6-1
Conflicts: k3s-selinux <= 0.4-1
%description
SELinux policy modules for use with container runtimes.
%prep
%autosetup -Sgit -n %{name}-%{commit0}
%autosetup -Sgit %{name}-%{version}
sed -i 's/^man: install-policy/man:/' Makefile
sed -i 's/^install: man/install:/' Makefile
%if %{defined no_user_namespace}
sed -i '/user_namespace/d' container.te
%endif
%if %{defined legacy_var_run}
sed -i 's|^/run/|/var/run/|' container.fc
%endif
%build
make
@ -60,407 +84,58 @@ make
%install
# install policy modules
%_format MODULES $x.pp.bz2
install -d %{buildroot}%{_datadir}/selinux/packages
install -d -p %{buildroot}%{_datadir}/selinux/devel/include/services
install -p -m 644 container.if %{buildroot}%{_datadir}/selinux/devel/include/services
install -m 0644 $MODULES %{buildroot}%{_datadir}/selinux/packages
%{__make} DATADIR=%{buildroot}%{_datadir} SYSCONFDIR=%{buildroot}%{_sysconfdir} install install.udica-templates install.selinux-user
# remove spec file
rm -rf container-selinux.spec
%check
%pre
%selinux_relabel_pre
%post
# Install all modules in a single transaction
if [ $1 -eq 1 ]; then
%{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
%{_sbindir}/setsebool -P -N virt_use_nfs=1 virt_sandbox_use_all_caps=1
fi
%_format MODULES %{_datadir}/selinux/packages/$x.pp.bz2
%{_sbindir}/semodule -n -s %{selinuxtype} -r container 2> /dev/null
%{_sbindir}/semodule -n -s %{selinuxtype} -d docker 2> /dev/null
%{_sbindir}/semodule -n -s %{selinuxtype} -d gear 2> /dev/null
%{_sbindir}/semodule -n -X 200 -s %{selinuxtype} -i $MODULES > /dev/null
if %{_sbindir}/selinuxenabled ; then
%{_sbindir}/load_policy
%relabel_files
if [ $1 -eq 1 ]; then
restorecon -R %{_sharedstatedir}/docker &> /dev/null || :
restorecon -R %{_sharedstatedir}/containers &> /dev/null || :
fi
fi
. %{_sysconfdir}/selinux/config
sed -e "\|container_file_t|h; \${x;s|container_file_t||;{g;t};a\\" -e "container_file_t" -e "}" -i /etc/selinux/${SELINUXTYPE}/contexts/customizable_types
%{_sbindir}/semodule -n -s ${SELINUXTYPE} -r container 2> /dev/null
%{_sbindir}/semodule -n -s ${SELINUXTYPE} -d docker 2> /dev/null
%{_sbindir}/semodule -n -s ${SELINUXTYPE} -d gear 2> /dev/null
%selinux_modules_install -s ${SELINUXTYPE} $MODULES
sed -e "\|container_file_t|h; \${x;s|container_file_t||;{g;t};a\\" -e "container_file_t" -e "}" -i /etc/selinux/${SELINUXTYPE}/contexts/customizable_types
matchpathcon -qV %{_sharedstatedir}/containers || restorecon -R %{_sharedstatedir}/containers &> /dev/null || :
%postun
if [ $1 -eq 0 ]; then
%{_sbindir}/semodule -n -r %{modulenames} docker &> /dev/null || :
if %{_sbindir}/selinuxenabled ; then
%{_sbindir}/load_policy
%relabel_files
fi
%selinux_modules_uninstall %{modulenames} docker
fi
%posttrans
%selinux_relabel_post
# Empty placeholder check to silence rpmlint
%check
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
%files
%doc README.md
%{_datadir}/selinux/*
%dir %{_datadir}/containers/selinux
%{_datadir}/containers/selinux/contexts
%dir %{_datadir}/udica
%dir %{_datadir}/udica/templates/
%{_datadir}/udica/templates/*
# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2209120
%{_mandir}/man8/container_selinux.8.gz
%{_sysconfdir}/selinux/targeted/contexts/users/container_u
%ghost %verify(not mode) %{_selinux_store_path}/targeted/active/modules/200/%{modulenames}
%ghost %verify(not mode) %{_selinux_store_path}/mls/active/modules/200/%{modulenames}
%triggerpostun -- container-selinux < 2:2.162.1-3
if %{_sbindir}/selinuxenabled ; then
echo "Fixing Rootless SELinux labels in homedir"
%{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null
fi
%changelog
* Sun Feb 10 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.82-1
- Allow confined users to use containers
* Fri Feb 08 2019 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.80-3.git21c2be6
- bump to 2.80
- autobuilt 21c2be6
* Thu Feb 7 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.81-1
- Add new labels for paths for containerd
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.80-2.git1b655d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jan 22 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.80-1.nightly.git21c2be6
- Don't allow containers to talk to contianer runtime sockets
* Fri Jan 11 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.79-1
- Fix labeling on /var/lib/registries
* Thu Jan 10 2019 Dan Walsh <dwalsh@fedoraproject.org> - 2.78-1
- Fix labeling for images in docker daemon user namespace
* Mon Dec 17 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.77-1
- Allow container-runtime to setattr on fifo_file handed into container runtime.
* Tue Nov 13 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.752.75-1.dev.git99e2cfd1
- bump to 2.75
- autobuilt 99e2cfd
* Mon Nov 12 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.76-1
- Allow containers to sendto dgram socket of container runtimes
- Needed to run container runtimes in notify socket unit files.
* Tue Oct 30 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.75-1.dev.git99e2cfd
- Allow containers to use fuse file systems by default
* Fri Oct 19 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.74-1
- Allow containers to setexec themselves
* Sat Sep 22 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.73-2
- Remove requires for policycoreutils-python-utils we don't need it.
* Wed Sep 12 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.73-1
- Define spc_t as a container_domain, so that container_runtime will transition
to spc_t even when setup with nosuid.
* Wed Sep 12 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.72-1
- Allow container_runtimes to setattr on callers fifo_files
github.com/opencontainers/selinux
* Mon Aug 27 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.71-2
- Fix restorecon to not error on missing directory
* Wed Aug 22 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.71-1
- Allow unconfined_r to transition to system_r over container_runtime_exec_t
* Wed Aug 22 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.70-1
- Allow unconfined_t to transition to container_runtime_t over container_runtime_exec_t
* Wed Jul 25 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.69-1
- dontaudit attempts to write to sysctl_kernel_t
* Wed Jul 18 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.68-2.gitc139a3d
- autobuilt c139a3d
* Mon Jul 16 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.67-1
- Add label for /var/lib/origin
- Add customizable_file_t to customizable_types
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.67-3.dev.git042f7cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 09 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.67-2.git042f7cf
- autobuilt 042f7cf
* Sat Jul 07 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.67-1.git0407867
- bump to 2.67
- autobuilt 0407867
* Sat Jun 30 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.66-1
- Allow container runtimes to dbus chat with systemd-resolved
* Tue Jun 12 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.64-1.gitdfaf8fd
- bump to 2.64
- autobuilt dfaf8fd
* Mon Jun 11 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.65-1
- Add new type to handle containers running with a non priv user in a userns
- allow containers to map all sockets
* Sun Jun 3 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.64-1.gitdfaf8fd
- Allow containers to create all socket classes
* Wed May 30 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.63-1
- Allow containers to create icmp packets
* Fri May 25 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.62-1.git1ecf953
- bump to 2.62
- autobuilt 1ecf953
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.61-1
- Allow spc_t to load kernel modules from inside of container
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.60-1
- Allow containers to list cgroup directories
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.59-1
- Transition for unconfined_service_t to container_runtime_t when executing container_runtime_exec_t.
* Mon May 21 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-2
- Run restorecon /usr/bin/podman in postinstall
* Fri May 18 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.58-1
- Add labels to allow podman to be run from a systemd unit file
* Tue Apr 17 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-12.gitd248f91
- autobuilt commit d248f91
* Tue Apr 17 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-11.gitd248f91
- autobuilt commit d248f91
* Mon Apr 16 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-10.gitd248f91
- autobuilt commit d248f91
* Mon Apr 16 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-9.gitd248f91
- autobuilt commit d248f91
* Mon Apr 16 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-8
- autobuilt commit d248f91
* Mon Apr 16 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-7
- autobuilt commit d248f91
* Mon Apr 16 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-6
- autobuilt commit d248f91
* Mon Apr 09 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-5
- autobuilt commit d248f91
* Mon Apr 09 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 2:2.55-4
- autobuilt commit d248f91
* Mon Apr 09 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.55-3
- autobuilt commit d248f91
* Mon Apr 09 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.55-2
- autobuilt commit d248f91
* Thu Mar 15 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.55-1
- Dontaudit attempts by containers to write to /proc/self
* Wed Mar 14 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.54-1
- Add rules for container domains to make writing custom policy easier
- Allow shell_exec_t as a container_runtime_t entrypoint
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.52-1
- Add rules for container domains to make writing custom policy easier
* Thu Mar 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.51-1
- Allow shell_exec_t as a container_runtime_t entrypoint
* Wed Mar 7 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.50-1
- Allow bin_t as a container_runtime_t entrypoint
- Add rules for running container runtimes on mls
* Thu Feb 15 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.48-1
- Allow container domains to map container_file_t directories
* Sat Feb 10 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.47-1
- Change default label of /exports to container_var_lib_t
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:2.46-3
- Escape macros in %%CHANGELOG
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.46-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Feb 03 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.46-1
- Add support for nosuid_transition flags for container_runtime and unconfined domains
* Fri Feb 02 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.45-1
- Allow containers to sendto their own stream sockets
* Mon Jan 29 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.44-1
- Allow container domains to read kernel ipc info
* Mon Jan 22 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.43-1
- Allow containers to memory map the fifo_files leaked into container from
container runtimes.
* Tue Jan 16 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.42-1
- Allow unconfined domains to transition to container types, when no-new-privs is set.
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.41-1
- Add support to nnp_transition for container domains
- Eliminates need for typebounds.
* Tue Jan 9 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.40-1
- Allow container_runtime_t to use user ttys
- Fixes bounds check for container_t
* Mon Jan 8 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.39-1
- Allow container runtimes to use interited terminals. This helps
satisfy the bounds check of container_t versus container_runtime_t.
* Sat Jan 6 2018 Dan Walsh <dwalsh@fedoraproject.org> - 2.38-1
- Allow container runtimes to mmap container_file_t devices
- Add labeling for rhel push plugin
* Tue Dec 12 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.37-1
- Allow containers to use inherited ttys
- Allow ostree to handle labels under /var/lib/containers/ostree
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.36-1
- Allow containers to relabelto/from all file types to container_file_t
* Mon Nov 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.35-1
- Allow container to map chr_files labeled container_file_t
* Wed Nov 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.34-1
- Dontaudit container processes getattr on kernel file systems
* Sun Nov 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.33-1
- Allow containers to read /etc/resolv.conf and /etc/hosts if volume
- mounted into container.
* Wed Nov 8 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.32-1
- Make sure users creating content in /var/lib with right labels
* Thu Oct 26 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.31-1
- Allow the container runtime to dbus chat with dnsmasq
- add dontaudit rules for container trying to write to /proc
* Tue Oct 10 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.29-1
- Add support for lxcd
- Add support for labeling of tmpfs storage created within a container.
* Mon Oct 9 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.28-1
- Allow a container to umount a container_file_t filesystem
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.27-1
- Allow container runtimes to work with the netfilter sockets
- Allow container_file_t to be an entrypoint for VM's
- Allow spc_t domains to transition to svirt_t
* Fri Sep 22 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.24-1
- Make sure container_runtime_t has all access of container_t
* Thu Sep 7 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.23-1
- Allow container runtimes to create sockets in tmp dirs
* Tue Sep 5 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.22-1
- Add additonal support for crio labeling.
* Mon Aug 14 2017 Troy Dawson <tdawson@redhat.com> - 2.21-3
- Fixup spec file conditionals
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:2.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.21-1
- Allow containers to execmod on container_share_t files.
* Thu Jul 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-2
- Relabel runc and crio executables
* Fri Jun 30 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.20-1
- Allow container processes to getsession
* Mon Jun 12 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.19-1
- Allow containers to create tun sockets
* Tue Jun 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.18-1
- Fix labeling for CRI-O files in overlay subdirs
* Mon Jun 5 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.17-1
- Revert change to run the container_runtime as ranged
* Thu Jun 1 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.16-1
- Add default labeling for cri-o in /etc/crio directories
* Wed May 31 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.15-1
- Allow container types to read/write container_runtime fifo files
- Allow a container runtime to mount on top of its own /proc
* Fri May 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.14-1
- Add labels for crio rename
- Break container_t rules out to use a separate container_domain
- Allow containers to be able to set namespaced SYCTLS
- Allow sandbox containers manage fuse files.
- Fixes to make container_runtimes work on MLS machines
- Bump version to allow handling of container_file_t filesystems
- Allow containers to mount, remount and umount container_file_t file systems
- Fixes to handle cap_userns
- Give container_t access to XFRM sockets
- Allow spc_t to dbus chat with init system
- Allow spc_t to dbus chat with init system
- Add rules to allow container runtimes to run with unconfined disabled
- Add rules to support cgroup file systems mounted into container.
- Fix typebounds entrypoint problems
- Fix typebounds problems
- Add typebounds statement for container_t from container_runtime_t
- We should only label runc not runc*
* Tue Feb 28 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.10-1
- Add rules to allow container runtimes to run with unconfined disabled
- Add rules to support cgroup file systems mounted into container.
* Mon Feb 13 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2.9-1
- Add rules to allow container_runtimes to run with unconfined disabled
* Thu Feb 9 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:8.1-1
- Allow container_file_t to be stored on cgroup_t file systems
* Tue Feb 7 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:7.1-1
- Fix type in container interface file
* Mon Feb 6 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:6.1-1
- Fix typebounds entrypoint problems
* Fri Jan 27 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:5.1-1
- Fix typebounds problems
* Thu Jan 19 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:4.1-1
- Add typebounds statement for container_t from container_runtime_t
- We should only label runc not runc*
* Tue Jan 17 2017 Dan Walsh <dwalsh@fedoraproject.org> - 2:3.1-1
- Fix labeling on /usr/bin/runc.*
- Add sandbox_net_domain access to container.te
- Remove containers ability to look at /etc content
* Wed Jan 11 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-4
- use upstream's RHEL-1.12 branch, commit 56c32da for CentOS 7
* Tue Jan 10 2017 Jonathan Lebon <jlebon@redhat.com> - 2:2.2-3
- properly disable docker module in %%post
* Sat Jan 07 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-2
- depend on selinux-policy-targeted
- relabel docker-latest* files as well
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.2-1
- bump to v2.2
- additional labeling for ocid
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-2
- install policy at level 200
- From: Dan Walsh <dwalsh@redhat.com>
* Fri Jan 06 2017 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:2.0-1
- Resolves: #1406517 - bump to v2.0 (first upload to Fedora as a
standalone package)
- include projectatomic/RHEL-1.12 branch commit for building on centos/rhel
* Mon Dec 19 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 2:1.12.4-29
- new package (separated from docker)
%autochangelog

14
gating.yaml Normal file
View file

@ -0,0 +1,14 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_stable
- bodhi_update_push_testing
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules: []

30
plans/main.fmf Normal file
View file

@ -0,0 +1,30 @@
discover:
how: fmf
execute:
how: tmt
prepare:
- how: feature
epel: enabled
# TODO: Revisit this once https://github.com/teemtee/tmt/issues/3990 is in place.
# FIXME: For whatever reason, CentOS Stream envs end up upgrading container-selinux
# from podman-next instead of using the one installed by Packit. This apparently should
# be easier to handle once tmt#3990 is done. Things work as expected on Fedora already.
- when: initiator == packit
how: shell
script: |
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
if compgen -G $COPR_REPO_FILE > /dev/null; then
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
fi
/basic_check:
discover+:
test: /test/basic_check
/podman_rootful_system:
discover+:
test: /test/podman_rootful_system
/podman_rootless_system:
discover+:
test: /test/podman_rootless_system

9
plans/tmt.fmf Normal file
View file

@ -0,0 +1,9 @@
/:
inherit: false
summary: Run tmt's integration tests
plan:
import:
url: https://github.com/teemtee/tmt
path: /plans/friends
name: /podman

View file

@ -1 +1 @@
SHA512 (container-selinux-5e1f62f.tar.gz) = 8184e4191cbce80e8ecf65f82e64f6b85eeda0b7b958be099b97100aaa78c71e3d0adec642eafb7e58037ba0a5b0452da7674d7e6c02a8f3c125f67629425ea7
SHA512 (v2.245.0.tar.gz) = 0bc85980780631ceccb38f2fde64ff7f3792be18d4501806532f097deedde70f446e2389c543dd78e9087b45cd1a6916c0e096e6ea42dd77ac377ad4111b7db2

34
test/main.fmf Normal file
View file

@ -0,0 +1,34 @@
require:
- attr
- container-selinux
- podman-tests
- policycoreutils
recommend:
- bats
/basic_check:
summary: Run basic checks
test: |
semodule --list=full | grep container
semodule -B
rpm -Vqf /var/lib/selinux/*/active/modules/200/container
/podman_rootful_system:
summary: Run SELinux specific Podman system tests
test: bash ./podman-rootful-tests.sh
/podman_rootless_system:
summary: Run rootless Podman system tests
test: bash ./podman-rootless-tests.sh
require+:
- passt
- passt-selinux
environment:
ROOTLESS_USER: "fedora"
adjust:
- when: distro == centos-stream
environment+:
ROOTLESS_USER: "ec2-user"
- when: distro == rhel
environment+:
ROOTLESS_USER: "cloud-user"

View file

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -exo pipefail
cat /etc/redhat-release
if [[ "$(id -u)" -ne 0 ]];then
echo "Please run as superuser"
exit 1
fi
# Print versions of distro and installed packages
rpm -q bats container-selinux podman podman-tests policycoreutils selinux-policy
# Run podman system tests
bats /usr/share/podman/test/system/410-selinux.bats

View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -exo pipefail
cat /etc/redhat-release
# Print versions of distro and installed packages
rpm -q bats container-selinux passt passt-selinux podman podman-tests policycoreutils selinux-policy
loginctl enable-linger "$ROOTLESS_USER"
# Run podman system tests
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/410-selinux.bats"
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/500-networking.bats"
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/505-networking-pasta.bats"