Prevent errors on bind-chroot uninstall when running (#1600583)

This commit is contained in:
Petr Menšík 2018-07-13 14:06:07 +02:00
parent 572c587d29
commit 89e5350e43
1 changed files with 4 additions and 1 deletions

View File

@ -1031,7 +1031,9 @@ if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
fi;
%preun chroot
%systemd_preun named-chroot.service
# wait for stop of both named-chroot and named-chroot-setup services
# on uninstall
%systemd_preun named-chroot.service named-chroot-setup.service
:;
%postun chroot
@ -1403,6 +1405,7 @@ rm -rf ${RPM_BUILD_ROOT}
* Thu Jul 12 2018 Petr Menšík <pemensik@redhat.com> - 32:9.11.3-15
- Use new config file named-chroot.files for chroot setup (#1429656)
- Fix chroot devices file verification (#1592873)
- Prevent errors on bind-chroot uninstall when running (#1600583)
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 32:9.11.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild