Changelog for
autofs-5.1.9-4.1.x86_64.rpm :
* Mon Jun 03 2024 David Disseldorp
- Fix xmlStructuredErrorFunc callback parameter type (bsc#1221682)
* Refresh autofs-5.1.1-dbus-udisks-monitor.patch- Use upstream sasl_callback_t patch
* Remove autofs-5.1.9-cast-sasl_callback_t-function-pointers.patch
* Add autofs-5.1.9-Fix-incompatible-function-pointer-types.patch
* Wed Mar 20 2024 David Disseldorp - Fix -Werror=incompatible-pointer-types issues (bsc#1221682)
* Add autofs-5.1.9-fix-ldap_parse_page_control-check.patch
* Add autofs-5.1.9-cast-sasl_callback_t-function-pointers.patch
* Tue Feb 20 2024 Dominique Leuenberger - Use %patch -P N instead of deprecated %patchN.
* Sat Feb 10 2024 David Disseldorp - update to 5.1.9 (bsc#1219508)
* fix kernel mount status notification.
* fix fedfs build flags.
* fix set open file limit.
* improve descriptor open error reporting.
* fix root offset error handling.
* fix 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().
* bailout on rpc systemerror.
* fix nfsv4 only mounts should not use rpcbind.
* 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 nonstrict parameter from tree_mapent_umount_offsets().
* fix handling of incorrect return from umount_ent().
* dont use initgroups() at spawn.
* fix bashism in configure.
* musl: fix missing include in hash.h.
* musl: define fallback dummy NSS config path
* musl: avoid internal stat.h definitions.
* musl: add missing include to hash.h for _WORDSIZE.
* musl: add missing include to log.h for pid_t.
* musl: define _SWORD_TYPE.
* add autofs_strerror_r() helper for musl.
* update configure.
* handle innetgr() not present in musl.
* fix missing unlock in sasl_do_kinit_ext_cc().
* fix a couple of null cache locking problems.
* restore gcc flags after autoconf Kerberos 5 check.
* prepare for OpenLDAP SASL binding.
* let OpenLDAP handle SASL binding.
* configure: LDAP function checks ignore implicit declarations.
* improve debug logging of LDAP binds.
* improve debug logging of SASL binds.
* internal SASL logging only in debug log mode.
* more comprehensive verbose logging for LDAP maps.
* fix invalid tsv access.
* support SCRAM for SASL binding.
* ldap_sasl_interactive_bind() needs credentials for auto-detection.
* fix autofs regression due to positive_timeout.
* fix parse module instance mutex naming.
* serialise lookup module open and reinit.
* coverity fix for invalid access.
* fix hosts map deadlock on restart.
* fix deadlock with hosts map reload.
* fix memory leak in update_hosts_mounts().
* fix minus only option handling in concat_options().
* fix incorrect path for is_mounted() in try_remount().
* fix additional tsv invalid access.
* fix use_ignore_mount_option description.
* include addtional log info for mounts.
* fail on empty replicated host name.
* improve handling of ENOENT in sss setautomntent().
* don\'t immediately call function when waiting.
* define LDAP_DEPRECATED during LDAP configure check.
* fix return status of mount_autofs().
* don\'t close lookup at umount.
* fix deadlock in lookups.
* dont delay expire.
* make amd mapent search function name clear.
* rename statemachine() to signal_handler().
* make signal handling consistent.
* eliminate last remaining state_pipe usage.
* add function master_find_mapent_by_devid().
* use device id to locate autofs_point when setting log priotity.
* add command pipe handling functions.
* switch to application wide command pipe.
* get rid of unused field submnt_count.
* fix mount tree startup reconnect.
* fix unterminated read in handle_cmd_pipe_fifo_message().
* fix memory leak in sasl_do_kinit()
* fix fix mount tree startup reconnect.
* fix amd selector function matching.
* get rid entry thid field.
* continue expire immediately after submount check.
* eliminate realpath from mount of submount.
* eliminate root param from autofs mount and umount.
* remove redundant fstat from do_mount_direct().
* get rid of strlen call in handle_packet_missing_direct().
* remove redundant stat call in lookup_ghost().
* set mapent dev and ino before adding to index.
* change to use printf functions in amd parser.
* dont call umount_subtree_mounts() on parent at umount.
* dont take parent source lock at mount shutdown.
* fix possible use after free in handle_mounts_exit().
* make submount cleanup the same as top level mounts.
* add soucre parameter to module functions.
* add ioctlfd open helper.
* make open files limit configurable.
* use correct reference for IN6 macro call.
* dont probe interface that cant send packet.
* fix some sss error return cases.
* fix incorrect matching of cached wildcard key.
* fix expire retry looping.
* allow -null map in indirect maps.
* fix multi-mount check.
* fix let OpenLDAP handle SASL binding.
* always recreate credential cache.
* fix ldap_parse_page_control() check.
* fix typo in create_cmd_pipe_fifo().
* add null check in master_kill().
* be more careful with cmd pipe at exit.
* rename configure.in to configure.ac.
* update autoconf macros.
* update autoconf release.
* update autofs release.- drop autofs-5-1-3-fix-unset-tsd-group-name-handling.patch, upstream as ab8ca82 (\"autofs-5.1.3 - fix unset tsd group name handling\")- drop autofs-Test-TCP-request-correctly-in-nfs_get_info.patch, superseded by 80845bb (\"autofs-5.1.8 - fix nfsv4 only mounts should not use rpcbind\")- rebase autofs-5.1.1-dbus-udisks-monitor.patch atop 37fda2c (\"autofs-5.1.8 - add soucre parameter to module functions\")
* Thu Jan 11 2024 Goldwyn Rodrigues - Removed following upstreamed patches because of upgrade:
* autofs-5.1.6-fix-quoted-string-length-calc-in-expand.patch
* 0001-use_hostname_for_mounts-shouldn-t-prevent-selection-.patch
* 0002-Fix-monotonic_elapsed.patch Deleted
* 0003-autofs-5.1.4-fix-fd-leak-in-rpc_do_create_client.patch Deleted
* 0004-autofs-5.1.3-add-port-parameter-to-rpc_ping.patch
* 0005-autofs-5.1.4-fix-incorrect-locking-in-sss-lookup.patch
* autofs-5.1.3-revert-fix-argc-off-by-one-in-mount_aut.patch
* autofs-5-1-3-check-map-instances-for-staleness-on-map-update.patch
* autofs-5-1-3-fix-ordering-of-seteuid-setegid-in-do_spawn.patch
* autofs-5-1-3-fix-possible-map-instance-memory-leak.patch
* autofs-5.1.3-revert-fix-argc-off-by-one-in-mount_aut.patch
* autofs-5.1.6-fix-quoted-string-length-calc-in-expand.patch
* Sat Apr 22 2023 David Disseldorp - autofs-5.1.3-revert-fix-argc-off-by-one-in-mount_aut.patch Fix off-by-one error in recursive map handling. (bsc#1209653)
* Mon Apr 17 2023 Goldwyn Rodrigues - Add autofs-suse-manpage-remove-initdir.patch Removes references of initdir from man pages (bsc#1207881)
* Tue Sep 13 2022 Callum Farmer - Move dbus-1 system.d file to /usr (bsc#1203362)
* Thu May 12 2022 Stefan Schubert - Moved -autofs- file from user specif directory /etc/NetworkManager/dispatcher.d to vendor specific directory /usr/lib/NetworkManager/dispatcher.d. So, users changes can still be done in /etc and will not be overwritten by an update.
* Mon May 09 2022 Goldwyn Rodrigues - Use OPTIONS instead of AUTOFS_OPTIONS in /etc/sysconfig/autofs (bsc#1199027)
* Tue Mar 15 2022 Neil Brown - autofs-5.1.6-fix-quoted-string-length-calc-in-expand.patch Fix problem with quote handling (bsc#1181715)
* Mon Mar 14 2022 Neil Brown - 0005-autofs-5.1.4-fix-incorrect-locking-in-sss-lookup.patch Fix locking problem that causes deadlock when sss used. (bsc#1196485)
* Mon Feb 14 2022 Neil Brown - 0004-autofs-5.1.3-add-port-parameter-to-rpc_ping.patch Suppress portmap calls when port explicitly given (bsc#1195697)
* Thu Feb 10 2022 Neil Brown - Add autofs-Test-TCP-request-correctly-in-nfs_get_info.patch Fix bug when rpcbind not visible (bsc#1195587 bsc#1195595)
* Tue Jan 04 2022 Dirk Müller - update to 5.1.8:
* add xdr_exports().
* remove mount.x and rpcgen dependencies.
* dont use realloc in host exports list processing.
* use sprintf() when constructing hosts mapent.
* fix mnts_remove_amdmount() uses wrong list.
* Fix option for master read wait.
* eliminate cache_lookup_offset() usage.
* fix is mounted check on non existent path.
* simplify cache_get_parent().
* set offset parent in update_offset_entry().
* remove redundant variables from mount_autofs_offset().
* remove unused parameter form do_mount_autofs_offset().
* refactor umount_multi_triggers().
* eliminate clean_stale_multi_triggers().
* simplify mount_subtree() mount check.
* fix mnts_get_expire_list() expire list construction.
* fix inconsistent locking in umount_subtree_mounts().
* fix return from umount_subtree_mounts() on offset list delete.
* pass mapent_cache to update_offset_entry().
* fix inconsistent locking in parse_mount().
* remove unused mount offset list lock functions.
* eliminate count_mounts() from expire_proc_indirect().
* eliminate some strlen calls in offset handling.
* don\'t add offset mounts to mounted mounts table.
* reduce umount EBUSY check delay.
* cleanup cache_delete() a little.
* rename path to m_offset in update_offset_entry().
* don\'t pass root to do_mount_autofs_offset().
* rename tree implementation functions.
* add some multi-mount macros.
* remove unused functions cache_dump_multi() and cache_dump_cache().
* add a len field to struct autofs_point.
* make tree implementation data independent.
* add mapent tree implementation.
* add tree_mapent_add_node().
* add tree_mapent_delete_offsets().
* add tree_mapent_traverse_subtree().
* fix mount_fullpath().
* add tree_mapent_cleanup_offsets().
* add set_offset_tree_catatonic().
* add mount and umount offsets functions.
* switch to use tree implementation for offsets.
* remove obsolete functions.
* remove redundant local var from sun_mount().
* use mount_fullpath() in one spot in parse_mount().
* pass root length to mount_fullpath().
* remove unused function master_submount_list_empty().
* move amd mounts removal into lib/mounts.c.
* check for offset with no mount location.
* remove mounts_mutex.
* remove unused variable from get_exports().
* add missing free in handle_mounts().
* remove redundant if check.
* fix possible memory leak in master_parse().
* fix possible memory leak in mnts_add_amdmount().
* fix double unlock in parse_mount().
* add length check in umount_subtree_mounts().
* fix flags check in umount_multi().
* dont try umount after stat() ENOENT fail.
* remove redundant assignment in master_add_amd_mount_section_mounts().
* fix dead code in mnts_add_mount().
* fix arg not used in error print.
* fix missing lock release in mount_subtree().
* fix double free in parse_mapent().
* refactor lookup_prune_one_cache() a bit.
* cater for empty mounts list in mnts_get_expire_list().
* add ext_mount_hash_mutex lock helpers.
* fix amd section mounts map reload.
* fix dandling symlink creation if nis support is not available.
* dont use AUTOFS_DEV_IOCTL_CLOSEMOUNT.
* fix lookup_prune_one_cache() refactoring change.
* fix amd hosts mount expire.
* fix offset entries order.
* use mapent tree root for tree_mapent_add_node().
* eliminate redundant cache lookup in tree_mapent_add_node().
* fix hosts map offset order.
* fix direct mount deadlock.
* add missing description of null map option.
* fix nonstrict offset mount fail handling.
* fix concat_options() error handling.
* eliminate some more alloca usage.
* use default stack size for threads.
* fix use of possibly NULL var in lookup_program.c:match_key().
* fix incorrect print format specifiers in get_pkt().
* add mapent path length check in handle_packet_expire_direct().
* add copy length check in umount_autofs_indirect().
* add some buffer length checks to master map parser.
* add buffer length check to rmdir_path().
* eliminate buffer usage from handle_mounts_cleanup().
* add buffer length checks to autofs mount_mount().
* make NFS version check flags consistent.
* refactor get_nfs_info().- drop autofs-5.1.7-Fix-option-for-master_read_wait.patch, autofs-5.1.7-use-default-stack-size-for-threads.patch: upstream
* Wed Sep 08 2021 Goldwyn Rodrigues - autofs-5.1.7-use-default-stack-size-for-threads.patch: Use default stack size for threads (bsc#1189199)
* Thu Apr 22 2021 Goldwyn Rodrigues - Update pidfile path to /run from /var/run (bsc#1185155)
* Thu Apr 22 2021 Goldwyn Rodrigues - Upgrade to 5.1.7 - make bind mounts propagation slave by default. - update ldap READMEs and schema definitions. - fix program map multi-mount lookup after mount fail. - fix browse dir not re-created on symlink expire. - fix a regression with map instance lookup. - correct fsf address. - samples: fix Makefile targets\' directory dependencies - remove intr hosts map mount option. - fix trailing dollar sun entry expansion. - initialize struct addrinfo for getaddrinfo() calls. - fix quoted string length calc in expandsunent(). - fix autofs mount options construction. - mount_nfs.c fix local rdma share not mounting. - configure.in: Remove unneeded second call to PKG_PROG_PKG_CONFIG. - configure.in: Do not append parentheses to PKG_PROG_PKG_CONFIG. - Use PKG_CHECK_MODULES to detect the libxml2 library. - fix ldap sasl reconnect problem. - samples/ldap.schema fix. - fix configure force shutdown check. - fix crash in sun_mount(). - fix lookup_nss_read_master() nsswicth check return. - fix typo in open_sss_lib(). - fix sss_master_map_wait timing. - add sss ECONREFUSED return handling. - use mapname in sss context for setautomntent(). - add support for new sss autofs proto version call. - fix retries check in setautomntent_wait(). - refactor sss setautomntent(). - improve sss setautomntent() error handling. - refactor sss getautomntent(). - improve sss getautomntent() error handling. - sss introduce calculate_retry_count() function. - move readall into struct master. - sss introduce a flag to indicate map being read. - update sss timeout documentation. - refactor sss getautomntbyname(). - improve sss getautomntbyname() error handling. - use a valid timeout in lookup_prune_one_cache(). - dont prune offset map entries. - simplify sss source stale check. - include linux/nfs.h directly in rpc_subs.h. - fix typo in daemon/automount.c. - fix direct mount unlink_mount_tree() path. - fix unlink mounts umount order. - fix incorrect logical compare in unlink_mount_tree(). - use bit flag for force unlink mounts. - improve force unlink option description. - remove command fifo on autofs mount fail. - add force unlink mounts and exit option. - cleanup stale logpri fifo pipes on unlink and exit. - fix incorrect systemctl command syntax in autofs(8). - update list.h. - add hashtable implementation. - change mountpoint to mp in struct ext_mount. - make external mounts independent of amd_entry. - make external mounts use simpler hashtable. - add a hash index to mnt_list. - use mnt_list for submounts. - use mnt_list for amdmounts. - make umount_autofs() static. - remove force parameter from umount_all(). - fix remount expire. - fix stale offset directories disable mount. - use struct mnt_list to track mounted mounts. - use struct mnt_list mounted list for expire. - remove unused function tree_get_mnt_list(). - only add expre alarm for active mounts. - move submount check into conditional_alarm_add(). - move lib/master.c to daemon/master.c. - use master_list_empty() for list empty check. - add helper to construct mount point path. - check defaults_read_config() return. - move AUTOFS_LIB to end of build rule lines. - make autofs.a a shared library. - make lookup_file.c nss map read status return handling consistent. - fix empty mounts list return from unlink_mount_tree().- Refreshed autofs-5.1.1-dbus-udisks-monitor.patch- Replaced automount-fix-master-wait.patch with upstream patch autofs-5.1.7-Fix-option-for-master_read_wait.patch