Mailinglist Archive: opensuse-commit (1792 mails)

< Previous Next >
commit autofs for openSUSE:11.4

Hello community,

here is the log from the commit of package autofs for openSUSE:11.4
checked in at Tue Feb 22 11:35:53 CET 2011.



--------
--- old-versions/11.4/all/autofs/autofs.changes 2010-10-29 15:34:41.000000000
+0200
+++ 11.4/autofs/autofs.changes 2011-02-21 16:00:13.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 21 15:01:21 UTC 2011 - lchiquitto@xxxxxxxxxx
+
+- when ghosting is enabled, don't create mount points for cached
+ entries that don't have a valid mapent (bnc#658734)
+
+-------------------------------------------------------------------

calling whatdependson for 11.4-i586


New:
----
autofs-5.0.5-invalid-ghost-dirs.patch

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

Other differences:
------------------
++++++ autofs.spec ++++++
--- /var/tmp/diff_new_pack.xyltrp/_old 2011-02-22 11:35:45.000000000 +0100
+++ /var/tmp/diff_new_pack.xyltrp/_new 2011-02-22 11:35:45.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package autofs (Version 5.0.5)
+# spec file for package autofs
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
Group: System/Daemons
AutoReqProv: on
Version: 5.0.5
-Release: 11
+Release: 14.<RELEASE2>
Summary: A Kernel-Based Automounter
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source:
ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2
@@ -38,6 +38,7 @@
Source8: get-upstream-patches
%define patchdate 20101021
Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2
+Patch1: autofs-5.0.5-invalid-ghost-dirs.patch
Patch10: autofs-suse-auto_master_default.patch
Patch11: autofs-suse-autofs_init.patch
Patch12: autofs-suse-build.patch
@@ -64,6 +65,7 @@
cp %{SOURCE5} .
#
%patch0 -p1
+%patch1 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

++++++ autofs-5.0.5-invalid-ghost-dirs.patch ++++++
From: Leonardo Chiquitto <lchiquitto@xxxxxxxxxx>
References: bnc#658734

When ghosting is enabled, don't create mount points for cached entries
that don't have a valid mapent.

Submitted upstream:
http://linux.kernel.org/pipermail/autofs/2010-December/006279.html

---
daemon/lookup.c | 3 +++
1 file changed, 3 insertions(+)

Index: autofs-5.0.5/daemon/lookup.c
===================================================================
--- autofs-5.0.5.orig/daemon/lookup.c
+++ autofs-5.0.5/daemon/lookup.c
@@ -604,6 +604,9 @@ int lookup_ghost(struct autofs_point *ap
if (!strcmp(me->key, "*"))
goto next;

+ if (!me->mapent)
+ goto next;
+
if (*me->key == '/') {
/* It's a busy multi-mount - leave till next
time */
if (list_empty(&me->multi_list))


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



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages