This commit is contained in:
parent
584f4fc299
commit
0a0bbe6a8f
@ -6,6 +6,7 @@ Subject: [PATCH] Make sure statd gets started when 'string options' are in use.
|
||||
The code for checking and starting statd was only in the binary-options
|
||||
branch of the code.
|
||||
This moves it into common code.
|
||||
... and don't check for statd if '-o remount'
|
||||
---
|
||||
utils/mount/mount.c | 22 ++++++++++++++++++++--
|
||||
utils/mount/nfsmount.c | 11 -----------
|
||||
@ -57,7 +58,7 @@ index 5076468..0036caa 100644
|
||||
goto out;
|
||||
}
|
||||
|
||||
+ if (!fake && lock) {
|
||||
+ if (!fake && lock && ! (flags & MS_REMOUNT) && strcmp(fs_type,"nfs")==0) {
|
||||
+ if (!start_statd()) {
|
||||
+ nfs_error(_("%s: rpc.statd is not running but is "
|
||||
+ "required for remote locking.\n"
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 6 08:00:21 CEST 2008 - nfbrown@suse.de
|
||||
|
||||
- nfs-utils-1.1.2-start-statd.patch - fix so that statd isn't
|
||||
required with "-o remount" (that causes a problem with
|
||||
nfs-root (bnc#397417)) and isn't required for nfsv4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 13:20:17 CEST 2008 - lnussel@suse.de
|
||||
|
||||
|
@ -16,7 +16,7 @@ BuildRequires: e2fsprogs-devel gcc-c++ krb5-devel libevent libgssglue-devel lib
|
||||
Url: http://nfs.sourceforge.net
|
||||
Summary: Support Utilities for Kernel nfsd
|
||||
Version: 1.1.2
|
||||
Release: 8
|
||||
Release: 10
|
||||
Group: Productivity/Networking/NFS
|
||||
License: GPL v2 or later
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -258,6 +258,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
|
||||
|
||||
%changelog
|
||||
* Fri Jun 06 2008 nfbrown@suse.de
|
||||
- nfs-utils-1.1.2-start-statd.patch - fix so that statd isn't
|
||||
required with "-o remount" (that causes a problem with
|
||||
nfs-root (bnc#397417)) and isn't required for nfsv4.
|
||||
* Mon Jun 02 2008 lnussel@suse.de
|
||||
- fix permissions handling of mount.nfs (bnc#304318)
|
||||
- fix prereqs
|
||||
|
Loading…
x
Reference in New Issue
Block a user