Hello community,

here is the log from the commit of package autofs for openSUSE:Factory checked 
in at 2019-02-04 21:21:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autofs (Old)
 and      /work/SRC/openSUSE:Factory/.autofs.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autofs"

Mon Feb  4 21:21:13 2019 rev:118 rq:666504 version:5.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/autofs/autofs.changes    2018-05-23 
16:04:56.343130796 +0200
+++ /work/SRC/openSUSE:Factory/.autofs.new.28833/autofs.changes 2019-02-04 
21:21:14.807656414 +0100
@@ -1,0 +2,66 @@
+Fri Jan 11 21:13:10 UTC 2019 - [email protected]
+
+- Upgrade to 5.1.5
+  - fix flag file permission.
+  - fix directory create permission.
+  - fix use after free in do_master_list_reset().
+  - fix deadlock in dumpmaps.
+  - dont use array for path when not necessary.
+  - fix prefix option handling in expand_entry().
+  - fix sublink option not set from defaults.
+  - fix error return in do_nfs_mount().
+  - add error handling for ext_mount_add().
+  - account for recent libnsl changes.
+  - use_hostname_for_mounts shouldn't prevent selection among replicas.
+  - fix monotonic_elapsed.
+  - Makefiles.rules: remove 'samples' from SUBDIRS.
+  - dont allow trailing slash in master map mount points.
+  - fix libresolv configure check.
+  - add fedfs-getsrvinfo.c.
+  - add mount.fedfs.c.
+  - add fedfs-map-nfs4.c.
+  - add conditional inclusion of fedfs binaries.
+  - add an example fedfs master map entry to the installed master map.
+  - improve hostname lookup error logging.
+  - fix rpm spec install premissions on auto.net and auto.smb.
+  - tiny patch for autofs typo and possible bug.
+  - add units After line to include statd service.
+  - use systemd sd_notify() at startup.
+  - fix NFS version mask usage.
+  - fix fd leak in rpc_do_create_client().
+  - add-man page note about extra slashes in paths.
+  - change expire type naming to better reflect usage.
+  - use defines for expire type.
+  - enable SIGUSR2 handling in rpm spec file.
+  - fix age setting at startup.
+  - fix update_negative_cache() map source usage.
+  - fix program usage message.
+  - mark removed cache entry negative.
+  - set bind mount as propagation slave.
+  - add master map pseudo options for mount propagation.
+  - fix use after free in parse_ldap_config().
+  - fix incorrect locking in sss lookup.
+  - fix amd parser opts option handling.
+  - fix possible NULL pointer dereference in get_defaults_entry().
+  - better handle hesiod support not built in.
+  - fix indent in automount(8) man page.
+  - remove autofs4 module load code.
+  - add NULL check in prepare_attempt_prefix().
+  - update build info with systemd.
+  - use flags for startup boolean options.
+  - move close stdio descriptors to become_daemon().
+  - add systemd service command line option.
+  - refactor negative map entry check.
+  - remove unused function dump_master().
+  - remove unused function dump_state_queue().
+  - remove couple of undeeded requires.
+  - Removed patches:
+    * 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-check-map-instances-for-staleness-on-map-update.patch
+    * 0001-use_hostname_for_mounts-shouldn-t-prevent-selection-.patch
+    * 0002-Fix-monotonic_elapsed.patch
+    * 0003-autofs-5.1.4-fix-fd-leak-in-rpc_do_create_client.patch
+  - Updated spec file to use native autofs service files
+
+-------------------------------------------------------------------

Old:
----
  0001-use_hostname_for_mounts-shouldn-t-prevent-selection-.patch
  0002-Fix-monotonic_elapsed.patch
  0003-autofs-5.1.4-fix-fd-leak-in-rpc_do_create_client.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.tar.sign
  autofs-5.1.3.tar.xz
  autofs.init
  autofs.service

New:
----
  autofs-5.1.5.tar.sign
  autofs-5.1.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autofs.spec ++++++
--- /var/tmp/diff_new_pack.feZCsA/_old  2019-02-04 21:21:15.667656209 +0100
+++ /var/tmp/diff_new_pack.feZCsA/_new  2019-02-04 21:21:15.667656209 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package autofs
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -68,8 +68,9 @@
 %endif
 %if %{with_systemd}
 BuildRequires:  systemd
+BuildRequires:  systemd-devel
 %endif
-Version:        5.1.3
+Version:        5.1.5
 Release:        0
 Summary:        A Kernel-Based Automounter
 License:        GPL-2.0-or-later
@@ -77,11 +78,9 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         
https://www.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.xz
 Source1:        sysconfig.autofs
-Source2:        autofs.init
 Source3:        autofs.schema
 Source4:        README.SUSE.ldap
 Source5:        README.SUSE
-Source6:        autofs.service
 Source7:        NetworkManager-autofs
 Source8:        get-upstream-patches
 Source9:        
https://www.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.sign
@@ -97,15 +96,6 @@
 Patch104:       autofs-use-libldap_r-instead-of-libldap-for-thread-safety.patch
 # PATCH-FIX-OPENSUSE autofs-5-1-3-fix-unset-tsd-group-name-handling.patch
 Patch105:       autofs-5-1-3-fix-unset-tsd-group-name-handling.patch
-# PATCH-FIX-OPENSUSE 
autofs-5-1-3-fix-ordering-of-seteuid-setegid-in-do_spawn.patch
-Patch106:       autofs-5-1-3-fix-ordering-of-seteuid-setegid-in-do_spawn.patch
-# PATCH-FIX-OPENSUSE autofs-5-1-3-fix-possible-map-instance-memory-leak.patch
-Patch107:       autofs-5-1-3-fix-possible-map-instance-memory-leak.patch
-# PATCH-FIX-OPENSUSE 
autofs-5-1-3-check-map-instances-for-staleness-on-map-update.patch
-Patch108:       
autofs-5-1-3-check-map-instances-for-staleness-on-map-update.patch
-Patch109:       0001-use_hostname_for_mounts-shouldn-t-prevent-selection-.patch
-Patch110:       0002-Fix-monotonic_elapsed.patch
-Patch111:       0003-autofs-5.1.4-fix-fd-leak-in-rpc_do_create_client.patch
 Requires(pre):  %fillup_prereq
 Requires(pre):  aaa_base
 %if %{with_systemd}
@@ -132,12 +122,6 @@
 %patch102 -p1
 %patch104 -p1
 %patch105 -p1
-%patch106 -p1
-%patch107 -p1
-%patch108 -p1
-%patch109 -p1
-%patch110 -p1
-%patch111 -p1
 
 %build
 autoreconf -fiv
@@ -160,15 +144,14 @@
 
 %install
 make install INSTALLROOT=%{buildroot}
+make install_samples INSTALLROOT=%{buildroot}
 install -d -m 755 %{buildroot}%{_sysconfdir}/auto.master.d
 install -D -m 644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.autofs
 install -D -m 755 %{SOURCE7} 
%{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/autofs
 ln -s %{_mandir}/man8/autofs.8.gz %{buildroot}/%{_mandir}/man8/rcautofs.8.gz
 %if %{with_systemd}
-install -D -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/autofs.service
 ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcautofs
 %else
-install -D -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/init.d/autofs
 ln -s ../../etc/init.d/autofs %{buildroot}%{_sbindir}/rcautofs
 %endif
 %if %{with_udisks}

++++++ autofs-5-1-3-fix-unset-tsd-group-name-handling.patch ++++++
--- /var/tmp/diff_new_pack.feZCsA/_old  2019-02-04 21:21:15.727656195 +0100
+++ /var/tmp/diff_new_pack.feZCsA/_new  2019-02-04 21:21:15.731656194 +0100
@@ -21,52 +21,44 @@
  lib/mounts.c |    1 +
  2 files changed, 6 insertions(+), 3 deletions(-)
 
-diff --git a/lib/macros.c b/lib/macros.c
-index ff9ba89..dfdca85 100644
 --- a/lib/macros.c
 +++ b/lib/macros.c
-@@ -281,18 +281,20 @@ macro_addvar(struct substvar *table, const char *str, 
int len, const char *value
+@@ -186,15 +186,17 @@ int macro_global_addvar(const char *str,
        }
  
-       if (lv) {
+       if (sv && !sv->readonly) {
 -              char *this = malloc(strlen(value) + 1);
 +              const char *val = value ? value : "";
 +              char *this = malloc(strlen(val) + 1);
-               if (!this) {
-                       lv = table;
+               if (!this)
                        goto done;
-               }
 -              strcpy(this, value);
 +              strcpy(this, val);
-               free(lv->val);
-               lv->val = this;
-               if (lv != table)
-                       lv = table;
+               free(sv->val);
+               sv->val = this;
+               ret = 1;
        } else {
                struct substvar *new;
 +              const char *this = value ? value : "";
                char *def, *val;
  
                def = strdup(str);
-@@ -302,7 +304,7 @@ macro_addvar(struct substvar *table, const char *str, int 
len, const char *value
-               }
+@@ -202,7 +204,7 @@ int macro_global_addvar(const char *str,
+                       goto done;
                def[len] = '\0';
  
 -              val = strdup(value);
 +              val = strdup(this);
                if (!val) {
-                       lv = table;
                        free(def);
-diff --git a/lib/mounts.c b/lib/mounts.c
-index ce6a60a..0b38bd8 100644
+                       goto done;
 --- a/lib/mounts.c
 +++ b/lib/mounts.c
-@@ -1463,6 +1463,7 @@ void set_tsd_user_vars(unsigned int logopt, uid_t uid, 
gid_t gid)
-               error(logopt, "failed alloc tsv storage");
-               return;
+@@ -1475,6 +1475,7 @@ void set_tsd_user_vars(unsigned int logo
+               error(logopt, "failed to get buffer size for getpwuid_r");
+               goto free_tsv;
        }
 +      memset(tsv, 0, sizeof(struct thread_stdenv_vars));
  
-       tsv->uid = uid;
-       tsv->gid = gid;
-
+       pw_tmp = malloc(tmplen + 1);
+       if (!pw_tmp) {

++++++ autofs-5.1.1-suse-auto_master_default.patch ++++++
--- /var/tmp/diff_new_pack.feZCsA/_old  2019-02-04 21:21:15.739656192 +0100
+++ /var/tmp/diff_new_pack.feZCsA/_new  2019-02-04 21:21:15.739656192 +0100
@@ -1,7 +1,9 @@
-Index: autofs-5.1.1/samples/auto.master
-===================================================================
---- autofs-5.1.1.orig/samples/auto.master
-+++ autofs-5.1.1/samples/auto.master
+---
+ samples/auto.master |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/samples/auto.master
++++ b/samples/auto.master
 @@ -4,18 +4,18 @@
  # mount-point [map-type[,format]:]map [options]
  # For details of the format look at auto.master(5).
@@ -22,5 +24,5 @@
 -+dir:/etc/auto.master.d
 +#+dir:/etc/auto.master.d
  #
- # Include central master map if it can be found using
- # nsswitch sources.
+ # If you have fedfs set up and the related binaries, either
+ # built as part of autofs or installed from another package,

++++++ autofs-5.1.3.tar.xz -> autofs-5.1.5.tar.xz ++++++
++++ 9392 lines of diff (skipped)



Reply via email to