diff --git a/permissions.changes b/permissions.changes index 8acb75a..152722a 100644 --- a/permissions.changes +++ b/permissions.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Oct 3 12:38:09 UTC 2019 - Tomáš Chvátal + +- Add || exit 0 on the scriptlet as it can actually fail in + rootless containers with podman. This makes sure the zypper + does not abort the container creation. + * the actual error looks like: + /dev/zero: chown: Operation not permitted + ------------------------------------------------------------------- Fri Sep 13 11:19:42 UTC 2019 - jsegitz@suse.de diff --git a/permissions.spec b/permissions.spec index c643ab6..51a7e88 100644 --- a/permissions.spec +++ b/permissions.spec @@ -88,7 +88,7 @@ The actual permissions configuration files, /etc/permission.*. %post config %{fillup_only -n security} # apply all potentially changed permissions -%{_bindir}/chkstat --system +%{_bindir}/chkstat --system || exit 0 %package -n chkstat Summary: SUSE Linux Default Permissions tool