From f45ca0da9c44c4b1c3e591701267ee7f9c295360 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sep 25 2020 12:48:42 +0000 Subject: Modify the range of groups used in net.ipv4.ping_group_range to be 1 so that it will work more easily with User Namespaces Also turn back on AUDIT_WRITE until seccomp.json file is fixed --- diff --git a/containers.conf b/containers.conf index f5ad076..1abf943 100644 --- a/containers.conf +++ b/containers.conf @@ -60,6 +60,7 @@ # the default capabilities defined in the container engine will be added. # default_capabilities = [ + "AUDIT_WRITE", "CHOWN", "DAC_OVERRIDE", "FOWNER", @@ -77,7 +78,7 @@ default_capabilities = [ # for example:"net.ipv4.ping_group_range = 0 1000". # default_sysctls = [ - "net.ipv4.ping_group_range=0 65536", + "net.ipv4.ping_group_range=0 1", ] # A list of ulimits to be set in containers by default, specified as diff --git a/skopeo.spec b/skopeo.spec index 6f8bb2d..ff37b3b 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -46,7 +46,7 @@ Epoch: 1 Epoch: 2 %endif Version: 1.1.1 -Release: 50.dev.git%{shortcommit0}%{?dist} +Release: 51.dev.git%{shortcommit0}%{?dist} Summary: Inspect container images and repositories on registries License: ASL 2.0 URL: %{git0} @@ -447,6 +447,11 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_datadir}/%{name}/test %changelog +* Fri Sep 25 2020 Dan Walsh - 1:1.1.1-51.dev.git5d5756c +- Modify the range of groups used in net.ipv4.ping_group_range to be 1 so that +- it will work more easily with User Namespaces +- Also turn back on AUDIT_WRITE until seccomp.json file is fixed + * Mon Sep 21 18:12:41 UTC 2020 RH Container Bot - 1:1.1.1-50.dev.git8151b89 - autobuilt 8151b89