diff --git a/nfs-utils-1.2.3-mountd-mlist.patch b/nfs-utils-1.2.3-mountd-mlist.patch new file mode 100644 index 0000000..568ed56 --- /dev/null +++ b/nfs-utils-1.2.3-mountd-mlist.patch @@ -0,0 +1,11 @@ +diff -up nfs-utils-1.2.3/utils/mountd/rmtab.c.orig nfs-utils-1.2.3/utils/mountd/rmtab.c +--- nfs-utils-1.2.3/utils/mountd/rmtab.c.orig 2011-01-25 11:09:29.484980000 -0500 ++++ nfs-utils-1.2.3/utils/mountd/rmtab.c 2011-01-25 11:09:40.693309000 -0500 +@@ -205,6 +205,7 @@ mountlist_list(void) + } + if (stb.st_mtime != last_mtime) { + mountlist_freeall(mlist); ++ mlist = NULL; + last_mtime = stb.st_mtime; + + setrmtabent("r"); diff --git a/nfs-utils.spec b/nfs-utils.spec index 3d66d3b..dda45f7 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://sourceforge.net/projects/nfs Version: 1.2.3 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 # group all 32bit related archs @@ -18,6 +18,7 @@ Source14: rpcsvcgssd.init Source15: nfs.sysconfig Patch001: nfs-utils-1.2.4-rc5.patch +Patch002: nfs-utils-1.2.3-mountd-mlist.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.2-statdpath.patch @@ -72,6 +73,7 @@ This package also contains the mount.nfs and umount.nfs program. %setup -q %patch001 -p1 +%patch002 -p1 %patch100 -p1 %patch101 -p1 @@ -253,6 +255,9 @@ fi %attr(4755,root,root) /sbin/umount.nfs4 %changelog +* Wed Jan 26 2011 Steve Dickson 1.2.3-8 +- Fixed segfault in rpc.mountd (bz 669065) + * Fri Jan 14 2011 Steve Dickson 1.2.3-7 - Updated to latest upstream release: nfs-utils-1-2-4-rc5 - Add initscripts changes needed for rpcbind to be running when nfs is started