Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2017-08-24 18:21:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs" Thu Aug 24 18:21:49 2017 rev:110 rq:517348 version:5.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2017-05-04 08:54:51.157175786 +0200 +++ /work/SRC/openSUSE:Factory/.autofs.new/autofs.changes 2017-08-24 18:21:53.231282336 +0200 @@ -1,0 +2,163 @@ +Tue Aug 15 21:57:09 CEST 2017 - [email protected] + +- Add libnsl-devel as build require in preparation of libnsl + removal from glibc + +------------------------------------------------------------------- +Tue Aug 15 17:09:57 UTC 2017 - [email protected] + +- Add gpg signature + +------------------------------------------------------------------- +Wed Aug 9 18:45:13 UTC 2017 - [email protected] + +- Update URL to use www.kernel.org now that ftp is gone. + +------------------------------------------------------------------- +Wed Aug 9 17:45:46 UTC 2017 - [email protected] + +- update to version 5.1.3: + * limit getgrgid_r() buffer size + * increase worker thread per-thread stack size + * fix offset mount location multiple expansion + * use malloc for expanded map location + * fix invalid reference in remount_active_mount() + * fix work around sss startup delay + * fix possible NULL derefernce + * use autofs_point to store expire timeout where possibe + * add config option to use mount request log id + * factor out set_thread_mount_request_log_id() + * log functions to prefix messages with attempt_id if available + * create thread-local ID for mount attempts + * add the mount requestor's pid to pending_args + * delay submount exit for amd submounts + * fix bogus check in expire_cleanup() + * handle amd cache option all in amd type auto mounts + * handle map_option cache for top level mounts + * capture cache option and its settings during parsing + * add function conf_amd_get_map_options() + * check for conflicting amd section mounts + * include amd mount section mounts in master mounts list + * add function conf_amd_get_mount_paths() + * add function conf_amd_get_map_name() + * add support for amd browsable option + * add ref counting to struct map_source + * fix typos in README.amd-maps + * honor last rw in mount options when doing a bind mount + * set autofs mounts catatonic at exit + * make set_direct_mount_catatonic() more general + * check NFS server availability on local mount fallback + * make lookup_nss_read_master() return nss status + * don't return until after master map retry read + * set sane default master read wait timeout + * dont exit on master map read fail timeout + * fix included master map not found return + * fix quoted key handling in sanitize_path() + * add sss master map wait config option + * work around sss startup delay + * add master read wait option + * wait for master map available at start + * update and add README for old autofs schema + * fix create_client() RPC client handling + * fix _strncmp() usage + * fix argc off by one in mount_autofs.c + * fix cachefs parse message not being logged + * fix typo in MOUNT_FLAG_GHOST comment + * Avoid local variable name shadowing another + * configure: add cache variable for Linux proc filesystem check + * fix count_mounts() function + * fix short memory allocation in lookup_amd_instance() + * Fix fgets(3) size argument (another one) + * Fix typos in error messages + * Remove unused local 2KB buffer + * fix file map changed check + * Change .requestor to .requester for consistency + * Fix a typo in CREDITS + * fix libtirpc detection with -Wl,--as-needed + * Fix size arg of fgets(3) + * Drop redundant \n in logerr() + * Fix compiler warning in try_remount() + * build: check for clock_gettime in librt + * fix possible memory leak in nfs mount + * add config option to suppress not found log message + * properly handle errors in lookup_nss_mount + * fix yp map age not updated during map lookup + * fix 'nameing' typo in autofs.conf + * add remote-fs.target systemd dependency + * add autofs(5) note of IPv6 libtirpc requirement + * fix autofs(5) description of supported map sources + * fix modules make clean target + * fix Makefile linking dependencies + * fix handle_mounts() termination condition check + * log pipe read errors + * fix use-after-free in st_queue_handler() + * always set direct mounts catatonic at exit + * improve scalability of direct mount path component + * fix use after free in match_my_name() + * fix memory leak in get_network_proximity() + * fix typo in autofs_sasl_bind() + * fix use after free in open_lookup() + * fix use after free in sun parser parse_init() + * fix memory leak in ldap do_init() + * fix memory leak in nisplus lookup_reinit() + * fix sasl connection concurrancy problem + * fix unbind sasl external mech + * remove unused function elapsed() + * change time() to use monotonic_clock() + * change remaining gettimeofday() to use clock_gettime() + * use monotonic clock for indirect mount condition + * use monotonic clock for direct mount condition + * define pending condition init helper function + * use monotonic clock for alarm thread condition wait + * define monotonic clock helper functions + * Add a mode option for master map entries + * fix error handling of is_mounted() + * fix out of order call in program map lookup + * add configuration option to use fqdn in mounts + * update map_hash_table_size description + * change lookup to use reinit instead of reopen + * implement reinit in multi lookup module + * fix map format check in nss_open_lookup() multi map module + * factor out alloc multi map context + * factor out free multi map context + * add type to struct lookup_mod + * implement reinit in yp lookup module + * implement reinit in sss lookup module + * implement reinit in program lookup module + * implement reinit in nisplus lookup module + * implement reinit in ldap lookup module + * implement reinit in hosts lookup module + * implement reinit in hesiod lookup module + * implement reinit in file lookup module + * implement reinit in dir lookup module + * implement reinit in parse modules + * add reinit entry point to modules + * fix nsswitch handling when opening multi map + * make open_lookup() return nss status + * move check_nss_result() to nsswitchr.c + * fix update_hosts_mounts() return + * fix missing source sss in multi map lookup + * fix direct map expire not set for initial empty map + * fix direct mount stale instance flag reset + * fix error handling on ldap bind fail + * fix config old name lookup + * fix rwlock unlock crash + * fix return handling of do_reconnect() in ldap module + * make find_server() return a status + * make find_dc_server() return a status + * make connect_to_server() return a status + * make do_connect() return a status + * move query dn calculation from do_bind() to do_connect() + * fix return handling in sss lookup module + * fix left mount count return from umount_multi_triggers() + * revert fix libtirpc name clash + * update libtirpc workaround for new soname + * fix fix gcc5 complaints + * Removed patches: + autofs-5.1.1-task-use-after-free.patch + autofs-improve-scalability-of-direct-mount-path-comp.patch + autofs-5.1.1-properly-handle-errors-in-lookup_nss_mount.patch + autofs-5.1.1-fix-yp-map-age-not-updated-during-map-lookup.patch + autofs-5.1.1-leave_auth_destroy.patch + +------------------------------------------------------------------- Old: ---- autofs-5.1.1-fix-yp-map-age-not-updated-during-map-lookup.patch autofs-5.1.1-leave_auth_destroy.patch autofs-5.1.1-properly-handle-errors-in-lookup_nss_mount.patch autofs-5.1.1-task-use-after-free.patch autofs-5.1.1.tar.xz autofs-improve-scalability-of-direct-mount-path-comp.patch New: ---- autofs-5.1.3.tar.sign autofs-5.1.3.tar.xz autofs.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.EG4E4c/_old 2017-08-24 18:21:54.495104385 +0200 +++ /var/tmp/diff_new_pack.EG4E4c/_new 2017-08-24 18:21:54.495104385 +0200 @@ -43,6 +43,7 @@ BuildRequires: e2fsprogs BuildRequires: flex BuildRequires: krb5-devel +BuildRequires: libnsl-devel BuildRequires: libopenssl-devel BuildRequires: libtirpc-devel BuildRequires: libxml2-devel @@ -60,13 +61,13 @@ %if %{with_systemd} BuildRequires: systemd %endif -Version: 5.1.1 +Version: 5.1.3 Release: 0 Summary: A Kernel-Based Automounter License: GPL-2.0+ Group: System/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.xz +Source: https://www.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.xz Source1: sysconfig.autofs Source2: autofs.init Source3: autofs.schema @@ -75,23 +76,15 @@ Source6: autofs.service Source7: NetworkManager-autofs Source8: get-upstream-patches +Source9: https://www.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.sign +Source10: autofs.keyring Source42: org.freedesktop.AutoMount.conf -# PATCH-FIX-UPSTREAM autofs-task-use-after-free.patch [bnc#727392] -Patch82: autofs-5.1.1-task-use-after-free.patch -# PATCH-FIX-UPSTREAM autofs-improve-scalability-of-direct-mount-path-comp.patch [bsc#966573] -Patch83: autofs-improve-scalability-of-direct-mount-path-comp.patch -# PATCH-FIX-UPSTREAM autofs-5.1.1-properly-handle-errors-in-lookup_nss_mount.patch (bsc#968918) -Patch84: autofs-5.1.1-properly-handle-errors-in-lookup_nss_mount.patch -# PATCH-FIX-UPSTREAM autofs-5.1.1-fix-yp-map-age-not-updated-during-map-lookup.patch (bsc#968918) -Patch85: autofs-5.1.1-fix-yp-map-age-not-updated-during-map-lookup.patch # PATCH-FIX-OPENSUSE autofs-suse-auto_master_default.patch Patch100: autofs-5.1.1-suse-auto_master_default.patch # PATCH-FIX-OPENSUSE autofs-debuginfo-fix.patch Patch101: autofs-5.1.1-debuginfo-fix.patch # PATCH-EXTEND-OPENSUSE autofs-dbus-udisks-monitor.patch Patch102: autofs-5.1.1-dbus-udisks-monitor.patch -# PATCH-FIX-OPENSUSE autofs-5.1.1-leave_auth_destroy.patch -Patch103: autofs-5.1.1-leave_auth_destroy.patch # PATCH-FIX-OPENSUSE autofs-use-libldap_r-instead-of-libldap-for-thread-safety.patch [bsc#955477] Patch104: autofs-use-libldap_r-instead-of-libldap-for-thread-safety.patch Requires(pre): %fillup_prereq @@ -115,14 +108,9 @@ cp %{SOURCE4} . cp %{SOURCE5} . # -%patch82 -p1 -%patch83 -p1 -%patch84 -p1 -%patch85 -p1 %patch100 -p1 %patch101 -p1 %patch102 -p1 -%patch103 -p0 %patch104 -p1 %build ++++++ autofs-5.1.1-dbus-udisks-monitor.patch ++++++ --- /var/tmp/diff_new_pack.EG4E4c/_old 2017-08-24 18:21:54.555095938 +0200 +++ /var/tmp/diff_new_pack.EG4E4c/_new 2017-08-24 18:21:54.559095375 +0200 @@ -585,7 +585,7 @@ CFLAGS += -DAUTOFS_LIB_DIR=\"$(autofslibdir)\" CFLAGS += -DAUTOFS_MAP_DIR=\"$(autofsmapdir)\" @@ -133,6 +141,10 @@ lookup_ldap.so: lookup_ldap.c dclist.o b - $(AUTOFS_LIB) $(LIBLDAP) $(LIBRESOLV) $(LIBS) + $(LDFLAGS) $(AUTOFS_LIB) $(LIBLDAP) $(LIBRESOLV) $(LIBS) $(STRIP) lookup_ldap.so +lookup_udisks.so: lookup_udisks.c ../include/lookup_udisks.h @@ -593,8 +593,8 @@ + $(STRIP) $@ + mount_nfs.so: mount_nfs.c replicated.o - $(CC) $(LDFLAGS) $(SOLDFLAGS) $(CFLAGS) -o mount_nfs.so \ - mount_nfs.c replicated.o $(AUTOFS_LIB) $(LIBS) + $(CC) $(SOLDFLAGS) $(CFLAGS) -o mount_nfs.so \ + mount_nfs.c replicated.o $(LDFLAGS) $(AUTOFS_LIB) $(LIBS) --- a/modules/lookup_multi.c +++ b/modules/lookup_multi.c @@ -56,6 +56,8 @@ static struct lookup_mod *nss_open_looku @@ -605,7 +605,7 @@ + !strncmp(argv[0], "udisks2", 7) || !strncmp(argv[0], "nis", 3) || !strncmp(argv[0], "ldaps", 5) || - !strncmp(argv[0], "ldap", 4)) { + !strncmp(argv[0], "ldap", 4) || --- /dev/null +++ b/modules/lookup_udisks.c @@ -0,0 +1,2449 @@ ++++++ autofs-5.1.1.tar.xz -> autofs-5.1.3.tar.xz ++++++ ++++ 9798 lines of diff (skipped)
