Fix labels in users homedirs, before overlayfs is supported by default for non root users
This commit is contained in:
parent
8cccf0bd09
commit
2e560c5e49
@ -24,7 +24,7 @@
|
|||||||
Name: container-selinux
|
Name: container-selinux
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 2.162.1
|
Version: 2.162.1
|
||||||
Release: 2.dev.git%{shortcommit0}%{?dist}
|
Release: 3.dev.git%{shortcommit0}%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
Summary: SELinux policies for container runtimes
|
Summary: SELinux policies for container runtimes
|
||||||
@ -103,8 +103,18 @@ fi
|
|||||||
# Currently shipped in selinux-policy-doc
|
# Currently shipped in selinux-policy-doc
|
||||||
#%%{_datadir}/man/man8/container_selinux.8.gz
|
#%%{_datadir}/man/man8/container_selinux.8.gz
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
|
||||||
# Hooked up to autobuilder, please check with @lsm5 before updating
|
# Hooked up to autobuilder, please check with @lsm5 before updating
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 17 2021 Dan Walsh <dwalsh@fedoraproject.org> - 2:2.162.1-3.dev.git233e620
|
||||||
|
- Fix labels in users homedirs, before overlayfs is supported by default for non root users
|
||||||
|
|
||||||
* Sun May 16 2021 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.162.1-2.dev.git233e620
|
* Sun May 16 2021 RH Container Bot <rhcontainerbot@fedoraproject.org> - 2:2.162.1-2.dev.git233e620
|
||||||
- bump to 2.162.1
|
- bump to 2.162.1
|
||||||
- autobuilt 233e620
|
- autobuilt 233e620
|
||||||
|
Loading…
Reference in New Issue
Block a user