Hello community,

here is the log from the commit of package autofs for openSUSE:11.4
checked in at Mon Aug 29 16:08:21 CEST 2011.



--------
--- old-versions/11.4/all/autofs/autofs.changes 2011-02-21 16:00:13.000000000 
+0100
+++ 11.4/autofs/autofs.changes  2011-08-26 15:29:05.000000000 +0200
@@ -1,0 +2,81 @@
+Fri Aug 26 12:59:45 UTC 2011 - lchiqui...@suse.com
+
+- first AutoFS maintenance update for openSUSE 11.4 (bnc#700085)
+
+-------------------------------------------------------------------
+Tue Jun 14 17:21:19 UTC 2011 - lchiqui...@novell.com
+
+- rpm spec: install the rcautofs(8) man page as a symbolic link
+  to autofs(8)
+- rpm spec: restart the automount daemon after updates
+- init script: update Free Software Foundation address
+
+-------------------------------------------------------------------
+Tue Jun 14 12:01:17 UTC 2011 - lchiqui...@novell.com
+
+- fix null cache deadlock (bnc#696596)
+
+-------------------------------------------------------------------
+Tue Jun 14 11:54:02 UTC 2011 - lchiqui...@novell.com
+
+- update 5.0.5 upstream patches to 20110613 (bnc#699767):
+  * remove master_mutex_unlock() leftover
+  * fix sanity checks for brackets in server name
+  * fix lsb service name in init script
+  * fix map source check in file lookup
+  * fix simple bind without SASL support
+  * fix sasl bind host name selection
+
+-------------------------------------------------------------------
+Mon May  9 16:46:48 UTC 2011 - lchiqui...@novell.com
+
+- update 5.0.5 upstream patches to 20110427 (bnc#692104):
+  * fix paged ldap map read
+  * fix next task list update
+  * fix stale map read
+  * fix null cache clean
+  * automount(8) man page correction
+  * fix out of order locking in readmap
+  * include ip address in debug logging
+  * mount using address for DNS round robin host names
+  * reset negative status on cache prune
+- remove patches that are now upstream:
+  * autofs-5.0.5-fix-next-task-list-update.patch
+  * autofs-5.0.5-fix-stale-map-read.patch
+  * autofs-5.0.5-fix-out-of-order-locking-in-readmap.patch
+
+-------------------------------------------------------------------
+Mon Apr  4 21:04:35 UTC 2011 - lchiqui...@novell.com
+
+- init script: use misc device (/dev/autofs) by default, unless it
+  is explicitly disabled in sysconfig (bnc#684997)
+
+-------------------------------------------------------------------
+Mon Apr  4 20:49:38 UTC 2011 - lchiqui...@novell.com
+
+- fix out of order locking in readmap (bnc#667967)
+
+-------------------------------------------------------------------
+Mon Apr  4 20:40:04 UTC 2011 - lchiqui...@novell.com
+
+- add upstream fixes for the "non-expiring mounts" problem
+  (bnc#677143, bnc#698589)
+
+-------------------------------------------------------------------
+Tue Mar 29 14:54:08 UTC 2011 - lchiqui...@novell.com
+
+- update 5.0.5 upstream patches to 20110318, fixing one bug:
+  * replace GPLv3 code (bnc#682268)
+
+-------------------------------------------------------------------
+Thu Mar  3 14:11:32 UTC 2011 - lchiqui...@novell.com
+
+- update 5.0.5 upstream patches to 20110302 (bnc#676690):
+  * use weight only for server selection
+  * fix isspace() wild card substitution
+  * auto adjust ldap page size
+  * fix prune cache valid check
+  * fix mountd vers retry
+  * fix expire race
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/autofs
Destination is old-versions/11.4/UPDATES/all/autofs
calling whatdependson for 11.4-i586


Old:
----
  autofs-5.0.5-upstream-patches-20101021.bz2

New:
----
  autofs-5.0.5-fix-null-cache-deadlock.patch
  autofs-5.0.5-upstream-patches-20110613.bz2

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

Other differences:
------------------
++++++ autofs.spec ++++++
--- /var/tmp/diff_new_pack.m2JLOy/_old  2011-08-29 16:08:01.000000000 +0200
+++ /var/tmp/diff_new_pack.m2JLOy/_new  2011-08-29 16:08:01.000000000 +0200
@@ -26,7 +26,7 @@
 Group:          System/Daemons
 AutoReqProv:    on
 Version:        5.0.5
-Release:        14.<RELEASE2>
+Release:        14.<RELEASE19>
 Summary:        A Kernel-Based Automounter
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         
ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2
@@ -36,9 +36,10 @@
 Source5:        README.SuSE
 Source7:        NetworkManager-autofs
 Source8:        get-upstream-patches
-%define patchdate 20101021
+%define patchdate 20110613
 Patch0:         autofs-%{version}-upstream-patches-%{patchdate}.bz2
 Patch1:         autofs-5.0.5-invalid-ghost-dirs.patch
+Patch2:         autofs-5.0.5-fix-null-cache-deadlock.patch
 Patch10:        autofs-suse-auto_master_default.patch
 Patch11:        autofs-suse-autofs_init.patch
 Patch12:        autofs-suse-build.patch
@@ -66,6 +67,7 @@
 #
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
@@ -86,6 +88,7 @@
 %install
 make install INSTALLROOT=$RPM_BUILD_ROOT
 ln -s ../../etc/init.d/autofs $RPM_BUILD_ROOT/usr/sbin/rcautofs
+ln -s %{_mandir}/man8/autofs.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/rcautofs.8.gz
 mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
 install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.autofs
 mkdir -p $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d
@@ -106,6 +109,7 @@
 %{stop_on_removal autofs}
 
 %postun
+%{restart_on_update autofs}
 %{insserv_cleanup}
 
 %files

++++++ autofs-5.0.5-fix-null-cache-deadlock.patch ++++++
This might be all we need since once the master map is read the null
cache is set up and and can't change while we hold the read lock ....

autofs-5.0.5 - fix null cache deadlock

From: Ian Kent <ik...@redhat.com>

---

 daemon/state.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon/state.c b/daemon/state.c
index 3645440..51809a1 100644
--- a/daemon/state.c
+++ b/daemon/state.c
@@ -473,11 +473,11 @@ static void *do_readmap(void *arg)
 
                mnts = tree_make_mnt_tree(_PROC_MOUNTS, "/");
                pthread_cleanup_push(tree_mnts_cleanup, mnts);
-               pthread_cleanup_push(master_source_lock_cleanup, ap->entry);
-               master_source_readlock(ap->entry);
                nc = ap->entry->master->nc;
                cache_readlock(nc);
                pthread_cleanup_push(cache_lock_cleanup, nc);
+               master_source_readlock(ap->entry);
+               pthread_cleanup_push(master_source_lock_cleanup, ap->entry);
                map = ap->entry->maps;
                while (map) {
                        /* Is map source up to date or no longer valid */


++++++ autofs-suse-autofs_init.patch ++++++
--- /var/tmp/diff_new_pack.m2JLOy/_old  2011-08-29 16:08:02.000000000 +0200
+++ /var/tmp/diff_new_pack.m2JLOy/_new  2011-08-29 16:08:02.000000000 +0200
@@ -9,7 +9,7 @@
 -#
 -# On most distributions, this file should be called:
 -# /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
-+# Copyright (C) 2010 SUSE Linux Products GmbH, Nuernberg, Germany.
++# Copyright (C) 2011 SUSE Linux Products GmbH, Nuernberg, Germany.
  #
 +# This program is free software; you can redistribute it and/or modify
 +# it under the terms of the GNU General Public License as published by
@@ -23,11 +23,11 @@
 +#
 +# You should have received a copy of the GNU General Public License
 +# along with this program; if not, write to the Free Software
-+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA.
  #
 +
  ### BEGIN INIT INFO
--# Provides: $autofs
+-# Provides: autofs
 -# Required-Start: $network $ypbind
 -# Required-Stop: $network $ypbind
 -# Default-Start: 3 4 5
@@ -48,7 +48,7 @@
  #
  # Location of the automount daemon and the init directory
  #
-@@ -23,37 +37,35 @@ prog=`basename $DAEMON`
+@@ -23,42 +37,40 @@ prog=`basename $DAEMON`
  MODULE="autofs4"
  DEVICE="autofs"
  confdir=@@autofsconfdir@@
@@ -98,6 +98,13 @@
                return 1
        fi
  
+-      # Check misc device
+-      if [ -n "$USE_MISC_DEVICE" -a "x$USE_MISC_DEVICE" = "xyes" ]; then
++      # Use the AutoFS misc device unless it is explicitly disabled
++      if [ -z "$USE_MISC_DEVICE" -o "x$USE_MISC_DEVICE" = "xyes" ]; then
+               sleep 1
+               if [ -e "/proc/misc" ]; then
+                       MINOR=`awk "/$DEVICE/ {print \\$1}" /proc/misc`
 @@ -75,79 +87,86 @@ function start() {
                fi
        fi


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to