Backport #5141, fix startup when directory doesn't exist (#2047323)

This commit is contained in:
Adam Williamson 2022-01-27 11:21:43 -08:00
parent 0dd8948e7c
commit 1611a2fcbf

View File

@ -54,7 +54,7 @@ ExcludeArch: i686
Summary: 389 Directory Server (base) Summary: 389 Directory Server (base)
Name: 389-ds-base Name: 389-ds-base
Version: 2.0.13 Version: 2.0.13
Release: %{?relprefix}1%{?prerel}%{?dist} Release: %{?relprefix}2%{?prerel}%{?dist}
License: GPLv3+ License: GPLv3+
URL: https://www.port389.org URL: https://www.port389.org
Conflicts: selinux-policy-base < 3.9.8 Conflicts: selinux-policy-base < 3.9.8
@ -276,6 +276,11 @@ Source3: https://github.com/jemalloc/%{jemalloc_name}/releases/download
Patch0: concread-use-2018-edition.patch Patch0: concread-use-2018-edition.patch
%endif %endif
# https://bugzilla.redhat.com/show_bug.cgi?id=2047323
# https://github.com/389ds/389-ds-base/pull/5141
# Don't fail on startup if a directory we try to restorecon doesn't exist
Patch1: 0001-ds_selinux_restorecon.sh-always-exit-0.patch
%description %description
389 Directory Server is an LDAPv3 compliant server. The base package includes 389 Directory Server is an LDAPv3 compliant server. The base package includes
the LDAP server and command line utilities for server administration. the LDAP server and command line utilities for server administration.
@ -719,6 +724,9 @@ exit 0
%endif %endif
%changelog %changelog
* Thu Jan 27 2022 Adam Williamson <awilliam@redhat.com> - 2.0.13-2
- Backport PR#5141 to fix startup when a directory doesn't exist (#2047323)
* Mon Jan 24 2022 Mark Reynolds <mreynolds@redhat.com> - 2.0.13-1 * Mon Jan 24 2022 Mark Reynolds <mreynolds@redhat.com> - 2.0.13-1
- Bump version to 2.0.13 - Bump version to 2.0.13
- Issue 5132 - Update Rust crate lru to fix CVE - Issue 5132 - Update Rust crate lru to fix CVE