Summary: NFS utilities and supporting clients and daemons for the kernel NFS server Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム Name: nfs-utils Version: 1.3.3 Release: 1%{?_dist_release} %define enablegss 1 # group all 32bit related archs %define all_32bit_archs i386 i686 athlon License: MIT and GPLv2 and GPLv2+ and BSD Group: System Environment/Daemons URL: http://sourceforge.net/projects/nfs Source0: %{name}-%{version}.tar.bz2 Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz Source10: nfs.init Source11: nfslock.init Source12: rpcidmapd.init Source13: rpcgssd.init #Source14: rpcsvcgssd.init Source21: id_resolver.conf Source22: lockd.conf Source23: nfs.sysconfig Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch Patch102: nfs-utils-1.2.3-sm-notify-res_init.patch Patch103: nfs-utils-1.2.5-idmap-errmsg.patch Provides: exportfs = %{version}-%{release} Provides: nfsstat = %{version}-%{release} Provides: showmount = %{version}-%{release} Provides: rpcdebug = %{version}-%{release} Provides: rpc.idmapd = %{version}-%{release} Provides: rpc.mountd = %{version}-%{release} Provides: rpc.nfsd = %{version}-%{release} Provides: rpc.statd = %{version}-%{release} %if %{enablegss} Provides: rpc.gssd = %{version}-%{release} %endif Provides: mount.nfs = %{version}-%{release} Provides: mount.nfs4 = %{version}-%{release} Provides: umount.nfs = %{version}-%{release} Provides: umount.nfs4 = %{version}-%{release} Provides: sm-notify = %{version}-%{release} Provides: start-statd = %{version}-%{release} Buildroot: %{_tmppath}/%{name}-%{version}-root Requires: rpcbind, sed, gawk, sh-utils, fileutils, textutils, grep Requires: kmod, keyutils, quota BuildRequires: libevent-devel libcap-devel BuildRequires: libnfsidmap-devel libtirpc-devel libblkid-devel BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2 BuildRequires: automake, libtool, glibc-headers, device-mapper-devel BuildRequires: krb5-devel, tcp_wrappers, libmount-devel BuildRequires: sqlite3-devel #if %{enablegss} #BuildRequires: libgssglue-devel #BuildRequires: librpcsecgss >= 0.17 #endif Requires(pre): shadow-utils >= 4.0.3-25 Requires(pre): /sbin/chkconfig /sbin/nologin Requires: libnfsidmap libevent Requires: libtirpc >= 0.2.3 libblkid libcap libmount #if %{enablegss} #Requires: libgssglue #Requires: librpcsecgss >= 0.17 #endif %description The nfs-utils package provides a daemon for the kernel NFS server and related tools, which provides a much higher level of performance than the traditional Linux NFS server used by most users. This package also contains the showmount program. Showmount queries the mount daemon on a remote host for information about the NFS (Network File System) server on the remote host. For example, showmount can display the clients which are mounted on that host. This package also contains the mount.nfs and umount.nfs program. %description -l ja nfs-utils パッケージには kernel NFS サーバと関連ツールが収録されています。 これにより、多くのユーザに使われてきた旧来の Linux NFS サーバより高い パフォーマンスを提供することができます。 このパッケージには showmount プログラムも収録されています。 showmount は遠隔ホストの mount デーモンに問い合わせを行い、 NFS サーバに関する情報を得ることができます。 例えば、showmount を使うことで、その遠隔ホストをマウントしている クライアントの一覧を得ることができます。 本パッケージにはまた mount.nfs と umount.nfs プログラムも収録されています。 %prep %setup -q %patch100 -p1 %patch101 -p1 %patch102 -p1 %patch103 -p1 # Remove .orig files find . -name "*.orig" | xargs rm -f %build %ifarch s390 s390x PIE="-fPIE" %else PIE="-fpie" %endif export PIE sh -x autogen.sh CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE -D_FILE_OFFSET_BITS=64`" %configure \ CFLAGS="$CFLAGS" \ CPPFLAGS="$DEFINES" \ LDFLAGS="-pie" \ --enable-mountconfig \ --enable-ipv6 \ --with-statdpath=/var/lib/nfs/statd \ --enable-libmount-mount \ %if !%{enablegss} --disable-gss %endif make %{?_smp_mflags} all %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/sbin} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man5,man8} mkdir -p $RPM_BUILD_ROOT%{_initdir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/request-key.d mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d make DESTDIR=$RPM_BUILD_ROOT install install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT%{_sbindir} install -m 644 utils/mount/nfsmount.conf $RPM_BUILD_ROOT%{_sysconfdir} install -m 755 %{SOURCE10} $RPM_BUILD_ROOT%{_initdir}/nfs install -m 755 %{SOURCE11} $RPM_BUILD_ROOT%{_initdir}/nfslock install -m 755 %{SOURCE12} $RPM_BUILD_ROOT%{_initdir}/rpcidmapd %if %{enablegss} install -m 755 %{SOURCE13} $RPM_BUILD_ROOT%{_initdir}/rpcgssd %endif install -m 644 %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/request-key.d install -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/lockd.conf install -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/nfs mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/rpc_pipefs touch $RPM_BUILD_ROOT/var/lib/nfs/rmtab mv $RPM_BUILD_ROOT/usr/sbin/rpc.statd $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/statd/sm mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/statd/sm.bak mkdir -p $RPM_BUILD_ROOT/var/lib/nfs/v4recovery mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/exports.d # temporarily remove nfs.5 man page until util-linux gets upgraded... rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/nfs.5* %clean rm -rf $RPM_BUILD_ROOT %pre # move files so the running service will have this applied as well for x in gssd svcgssd idmapd ; do if [ -f /var/lock/subsys/rpc.$x ]; then mv /var/lock/subsys/rpc.$x /var/lock/subsys/rpc$x fi done /usr/sbin/useradd -r -c "RPC Service User" \ -s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || : cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null if [ "$?" -eq 1 ]; then /usr/sbin/groupadd -g 29 rpcuser 2>/dev/null || : else /usr/sbin/groupmod -g 29 rpcuser 2>/dev/null || : fi # Using the 16-bit value of -2 for the nfsnobody uid and gid %define nfsnobody_uid 65534 # Create nfsnobody gid as long as it does not already exist cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null if [ "$?" -eq 1 ]; then /usr/sbin/groupadd -g %{nfsnobody_uid} nfsnobody 2>/dev/null || : else /usr/sbin/groupmod -g %{nfsnobody_uid} nfsnobody 2>/dev/null || : fi # Create nfsnobody uid as long as it does not already exist. cat /etc/passwd | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null if [ "$?" -eq 1 ]; then /usr/sbin/useradd -l -c "Anonymous NFS User" -r -g %{nfsnobody_uid} \ -s /sbin/nologin -u %{nfsnobody_uid} -d /var/lib/nfs nfsnobody 2>/dev/null || : else /usr/sbin/usermod -u %{nfsnobody_uid} -g %{nfsnobody_uid} nfsnobody 2>/dev/null || : fi %post /sbin/chkconfig --add nfs /sbin/chkconfig --add nfslock /sbin/chkconfig --add rpcidmapd %if %{enablegss} /sbin/chkconfig --add rpcgssd %endif # Make sure statd used the correct uid/gid. if [ -f /var/lock/subsys/rpc.statd ]; then /etc/rc.d/init.d/nfslock stop > /dev/null chown -R rpcuser:rpcuser /var/lib/nfs/statd /etc/rc.d/init.d/nfslock start > /dev/null else chown -R rpcuser:rpcuser /var/lib/nfs/statd fi %preun if [ "$1" = "0" ]; then /etc/rc.d/init.d/nfs condstop > /dev/null %if %{enablegss} /etc/rc.d/init.d/rpcgssd condstop > /dev/null %endif /etc/rc.d/init.d/rpcidmapd condstop > /dev/null /etc/rc.d/init.d/nfslock condstop > /dev/null /sbin/chkconfig --del rpcidmapd %if %{enablegss} /sbin/chkconfig --del rpcgssd %endif /sbin/chkconfig --del nfs /sbin/chkconfig --del nfslock /usr/sbin/userdel rpcuser 2>/dev/null || : /usr/sbin/groupdel rpcuser 2>/dev/null || : /usr/sbin/userdel nfsnobody 2>/dev/null || : /usr/sbin/groupdel nfsnobody 2>/dev/null || : rm -rf /var/lib/nfs/statd rm -rf /var/lib/nfs/v4recovery fi %postun if [ "$1" -ge 1 ]; then if [ -f /etc/rc.d/init.d/rpcidmapd ]; then /etc/rc.d/init.d/rpcidmapd condrestart > /dev/null fi %if %{enablegss} if [ -f /etc/rc.d/init.d/rpcgssd ]; then /etc/rc.d/init.d/rpcgssd condrestart > /dev/null fi %endif if [ -f /etc/rc.d/init.d/nfs ]; then /etc/rc.d/init.d/nfs condrestart > /dev/null fi if [ -f /etc/rc.d/init.d/nfslock ]; then /etc/rc.d/init.d/nfslock condrestart > /dev/null fi fi %triggerpostun -- nfs-server /sbin/chkconfig --add nfs %triggerpostun -- knfsd /sbin/chkconfig --add nfs %triggerpostun -- knfsd-clients /sbin/chkconfig --add nfslock %files %defattr(-,root,root) %doc linux-nfs/ChangeLog linux-nfs/KNOWNBUGS linux-nfs/NEW linux-nfs/README %doc linux-nfs/THANKS linux-nfs/TODO %config %{_initdir}/nfs %config %{_initdir}/rpcidmapd %if %{enablegss} %config %{_initdir}/rpcgssd %endif %config(noreplace) %{_sysconfdir}/sysconfig/nfs %config(noreplace) %{_sysconfdir}/nfsmount.conf %config(noreplace) %{_sysconfdir}/request-key.d/id_resolver.conf %config(noreplace) %{_sysconfdir}/modprobe.d/lockd.conf %dir %{_sysconfdir}/exports.d %dir /var/lib/nfs/v4recovery %dir /var/lib/nfs/rpc_pipefs %dir /var/lib/nfs %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm.bak %config(noreplace) /var/lib/nfs/xtab %config(noreplace) /var/lib/nfs/etab %config(noreplace) /var/lib/nfs/rmtab %config(noreplace) %attr(644,rpcuser,rpcuser) /var/lib/nfs/statd/state /sbin/rpc.statd /sbin/osd_login /sbin/nfsdcltrack %{_sbindir}/exportfs %{_sbindir}/nfsstat %{_sbindir}/rpcdebug %{_sbindir}/rpc.mountd %{_sbindir}/rpc.nfsd %{_sbindir}/showmount %{_sbindir}/rpc.idmapd %if %{enablegss} %{_sbindir}/rpc.gssd %endif %{_sbindir}/sm-notify %{_sbindir}/start-statd %{_sbindir}/mountstats %{_sbindir}/nfsiostat %{_sbindir}/nfsidmap %{_sbindir}/blkmapd %{_mandir}/*/* %config %{_initdir}/nfslock %attr(4755,root,root) /sbin/mount.nfs /sbin/mount.nfs4 /sbin/umount.nfs /sbin/umount.nfs4 %changelog * Mon Nov 23 2015 Yoji TOYODA 1.3.3-1 - new upstream release - remove Patch1,2 - update Source10 (nfs.init) * Thu Feb 19 2015 Ryoichi INAGAKI 1.3.2-1 - new upstream release - updated Source10-13 - added Patch1 and 2 from Fedora - added BR: libmount-devel, sqlite3-devel - used BR: libnfsidmap-devel instead of libnfsidmap - used more macros - set %%enablegss to 1 * Sun Oct 28 2012 Daisuke SUZUKI 1.2.6-2 - update to 1.2.7-rc5 * Sat Oct 20 2012 Daisuke SUZUKI 1.2.6-1 - update to 1.2.6 - Made nfsnobody's uid/gid to always be a 16-bit value of -2 - change rpcuser's gid to fixed value 29 * Sat Jan 28 2012 Daisuke SUZUKI 1.2.5-1 - update to 1.2.5 - add patches (update to 1.2.6-rc6) - enable-ipv6 (add BR: libtirpc-devel) - add BR: device-mapper-devel * Sun Feb 13 2011 Yoji TOYODA 1.1.5-5 - add BuildRequires: libblkid-devel * Thu Feb 10 2011 Toshiharu Kudoh 1.1.5-4 - rebuilt with libevent-2.0.10 * Tue Aug 11 2009 Daisuke SUZUKI 1.1.5-3 - add INIT INFO headers to initscripts * Fri Jun 12 2009 MATSUBAYASHI Kohji - 1.1.5-2 - import more patches from FC11 1.1.5-5 - Patch101: upstream rc2 patch - Patch102: upstream rc3 patch - gssd: initialize fakeseed in prepare_krb5_rfc1964_buffer - gssd: NULL-terminate buffer after read in read_service_info (try #2) - gssd: free buffer allocated by gssd_k5_err_msg - gssd: fix potential double-frees in gssd - Removed a number of warn_unused_result warnings - Patch103: Update nfsstat with --sleep and --list options - Patch104: Fixed umount from using non-privilege ports (bz 492598) * Sun Apr 26 2009 Daisuke SUZUKI 1.1.5-1 - new upstream release - fix %%post, remove '-l' from useradd option * Sun Jan 04 2009 NAKAMURA Kenta 1.1.2-4 - rebuilt with openldap-2.4.11 - spec in UTF-8 * Thu May 15 2008 MATSUBAYASHI Kohji 1.1.2-3 - updated to 1.1.2, based on Fedora 1.1.2-2 - disable RPC Sec-GSS feature for Vine (and we won't any longer? Let me know) - temporarily remove nfs.5 man page until util-linux gets upgraded - previous Vine changelogs as follows: - Wed Apr 23 2008 Ryoichi INAGAKI 1.0.9-1 - rebuilt with libevent-1.4.3-1 - Sun Jul 8 2007 Ryoichi INAGAKI 1.0.9-0vl4 - rebuilt with libevent-1.3b-0vl1 - Tue Aug 29 2006 MATSUBAYASHI 1.0.9-0vl3 - rebuilt with libevent-1.1b-0vl1 - Sun Aug 27 2006 NAKAMURA Kenta 1.0.9-0vl2 - rebuilt with openldap-2.3.27-0vl1 - Wed Jul 26 2006 Daisuke SUZUKI 1.0.9-0vl1 - new upstream release - drop obsolete patches - Wed Mar 30 2006 MATSUBAYASHI Kohji 1.0.8-0vl0.rc2.2 - add libevent-devel and libnfsidmap to BuidRequires - Mon Mar 20 2006 Daisuke SUZUKI 1.0.8-0vl0.rc2.1 - update to nfs-utils-1.0.8-rc2 - merged some patches from FC - fix kanji code of spec file - Tue Apr 26 2005 MATSUBAYASHI Kohji 1.0.6-0vl1 - updated to 1.0.6 - merged several files from 1.0.6-22 - Sun Feb 9 2003 Daisuke SUZUKI 1.0.1-0vl1 - new upstream release - remove quota related files, now we are using it from quota utils. - Sat Sep 01 2001 Toru Sagami - 0.3.1-12vl2: revive rpc.rquotad for the time being - Fri Aug 24 2001 Toru Sagami - 0.3.1-12vl1: ported to Vine * Mon Apr 14 2008 Steve Dickson 1.1.2-2 - Make EACCES a non fatal error (bz 439807) * Tue Mar 25 2008 Steve Dickson 1.1.2-1 - Upgrade to nfs-utils-1.1.2 * Mon Mar 3 2008 Steve Dickson 1.1.1-5 - Stopped mountd from incorrectly logging an error (commit 9dd9b68c4c44f0d9102eb85ee2fa36a8b7f638e3) - Stop gssd from ignoring the machine credential caches (commit 46d439b17f22216ce8f9257a982c6ade5d1c5931) - Fixed typo in the nfsstat command line arugments. (commit acf95d32a44fd8357c24e8a04ec53fc6900bfc58) - Added test to stop buffer overflow in idmapd (commit bcd0fcaf0966c546da5043be700587f73174ae25) * Sat Feb 9 2008 Steve Dickson 1.1.1-4 - Cleaned up some typos that were found in the various places in the mountd code * Thu Jan 24 2008 Steve Dickson 1.1.1-3 - Added in relatime mount option so mount.nfs stays compatible with the mount command in util-linux-ng (bz 274301) * Tue Jan 22 2008 Steve Dickson 1.1.1-2 - Added -S/--since to the nfsstat(1) manpage - The wording in the exportfs man page can be a bit confusing, implying that "exportfs -u :/foo" will unexport /foo from all hosts, which it won't - Removed nfsprog option since the kernel no longer supports it. - Removed mountprog option since the kernel no longer supports it. - Stop segfaults on amd64 during warnings messages. - Fix bug when both crossmnt and fsid are set. * Sat Jan 5 2008 Steve Dickson 1.1.1-1 - Updated to latest upstream release, nfs-utils-1.1.1 - Added the removal of sm-notify.pid to nfslock init script. - Changed spec file to use condrestart instead of condstop when calling init scripts. - Fixed typo in rpc.mountd man page - Turn on 'nohide' automatically for all refer exports (bz 313561) * Tue Dec 04 2007 Release Engineering - 1.1.0-7 - Rebuild for openldap bump * Wed Oct 17 2007 Steve Dickson 1.1.0-6 - Switch the libgssapi dependency to libgssglue * Fri Sep 14 2007 Steve Dickson 1.1.0-5 - Changed the default paths in sm-notify to /var/lib/nfs/statd (bz 258461) - Updated exportfs manpage (bz 262861) * Wed Aug 15 2007 Steve Dickson 1.1.0-4 - Make sure the open() system calling in exportfs uses mode bits when creating the etab file (bz 252440). * Mon Aug 13 2007 Steve Dickson 1.1.0-3 - Added nosharecache mount option which re-enables rw/ro mounts to the same server (bz 243913). * Thu Aug 2 2007 Steve Dickson 1.1.0-2 - Make sure the gss and idmap daemons remove thier lock files when they are stopped. * Sat Jul 28 2007 Steve Dickson 1.1.0-1 - Upgraded to the latest upstream version (nfs-utils-1.1.0) * Thu May 24 2007 Steve Dickson 1.0.10-7 - Fixed typo in mount.nfs4 that causes a segfault during error processing (bz 241190) * Tue May 22 2007 Steve Dickson 1.0.10-6 - Make sure the condrestarts exit with a zero value (bz 240225) - Stopped /etc/sysconfig/nfs from being overwritten on updates (bz 234543) - Added -o nordirplus mount option to disable READDIRPLUS (bz 240357) - Disabled the FSCache patch, for now... * Wed May 10 2007 Steve Dickson 1.0.12-5 - Fix mount.nfs4 to display correct error message (bz 227212) - Updated mountd and showmount reverse lookup flags (bz 220772) - Eliminate timeout on nfsd shutdowns (bz 222001) - Eliminate memory leak in mountd (bz 239536) - Make sure statd uses correct uid/gid by chowning the /var/lib/nfs/statd with the rpcuser id. (bz 235216) - Correct some sanity checking in rpc.nfsd. (bz 220887) - Added missing unlock_mtab() call in moutnd - Have mountd hold open etab file to force inode number to change (bz 236823) - Create a /etc/sysconfig/nfs with all the possible init script variables (bz 234543) - Changed nfs initscript to exit with correct value (bz 221874) * Tue Apr 3 2007 Steve Dickson 1.0.12-4 - Replace portmap dependency with an rpcbind dependency (bz 228894) * Mon Mar 12 2007 Steve Dickson 1.0.12-3 - Incorporated Merge Review comments (bz 226198) * Fri Mar 9 2007 Steve Dickson 1.0.12-2 - Added condstop to all the initscripts (bz 196934) - Made no_subtree_check a default export option (bz 212218) * Tue Mar 6 2007 Steve Dickson 1.0.12-1 - Upgraded to 1.0.12 - Fixed typo in Summary. * Thu Mar 1 2007 Karel Zak 1.0.11-2 - Fixed mount.nfs -f (fake) option (bz 227988) * Thu Feb 22 2007 Steve Dickson 1.0.11-1 - Upgraded to 1.0.11 * Wed Feb 21 2007 Steve Dickson 1.0.10-7 - Added FS_Location support * Mon Dec 18 2006 Karel Zak 1.0.10-6 - add support for mount options that contain commas (bz 219645) * Wed Dec 13 2006 Steve Dickson 1.0.10-5 - Stopped v4 umounts from ping rpc.mountd (bz 215553) * Wed Nov 28 2006 Steve Dickson 1.0.10-4 - Doing a connect on UDP sockets causes the linux network stack to reject UDP patches from multi-home server with nic on the same subnet. (bz 212471) * Wed Nov 15 2006 Steve Dickson 1.0.10-3 - Removed some old mounting versioning code that was stopping tcp mount from working (bz 212471) * Tue Oct 31 2006 Steve Dickson 1.0.10-2 - Fixed -o remount (bz 210346) - fix memory leak in rpc.idmapd (bz 212547) - fix use after free bug in dirscancb (bz 212547) - Made no_subtree_check a default export option (bz 212218) * Wed Oct 25 2006 Steve Dickson 1.0.10-1 - Upgraded to 1.0.10 * Mon Oct 16 2006 Steve Dickson 1.0.9-10 - Fixed typo in nfs man page (bz 210864). * Fri Oct 13 2006 Steve Dickson 1.0.9-9 - Unable to mount NFS V3 share where sec=none is specified (bz 210644) * Tue Sep 26 2006 Steve Dickson 1.0.9-8 - mount.nfs was not returning a non-zero exit value on failed mounts (bz 206705) * Wed Sep 20 2006 Karel Zak 1.0.9-7 - Added support for the mount -s (sloppy) option (#205038) - Added nfs.5 man page from util-linux - Added info about [u]mount.nfs to the package description * Mon Sep 11 2006 1.0.9-6 - Removed the compiling of getiversion and getkversion since UTS_RELEASE is no longer defined and these binary are not installed. * Fri Aug 18 2006 1.0.9-5 - Changed gssd daemons to cache things in memory instead of /tmp which makes selinux much happier. (bz 203078) * Wed Aug 16 2006 1.0.9-4 - Allow variable for HA callout program in /etc/init.d/nfslock (bz 202790) * Wed Aug 02 2006 1.0.9-3 - add epoch (#196359) * Fri Jul 28 2006 1.0.9-2 - Enabled the creating of mount.nfs and umount.nfs binaries - Added mount option fixes suggested by upstream. - Fix lazy umounts (bz 169299) - Added -o fsc mount option. * Mon Jul 24 2006 1.0.9-1 - Updated to 1.0.9 release * Wed Jul 12 2006 Jesse Keating - 1:1.0.8-5.1 - rebuild * Sun Jul 2 2006 1:1.0.8-5 - Introduce epoch to fix upgrade path * Sat Jul 1 2006 1.0.8-3 - Fixed typos in /etc/rc.d/init.d/nfs file (bz 184486) * Fri Jun 30 2006 1.0.8-3 - Split the controlling of nfs version, ports, and protocol into two different patches - Fixed and added debugging statements to rpc.mountd. - Fixed -p arg to work with priviledged ports (bz 156655) - Changed nfslock initscript to set LOCKD_TCPPORT and LOCKD_UDPPORT (bz 162133) - Added MOUNTD_NFS_V1 variable to version 1 of the mount protocol can be turned off. (bz 175729) - Fixed gssd to handel mixed case characters in the domainname. (bz 186069) * Wed Jun 21 2006 1.0.8-2 - Updated to nfs-utils-1.0.8 * Thu Jun 8 2006 1.0.8.rc4-1 - Upgraded to the upstream 1.0.8.rc4 version * Fri Feb 10 2006 Jesse Keating - 1.0.8.rc2-4.FC5.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.0.8.rc2-4.FC5.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Jan 20 2006 Steve Dickson 1.0.8.rc2-4.FC5 - Added new libnfsidmap call, nfs4_set_debug(), to rpc.idmapd which turns on debugging in the libarary. * Mon Jan 16 2006 Steve Dickson 1.0.8.rc2-3.FC5 - Added innetgr patch that changes configure scripts to check for the innetgr function. (bz 177899) * Wed Jan 11 2006 Peter Jones 1.0.8.rc2-2.FC5 - Fix lockfile naming in the initscripts so they're stopped correctly. * Mon Jan 9 2006 Steve Dickson 1.0.8.rc2-1.FC5 - Updated to 1.0.8-rc2 release - Broke out libgssapi into its own rpm - Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm - Removed libevent code; Required to be installed. * Fri Dec 09 2005 Jesse Keating - rebuilt * Sun Oct 23 2005 Steve Dickson 1.0.7-19 - Updated to latest code in SourceForge CVS - Updated to latest CITI patches (1.0.7-4) - Fix bug in nfsdreopen by compiling in server defaults * Thu Sep 22 2005 Steve Dickson 1.0.7-18 - Updated libnfsidmap to 0.11 - Updated libgssapi to 0.5 - Made sure the gss daemons and new libs are all using the same include files. - Removed code from the tree that is no longer used. - Add ctlbits patch that introduced the -N -T and -U command line flags to rpc.nfsd. * Sun Sep 18 2005 Steve Dickson 1.0.7-17 - Updated to latest nfs-utils code in upstream CVS tree - Updated libevent from 1.0b to 1.1a - Added libgssapi-0.4 and librpcsecgss-0.6 libs from CITI * Tue Sep 8 2005 Steve Dickson 1.0.7-16 - Reworked the nfslock init script so if lockd is running it will be killed which is what the HA community needs. (bz 162446) - Stopped rpcidmapd.init from doing extra echoing when condstart-ed. * Wed Aug 24 2005 Peter Jones - 1.0.7-15 - don't strip during "make install", so debuginfo packages are generated right * Thu Aug 18 2005 Florian La Roche - no need to still keep a requirement for kernel-2.2 or newer * Tue Aug 16 2005 Steve Dickson 1.0.7-13 - Changed mountd to use stat64() (bz 165062) * Tue Aug 2 2005 Steve Dickson 1.0.7-12 - Changed useradd to use new -l flag (bz149407) - 64bit fix in gssd code (bz 163139) - updated broken dependencies - updated rquotad to compile with latest quota version. * Thu May 26 2005 Steve Dickson 1.0.7-8 - Fixed subscripting problem in idmapd (bz 158188) * Thu May 19 2005 Steve Dickson 1.0.7-7 - Fixed buffer overflow in rpc.svcgssd (bz 114288) * Wed Apr 13 2005 Steve Dickson 1.0.7-6 - Fixed misformated output from nfslock script (bz 154648) * Mon Mar 29 2005 Steve Dickson 1.0.7-4 - Fixed a compile error on x86_64 machines in the gss code. - Updated the statd-notify-hostname.patch to eliminate a segmentation fault in rpc.statd when an network interface was down. (bz 151828) * Sat Mar 19 2005 Steve Dickson 1.0.7-3 - Changed xlog to use LOG_INFO instead of LOG_DEBUG so debug messages will appear w/out any config changes to syslog.conf. - Reworked how /etc/exports is setup (bz 151389) * Wed Mar 2 2005 Steve Dickson 1.0.7-2 - Tied the rpcsecgss debugging in with gssd and svcgssd debugging * Mon Feb 14 2005 Steve Dickson - Added support to rpcgssd.init and rpcsvcgssd.init scripts to insmod security modules. - Changed the nfs.init script to bring rpc.svcgssd up and down, since rpc.svcgssd is only needed with the NFS server is running. * Tue Dec 14 2004 Steve Dickson - Fix problem in idmapd that was causing "xdr error 10008" errors (bz 142813) - make sure the correct hostname is used in the SM_NOTIFY message that is sent from a rebooted server which has multiple network interfaces. (bz 139101) - Changed nfslock to send lockd a -KILL signal when coming down. (bz 125257) * Thu Nov 11 2004 Steve Dickson - Replaced a memcopy with explicit assignments in getquotainfo() of rquotad to fix potential overflow that can occur on 64bit machines. (bz 138068) * Mon Nov 8 2004 Steve Dickson - Updated to latest sourceforge code - Updated to latest CITIT nfs4 patches * Sun Oct 17 2004 Steve Dickson - Changed nfs.init to bring down rquotad correctly (bz# 136041) * Thu Oct 14 2004 Steve Dickson - Added "$RQUOTAD_PORT" variable to nfs.init which allows the rpc.rquotad to use a predefined port (bz# 124676) * Fri Oct 1 2004 - Make sure the uid/gid of nfsnobody is the correct value for all archs (bz# 123900) - Fixed some security issues found by SGI (bz# 133556) * Mon Aug 30 2004 Steve Dickson - Major clean up. - Removed all unused/old patches - Rename and condensed a number of patches - Updated to CITI's nfs-utils-1.0.6-13 patches * Tue Aug 10 2004 Bill Nottingham - move if..fi condrestart stanza to %%postun (#127914, #128601) * Wed Jun 16 2004 - nfslock stop is now done on package removals - Eliminate 3 syslog messages that are logged for successful events. * Tue Jun 15 2004 Elliot Lee - rebuilt * Mon Jun 14 2004 - Fixed syntax error in nfs initscripts when NETWORKING is not defined - Removed sync warning on readonly exports. - Changed run levels in rpc initscripts. - Replaced modinfo with lsmod when checking for loaded modules. * Tue Jun 1 2004 - Changed the rpcgssd init script to ensure the rpcsec_gss_krb5 module is loaded * Tue May 18 2004 - Removed the auto option from MOUNTD_NFS_V2 and MOUNTD_NFS_V3 variables. Since v2 and v3 are on by default, there only needs to be away of turning them off. * Thu May 10 2004 - Rebuilt * Thu Apr 15 2004 - Changed the permission on idmapd.conf to 644 - Added mydaemon code to svcgssd - Updated the add_gssd.patch from upstream * Wed Apr 14 2004 - Created a pipe between the parent and child so the parent process can report the correct exit status to the init scripts - Added SIGHUP processing to rpc.idmapd and the rpcidmapd init script. * Mon Mar 22 2004 - Make sure check_new_cache() is looking in the right place * Wed Mar 17 2004 - Changed the v4 initscripts to use $prog for the arugment to daemon * Tue Mar 16 2004 - Made the nfs4 daemons initscripts work better when sunrpc is not a module - added more checks to see if modules are being used. * Mon Mar 15 2004 - Add patch that sets up gssapi_mech.conf correctly * Fri Mar 12 2004 - Added the shutting down of the rpc v4 daemons. - Updated the Red Hat only patch with some init script changes. * Thu Mar 11 2004 Bill Nottingham - rpc_pipefs mounting and aliases are now in modutils; require that * Thu Mar 11 2004 - Updated the gssd patch. * Sun Mar 7 2004 - Added the addition and deletion of rpc_pipefs to /etc/fstab - Added the addition and deletion of module aliases to /etc/modules.conf * Mon Mar 1 2004 - Removed gssd tarball and old nfsv4 patch. - Added new nfsv4 patches that include both the gssd and idmapd daemons - Added redhat-only v4 patch that reduces the static librpc.a to only contain gss rpc related routines (I would rather have gssd use the glibc rpc routines) -Changed the gssd svcgssd init scripts to only start up if SECURE_NFS is set to 'yes' in /etc/sysconfig/nfs * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Feb 12 2004 Thomas Woerner - make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie * Wed Jan 28 2004 Steve Dickson - Added the NFSv4 bits * Mon Dec 29 2003 Steve Dickson - Added the -z flag to nfsstat * Wed Dec 24 2003 Steve Dickson - Fixed lockd port setting in nfs.int script * Wed Oct 22 2003 Steve Dickson - Upgrated to 1.0.6 - Commented out the acl path for fedora * Thu Aug 27 2003 Steve Dickson - Added the setting of lockd ports via sysclt interface - Removed queue setting code since its no longer needed * Thu Aug 7 2003 Steve Dickson - Added back the acl patch Taroon b2 * Wed Jul 23 2003 Steve Dickson - Commented out the acl patch (for now) * Wed Jul 21 2003 Steve Dickson - Upgrated to 1.0.5 * Wed Jun 18 2003 Steve Dickson - Added security update - Fixed the drop-privs.patch which means the chroot patch could be removed. * Mon Jun 9 2003 Steve Dickson - Defined the differ kinds of debugging avaliable for mountd in the mountd man page. * Wed Jun 04 2003 Elliot Lee - rebuilt * Tue Jun 3 2003 Steve Dickson - Upgraded to 1.0.3 - Fixed numerous bugs in init scrips - Added nfsstat overflow patch * Thu Jan 23 2003 Tim Powers 1.0.1-2.9 - rebuild * Fri Dec 13 2002 Daniel J Walsh - change init script to not start rpc.lock if already running * Wed Dec 11 2002 Daniel J Walsh - Moved access code to be after dropping privs * Mon Nov 18 2002 Stephen C. Tweedie - Build with %%configure - Add nhfsgraph, nhfsnums and nhfsrun to the files list * Mon Nov 11 2002 Stephen C. Tweedie - Don't drop privs until we've bound the notification socket * Thu Nov 7 2002 Stephen C. Tweedie - Ignore SIGPIPE in rpc.mountd * Thu Aug 1 2002 Bob Matthews - Add Sean O'Connell's nfs control tweaks - to nfs init script. * Mon Jul 22 2002 Bob Matthews - Move to nfs-utils-1.0.1 * Mon Feb 18 2002 Bob Matthews - "service nfs restart" should start services even if currently - not running (#59469) - bump version to 0.3.3-4 * Wed Oct 3 2001 Bob Matthews - Move to nfs-utils-0.3.3 - Make nfsnobody a system account (#54221) * Tue Aug 21 2001 Bob Matthews - if UID 65534 is unassigned, add user nfsnobody (#22685) * Mon Aug 20 2001 Bob Matthews - fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113) * Tue Aug 7 2001 Bob Matthews - nfs init script shouldn't fail if /etc/exports doesn't exist (#46432) * Fri Jul 13 2001 Bob Matthews - Make %%pre useradd consistent with other Red Hat packages. * Tue Jul 03 2001 Michael K. Johnson - Added sh-utils dependency for uname -r in nfs init script * Tue Jun 12 2001 Bob Matthews - make non RH kernel release strings scan correctly in - nfslock init script (#44186) * Mon Jun 11 2001 Bob Matthews - don't install any rquota pages in _mandir: (#39707, #44119) - don't try to manipulate rpc.rquotad in init scripts - unless said program actually exists: (#43340) * Tue Apr 10 2001 Preston Brown - don't translate initscripts for 6.x * Tue Apr 10 2001 Michael K. Johnson - do not start lockd on kernel 2.2.18 or higher (done automatically) * Fri Mar 30 2001 Preston Brown - don't use rquotad from here now; quota package contains a version that works with 2.4 (#33738) * Tue Mar 12 2001 Bob Matthews - Statd logs at LOG_DAEMON rather than LOG_LOCAL5 - s/nfs/\$0/ where appropriate in init scripts * Tue Mar 6 2001 Jeff Johnson - Move to nfs-utils-0.3.1 * Wed Feb 14 2001 Bob Matthews - #include patch * Mon Feb 12 2001 Bob Matthews - Really enable netgroups * Mon Feb 5 2001 Bernhard Rosenkraenzer - i18nize initscripts * Fri Jan 19 2001 Bob Matthews - Increased {s,r}blen in rpcmisc.c:makesock to accommodate eepro100 * Tue Jan 16 2001 Bob Matthews - Hackish fix in build section to enable netgroups * Wed Jan 3 2001 Bob Matthews - Fix incorrect file specifications in statd manpage. - Require gawk 'cause it's used in nfslock init script. * Thu Dec 13 2000 Bob Matthews - Require sed because it's used in nfs init script * Tue Dec 12 2000 Bob Matthews - Don't do a chroot(2) after dropping privs, in statd. * Mon Dec 11 2000 Bob Matthews - NFSv3 if kernel >= 2.2.18, detected in init script * Thu Nov 23 2000 Florian La Roche - update to 0.2.1 * Tue Nov 14 2000 Bill Nottingham - don't start lockd on 2.4 kernels; it's unnecessary * Tue Sep 5 2000 Florian La Roche - more portable fix for mandir * Sun Sep 3 2000 Florian La Roche - update to 0.2-release * Fri Sep 1 2000 Florian La Roche - fix reload script * Thu Aug 31 2000 Florian La Roche - update to 0.2 from CVS - adjust statd-drop-privs patch - disable tcp_wrapper support * Wed Aug 2 2000 Bill Nottingham - fix stop priority of nfslock * Tue Aug 1 2000 Bill Nottingham - um, actually *include and apply* the statd-drop-privs patch * Mon Jul 24 2000 Bill Nottingham - fix init script ordering (#14502) * Sat Jul 22 2000 Bill Nottingham - run statd chrooted and as non-root - add prereqs * Tue Jul 18 2000 Trond Eivind Glomsrd - use "License", not "Copyright" - use %%{_tmppath} and %%{_mandir} * Mon Jul 17 2000 Matt Wilson - built for next release * Mon Jul 17 2000 Matt Wilson - 0.1.9.1 - remove patch0, has been integrated upstream * Wed Feb 9 2000 Bill Nottingham - the wonderful thing about triggers, is triggers are wonderful things... * Thu Feb 03 2000 Cristian Gafton - switch to nfs-utils as the base tree - fix the statfs patch for the new code base - single package that obsoletes everything we had before (if I am to keep some traces of my sanity with me...) * Mon Jan 17 2000 Preston Brown - use statfs syscall instead of stat to determinal optimal blksize