From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] Fixes for #11098
Date: Tue, 26 Apr 2016 22:22:40 +0100 [thread overview]
Message-ID: <1461705760.10266.188.camel@ipfire.org> (raw)
In-Reply-To: <1461597318-941-1-git-send-email-jonatan.schlag@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 4120 bytes --]
Merged this, but had to fix the commit message so that it comes with a clue what
was done here and I had to fix some whitespace issues.
Best,
-Michael
On Mon, 2016-04-25 at 17:15 +0200, Jonatan Schlag wrote:
> Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
> ---
> config/rootfiles/packages/nfs | 5 +++--
> lfs/nfs | 8 ++++----
> src/initscripts/init.d/nfs-server | 12 ++++++------
> 3 files changed, 13 insertions(+), 12 deletions(-)
>
> diff --git a/config/rootfiles/packages/nfs b/config/rootfiles/packages/nfs
> index 666512b..08fcca9 100644
> --- a/config/rootfiles/packages/nfs
> +++ b/config/rootfiles/packages/nfs
> @@ -1,5 +1,6 @@
> sbin/mount.nfs
> sbin/mount.nfs4
> +sbin/nfsdcltrack
> sbin/osd_login
> sbin/umount.nfs
> sbin/umount.nfs4
> @@ -22,7 +23,6 @@ usr/lib/libnfsidmap/umich_ldap.so
> #usr/lib/pkgconfig/libnfsidmap.pc
> usr/sbin/exportfs
> usr/sbin/mountstats
> -usr/sbin/nfsdcltrack
> usr/sbin/nfsiostat
> usr/sbin/nfsstat
> usr/sbin/rpc.idmapd
> @@ -37,6 +37,7 @@ usr/sbin/start-statd
> #usr/share/man/man5/exports.5
> #usr/share/man/man5/idmapd.conf.5
> #usr/share/man/man5/nfs.5
> +#usr/share/man/man5/nfsmount.conf.5
> #usr/share/man/man7/nfsd.7
> #usr/share/man/man8/exportfs.8
> #usr/share/man/man8/idmapd.8
> @@ -61,7 +62,7 @@ usr/sbin/start-statd
> var/lib/nfs/etab
> var/lib/nfs/rmtab
> var/lib/nfs/sm
> -#var/lib/nfs/sm.bak
> +var/lib/nfs/sm.bak
> var/lib/nfs/state
> var/lib/nfs/xtab
> etc/rc.d/init.d/nfs-server
> diff --git a/lfs/nfs b/lfs/nfs
> index 417f155..b6cef7b 100644
> --- a/lfs/nfs
> +++ b/lfs/nfs
> @@ -24,7 +24,7 @@
>
> include Config
>
> -VER = 1.2.7
> +VER = 1.3.3
>
> THISAPP = nfs-utils-$(VER)
> DL_FILE = $(THISAPP).tar.bz2
> @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
> DIR_APP = $(DIR_SRC)/$(THISAPP)
> TARGET = $(DIR_INFO)/$(THISAPP)
> PROG = nfs
> -PAK_VER = 6
> +PAK_VER = 7
>
> DEPS = "portmap"
>
> @@ -48,7 +48,7 @@ objects = $(DL_FILE) \
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> libnfsidmap-$(LIBNFSIDMAP).tar.gz = $(DL_FROM)/libnfsidmap-
> $(LIBNFSIDMAP).tar.gz
>
> -$(DL_FILE)_MD5 = 3b5ca797197765dc0c3a4122720c7716
> +$(DL_FILE)_MD5 = 9b87d890669eaaec8e97a2b0a35b2665
> libnfsidmap-$(LIBNFSIDMAP).tar.gz_MD5 = 2ac4893c92716add1a1447ae01df77ab
>
> install : $(TARGET)
> @@ -94,7 +94,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> --disable-gss \
> --disable-tirpc \
> --disable-nfsv41 \
> - --without-tcp-wrappers
> + --without-tcp-wrappers --disable-ipv6
>
> cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
> cd $(DIR_APP) && make install
> diff --git a/src/initscripts/init.d/nfs-server b/src/initscripts/init.d/nfs-
> server
> index 15284e8..73378d5 100644
> --- a/src/initscripts/init.d/nfs-server
> +++ b/src/initscripts/init.d/nfs-server
> @@ -13,6 +13,10 @@
>
> case "$1" in
> start)
> + boot_mesg "Mounting nfsd virtual filesystem..."
> + /bin/mount -t nfsd none /proc/fs/nfsd 2>&1 > /dev/null
> + evaluate_retval
> +
> boot_mesg "Starting NFS mountd..."
> loadproc /usr/sbin/rpc.mountd
>
> @@ -27,10 +31,6 @@ case "$1" in
> loadproc /usr/sbin/rpc.rquotad
> fi
>
> - boot_mesg "Mounting nfsd virtual filesystem..."
> - /bin/mount -t nfsd none /proc/fs/nfsd 2>&1 > /dev/null
> - evaluate_retval
> -
> # Make ceratin that the list is refreshed on
> # a restart.
> boot_mesg "Exporting NFS Filesystems..."
> @@ -43,8 +43,8 @@ case "$1" in
> killproc /usr/sbin/rpc.statd
>
> boot_mesg "Stopping NFS nfsd..."
> - # nfsd needs HUP....
> - killproc nfsd HUP
> + /usr/sbin/rpc.nfsd 0
> + evaluate_retval
>
> boot_mesg "Stopping NFS mountd..."
> killproc /usr/sbin/rpc.mountd
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-04-26 21:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 15:15 Jonatan Schlag
2016-04-26 21:22 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461705760.10266.188.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox