OBS User unknown 2008-07-15 23:08:30 +00:00 committed by Git OBS Bridge
parent 6e42835b65
commit 4d87a756de
3 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 15 08:33:13 CEST 2008 - nfbrown@suse.de
- nfs.init - parse /etc/fstab correctly. The first two fields
are "what where", not "where what" (bnc#364513)
-------------------------------------------------------------------
Fri Jun 27 17:48:35 CEST 2008 - schwab@suse.de

View File

@ -15,7 +15,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: 11
Release: 12
Group: Productivity/Networking/NFS
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -257,6 +257,9 @@ rm -rf $RPM_BUILD_ROOT
%doc nfs/*.html nfs/*.ps linux-nfs/* README.NFSv4
%changelog
* Tue Jul 15 2008 nfbrown@suse.de
- nfs.init - parse /etc/fstab correctly. The first two fields
are "what where", not "where what" (bnc#364513)
* Fri Jun 27 2008 schwab@suse.de
- Use autoreconf.
* Fri Jun 06 2008 nfbrown@suse.de

View File

@ -34,8 +34,8 @@ NEED_GSSD=no
nfs=no
NEED_LDCONFIG=no
while read where what type options rest ; do
case "$where" in
while read what where type options rest ; do
case "$what" in
\#*|"") ;;
*) case "$options" in
*noauto*) ;;
@ -95,8 +95,8 @@ mount_rpc_pipefs() {
}
mount_usr() {
while read where what type options rest ; do
case "$where" in
while read what where type options rest ; do
case "$what" in
\#*|"") ;;
*) case "$options" in
*noauto*) ;;
@ -240,13 +240,13 @@ case "$1" in
status)
echo -n "Checking for mounted nfs shares (from /etc/fstab):"
if test "$nfs" = "yes" ; then
while read where what type options rest ; do
case "$where" in
while read what where type options rest ; do
case "$what" in
\#*|"") ;;
*) case "$options" in
*noauto*) ;;
*) if test "$type" = "nfs" -o "$type" = "nfs4" ; then
grep -q "$where $what nfs" /proc/mounts || rc_failed 3
grep -q "$what $where nfs" /proc/mounts || rc_failed 3
fi ;;
esac
esac