From 4e0657a1874c5cc5a1f62ec7a1e9ea8b8d92016a81c417aac961ee28a21c784e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 3 Oct 2019 13:03:49 +0000 Subject: [PATCH] Accepting request 734796 from home:scarabeus_iv:branches:Base:System - 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 OBS-URL: https://build.opensuse.org/request/show/734796 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=236 --- permissions.changes | 9 +++++++++ permissions.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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