Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at Wed Jun 15 09:14:32 CEST 2011.
-------- --- autofs/autofs.changes 2011-05-27 22:55:48.000000000 +0200 +++ /mounts/work_src_done/STABLE/autofs/autofs.changes 2011-06-14 20:07:57.000000000 +0200 @@ -1,0 +2,29 @@ +Tue Jun 14 17:21:19 UTC 2011 - [email protected] + +- 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 - [email protected] + +- fix null cache deadlock (bnc#696596) + +------------------------------------------------------------------- +Tue Jun 14 11:54:02 UTC 2011 - [email protected] + +- 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 + +------------------------------------------------------------------- +Tue Jun 14 09:36:35 UTC 2011 - [email protected] + +- build against libtirpc since glibc's rpc code is deprecated + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- autofs-5.0.5-upstream-patches-20110427.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.1S0job/_old 2011-06-15 09:12:58.000000000 +0200 +++ /var/tmp/diff_new_pack.1S0job/_new 2011-06-15 09:12:58.000000000 +0200 @@ -21,12 +21,12 @@ Name: autofs Url: http://www.kernel.org/pub/linux/daemons/autofs/v5/ BuildRequires: bison e2fsprogs flex module-init-tools nfs-client -BuildRequires: krb5-devel libxml2-devel openldap2-devel +BuildRequires: krb5-devel libtirpc-devel libxml2-devel openldap2-devel License: GPLv2+ Group: System/Daemons AutoReqProv: on Version: 5.0.5 -Release: 24 +Release: 26 Summary: A Kernel-Based Automounter BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2 @@ -37,9 +37,10 @@ Source5: README.SuSE Source7: NetworkManager-autofs Source8: get-upstream-patches -%define patchdate 20110427 +%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-build.patch PreReq: %fillup_prereq %insserv_prereq aaa_base @@ -66,6 +67,7 @@ # %patch0 -p1 %patch1 -p1 +%patch2 -p1 %patch10 -p1 %patch11 -p1 @@ -78,6 +80,7 @@ --disable-mount-locking \ --enable-forced-shutdown \ --enable-ignore-busy \ + --with-libtirpc \ --with-hesiod=no \ --with-sasl make all DONTSTRIP=1 LOCAL_CFLAGS="$RPM_OPT_FLAGS %(getconf LFS_CFLAGS)" @@ -88,6 +91,7 @@ install -m 644 %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.autofs install -m 755 %{S:2} $RPM_BUILD_ROOT/etc/init.d/autofs 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/etc/NetworkManager/dispatcher.d install -m 755 %{S:7} $RPM_BUILD_ROOT/etc/NetworkManager/dispatcher.d/autofs # will be installed by fillup scripts @@ -106,6 +110,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 <[email protected]> --- 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.init ++++++ --- /var/tmp/diff_new_pack.1S0job/_old 2011-06-15 09:12:58.000000000 +0200 +++ /var/tmp/diff_new_pack.1S0job/_new 2011-06-15 09:12:58.000000000 +0200 @@ -14,7 +14,7 @@ # # 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
