Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2012-03-05 17:59:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2012-02-06 15:54:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.autofs.new/autofs.changes 2012-03-05 17:59:01.000000000 +0100 @@ -1,0 +2,29 @@ +Wed Feb 29 13:00:01 UTC 2012 - [email protected] + +- update 5.0.6 upstream patches to 20120228, fixing some bugs and + implementing new features (bnc#749098): + * fix improve mount location error reporting + * fix fix wait for master source mutex + * add sss lookup module + * teach automount about sss source + * fix init script usage message + * ignore duplicate exports in auto.net + * add kernel version check function + * add function to check mount.nfs version + * reinstate singleton mount probe + * rework error return handling in rpc code + * catch EHOSTUNREACH and bail out early + * systemd support fixes + * check scandir() return value (bnc#748588) + * allow for kernel packet size change (in kernel 3.3.0+) + * fix function to check mount.nfs version +- get-upstream-patches: make it work again after kernel.org FTP + server reorganization + +------------------------------------------------------------------- +Thu Feb 2 22:18:53 UTC 2012 - [email protected] + +- fix segfault caused by an use after free in st_queue_handler() + (bnc#727392) + +------------------------------------------------------------------- Old: ---- autofs-5.0.5-add-piddir-to-configure.patch autofs-5.0.5-add-systemd-unit-support.patch autofs-5.0.5-dir-map-type-patch-v2.patch autofs-5.0.6-add-disable-move-mount-configure-option.patch autofs-5.0.6-code-analysis-fixes-1.patch autofs-5.0.6-fix-LDAP-result-leaks-on-error-paths.patch autofs-5.0.6-fix-MNT_DETACH-define.patch autofs-5.0.6-fix-dumpmaps-not-reading-maps.patch autofs-5.0.6-fix-fix-LDAP-result-leaks-on-error-paths.patch autofs-5.0.6-fix-fix-map-source-check-in-file-lookup.patch autofs-5.0.6-fix-ipv6-configure-check.patch autofs-5.0.6-fix-ipv6-name-lookup-check.patch autofs-5.0.6-fix-ipv6-rpc-calls.patch autofs-5.0.6-fix-lsb-service-name-in-init-script-2.patch autofs-5.0.6-fix-not-bind-mounting-local-filesystem.patch autofs-5.0.6-fix-paged-query-more-results-check.patch autofs-5.0.6-fix-result-null-check-in-read_one_map.patch autofs-5.0.6-fix-rpc-build-error.patch autofs-5.0.6-fix-submount-shutdown-race.patch autofs-5.0.6-fix-wait-for-master-source-mutex.patch autofs-5.0.6-improve-mount-location-error-reporting.patch autofs-5.0.6-remove-empty-command-line-arguments.patch autofs-5.0.6-upstream-patches-20110703.bz2 New: ---- autofs-5.0.6-task-use-after-free.patch autofs-5.0.6-upstream-patches-20120228.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.m7UHIf/_old 2012-03-05 17:59:04.000000000 +0100 +++ /var/tmp/diff_new_pack.m7UHIf/_new 2012-03-05 17:59:04.000000000 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %if 0%{?suse_version} >= 1220 %define with_systemd 1 %else @@ -51,32 +52,14 @@ Source6: autofs.service Source7: NetworkManager-autofs Source8: get-upstream-patches -%define patchdate 20110703 +# Upstream patches that will be in the next release +%define patchdate 20120228 Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2 -Patch1: autofs-5.0.6-improve-mount-location-error-reporting.patch -Patch2: autofs-5.0.6-fix-paged-query-more-results-check.patch -Patch3: autofs-5.0.6-fix-dumpmaps-not-reading-maps.patch -Patch4: autofs-5.0.6-fix-result-null-check-in-read_one_map.patch -Patch5: autofs-5.0.6-fix-LDAP-result-leaks-on-error-paths.patch -Patch6: autofs-5.0.6-fix-fix-LDAP-result-leaks-on-error-paths.patch -Patch7: autofs-5.0.6-code-analysis-fixes-1.patch -Patch8: autofs-5.0.6-fix-not-bind-mounting-local-filesystem.patch -Patch9: autofs-5.0.5-dir-map-type-patch-v2.patch -Patch10: autofs-5.0.6-fix-wait-for-master-source-mutex.patch -Patch11: autofs-5.0.6-fix-submount-shutdown-race.patch -Patch12: autofs-5.0.6-fix-fix-map-source-check-in-file-lookup.patch -Patch13: autofs-5.0.6-add-disable-move-mount-configure-option.patch -Patch14: autofs-5.0.6-fix-lsb-service-name-in-init-script-2.patch -Patch15: autofs-5.0.6-fix-ipv6-name-lookup-check.patch -Patch16: autofs-5.0.6-fix-ipv6-rpc-calls.patch -Patch17: autofs-5.0.6-fix-ipv6-configure-check.patch -Patch18: autofs-5.0.5-add-piddir-to-configure.patch -Patch19: autofs-5.0.5-add-systemd-unit-support.patch -Patch20: autofs-5.0.6-fix-MNT_DETACH-define.patch -Patch21: autofs-5.0.6-remove-empty-command-line-arguments.patch -Patch22: autofs-5.0.6-fix-rpc-build-error.patch -Patch23: autofs-5.0.6-invalid-ghost-dirs.patch -Patch24: autofs-5.0.6-fix-libtirpc-name-typo.patch +# Patches submitted upstream but not yet accepted +Patch80: autofs-5.0.6-invalid-ghost-dirs.patch +Patch81: autofs-5.0.6-fix-libtirpc-name-typo.patch +Patch82: autofs-5.0.6-task-use-after-free.patch +# SUSE specific patches Patch100: autofs-suse-auto_master_default.patch Patch101: autofs-suse-build.patch Requires(pre): %fillup_prereq @@ -100,30 +83,9 @@ cp %{SOURCE5} . # %patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 +%patch80 -p1 +%patch81 -p1 +%patch82 -p1 %patch100 -p1 %patch101 -p1 ++++++ autofs-5.0.6-fix-libtirpc-name-typo.patch ++++++ --- /var/tmp/diff_new_pack.m7UHIf/_old 2012-03-05 17:59:04.000000000 +0100 +++ /var/tmp/diff_new_pack.m7UHIf/_new 2012-03-05 17:59:04.000000000 +0100 @@ -6,7 +6,7 @@ =================================================================== --- autofs-5.0.6.orig/daemon/automount.c +++ autofs-5.0.6/daemon/automount.c -@@ -2225,9 +2225,9 @@ int main(int argc, char *argv[]) +@@ -2237,9 +2237,9 @@ int main(int argc, char *argv[]) xmlInitParser(); #endif #ifdef TIRPC_WORKAROUND @@ -18,15 +18,3 @@ #endif if (!master_read_master(master_list, age, 0)) { -Index: autofs-5.0.6/CHANGELOG -=================================================================== ---- autofs-5.0.6.orig/CHANGELOG -+++ autofs-5.0.6/CHANGELOG -@@ -21,6 +21,7 @@ - - add systemd unit support. - - remove empty command line arguments (passed by systemd). - - fix rpc build error. -+- fix typo in libtirpc file name. - - 28/06/2011 autofs-5.0.6 - ----------------------- ++++++ autofs-5.0.6-invalid-ghost-dirs.patch ++++++ --- /var/tmp/diff_new_pack.m7UHIf/_old 2012-03-05 17:59:04.000000000 +0100 +++ /var/tmp/diff_new_pack.m7UHIf/_new 2012-03-05 17:59:04.000000000 +0100 @@ -15,7 +15,7 @@ =================================================================== --- autofs-5.0.6.orig/daemon/lookup.c +++ autofs-5.0.6/daemon/lookup.c -@@ -605,6 +605,9 @@ int lookup_ghost(struct autofs_point *ap +@@ -606,6 +606,9 @@ int lookup_ghost(struct autofs_point *ap if (!strcmp(me->key, "*")) goto next; ++++++ autofs-5.0.6-task-use-after-free.patch ++++++ From: Leonardo Chiquitto <[email protected]> Subject: fix segmentation fault in st_queue_handler() References: bnc#727392 Index: autofs-5.0.6/daemon/state.c =================================================================== --- autofs-5.0.6.orig/daemon/state.c +++ autofs-5.0.6/daemon/state.c @@ -1150,12 +1150,12 @@ remove: struct state_queue, pending); list_del(&task->list); - free(task); list_del_init(&next->pending); list_add_tail(&next->list, head); if (p == head) p = head->next; + free(task); } if (list_empty(head)) ++++++ get-upstream-patches ++++++ --- /var/tmp/diff_new_pack.m7UHIf/_old 2012-03-05 17:59:05.000000000 +0100 +++ /var/tmp/diff_new_pack.m7UHIf/_new 2012-03-05 17:59:05.000000000 +0100 @@ -1,20 +1,20 @@ #! /bin/bash +# # get autofs upstream patched from -# http://www.kernel.org/pub/linux/daemons/autofs/v5/ +# http://www.kernel.org/pub/linux/daemons/autofs/v5/patches-$version/ # and cat them in one bzipped file -# autofs-$VERSION-upstream-patches-$DATE +# autofs-$LATEST_RELEASE-upstream-patches-$DATE # where DATE is the date of the top patch in the series # -# usage: get-upstream-patches [VERSION] +# usage: get-upstream-patches -# default version -VERSION=5.0.6 -test -n "$1" && VERSION="$1" +LATEST_RELEASE="5.0.6" +NEXT_RELEASE="5.0.7" -BASE=http://www.kernel.org/pub/linux/daemons/autofs/v5 -SERIES=patch_order-$VERSION +BASE=http://www.kernel.org/pub/linux/daemons/autofs/v5/patches-$NEXT_RELEASE/ +SERIES=patch_order-$LATEST_RELEASE WGET_OPTS=-q -PATCHDIR=upstream-patches-$VERSION +PATCHDIR=upstream-patches-$LATEST_RELEASE CURRENT=$PWD DELIMITER=$(mktemp) @@ -47,11 +47,11 @@ echo "----------" >> $DELIMITER echo >> $DELIMITER -cat $SERIES $DELIMITER $(cat $SERIES) > $CURRENT/autofs-$VERSION-upstream-patches-$DATE +cat $SERIES $DELIMITER $(cat $SERIES) > $CURRENT/autofs-$LATEST_RELEASE-upstream-patches-$DATE rm -f $DELIMITER -bzip2 $CURRENT/autofs-$VERSION-upstream-patches-$DATE +bzip2 $CURRENT/autofs-$LATEST_RELEASE-upstream-patches-$DATE popd > /dev/null 2>&1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
