diff --git a/autofs.spec b/autofs.spec index b3bc052..986aeb8 100644 --- a/autofs.spec +++ b/autofs.spec @@ -12,7 +12,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.1.7 -Release: 27%{?dist} +Release: 28%{?dist} Epoch: 1 License: GPLv2+ Source: https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-%{version}-2.tar.gz @@ -107,6 +107,17 @@ Patch83: autofs-5.1.8-fix-fedfs-build-flags.patch Patch84: autofs-5.1.8-fix-set-open-file-limit.patch Patch85: autofs-5.1.8-improve-descriptor-open-error-reporting.patch +Patch86: autofs-5.1.8-fix-root-offset-error-handling.patch +Patch87: autofs-5.1.8-fix-fix-root-offset-error-handling.patch +Patch88: autofs-5.1.8-fix-nonstrict-fail-handling-of-last-offset-mount.patch +Patch89: autofs-5.1.8-dont-fail-on-duplicate-host-export-entry.patch +Patch90: autofs-5.1.8-fix-loop-under-run-in-cache_get_offset_parent.patch +Patch91: autofs-5.1.8-simplify-cache_add-a-little.patch +Patch92: autofs-5.1.8-fix-use-after-free-in-tree_mapent_delete_offset_tree.patch +Patch93: autofs-5.1.8-fix-memory-leak-in-xdr_exports.patch +Patch94: autofs-5.1.8-avoid-calling-pthread_getspecific-with-NULL-key_thread_attempt_id.patch +Patch95: autofs-5.1.8-fix-sysconf-return-handling.patch + %if %{with_systemd} BuildRequires: systemd-units BuildRequires: systemd-devel @@ -115,7 +126,7 @@ BuildRequires: gcc BuildRequires: autoconf, openldap-devel, bison, flex, libxml2-devel BuildRequires: cyrus-sasl-devel, openssl-devel module-init-tools util-linux BuildRequires: e2fsprogs libtirpc-devel libsss_autofs -BuildRequires: rpcgen pkgconfig krb5-devel +BuildRequires: pkgconfig krb5-devel BuildRequires: make Conflicts: cyrus-sasl-lib < 2.1.23-9 Requires: bash coreutils sed gawk grep module-init-tools /bin/ps @@ -259,6 +270,17 @@ echo %{version}-%{release} > .version %patch84 -p1 %patch85 -p1 +%patch86 -p1 +%patch87 -p1 +%patch88 -p1 +%patch89 -p1 +%patch90 -p1 +%patch91 -p1 +%patch92 -p1 +%patch93 -p1 +%patch94 -p1 +%patch95 -p1 + %build LDFLAGS=-Wl,-z,now %configure \ @@ -366,6 +388,20 @@ fi %dir /etc/auto.master.d %changelog +* Wed May 11 2022 Ian Kent - 1:5.1.7-28 +- bz2056320 - Using -hosts option does not work in RHEL 9 + - fix root offset error handling. + - fix nonstrict fail handling of last offset mount. + - dont fail on duplicate offset entry tree add. + - fix loop under run in cache_get_offset_parent(). + - simplify cache_add() a little. + - fix use after free in tree_mapent_delete_offset_tree(). + - fix memory leak in xdr_exports(). + - avoid calling pthread_getspecific() with NULL key_thread_attempt_id. + - fix sysconf(3) return handling. + - remove rpcgen dependedncy, it hasn't been needed since rev 10. +- Related: rhbz#2056320 + * Sun Jan 09 2022 Ian Kent - 1:5.1.7-27 - bz2028746 - autofs service has not proper limits set to be able to handle many mounts