linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin
@ 2014-04-15  7:54 NeilBrown
  2014-04-30 17:16 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: NeilBrown @ 2014-04-15  7:54 UTC (permalink / raw)
  To: Steve Dickson; +Cc: NFS

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]


The kernel "knows" this lives in /sbin, so just like
mount.nfs and osd_login, it must unconditionally be installed
there.

Signed-off-by: NeilBrown <neilb@suse.de>

diff --git a/utils/nfsdcltrack/Makefile.am b/utils/nfsdcltrack/Makefile.am
index a860ffb82e2c..7524295f394e 100644
--- a/utils/nfsdcltrack/Makefile.am
+++ b/utils/nfsdcltrack/Makefile.am
@@ -1,5 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
+# These binaries go in /sbin (not /usr/sbin), and that cannot be
+# overridden at config time. The kernel "knows" the /sbin name.
+sbindir = /sbin
+
 man8_MANS	= nfsdcltrack.man
 EXTRA_DIST	= $(man8_MANS)
 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin
  2014-04-15  7:54 PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin NeilBrown
@ 2014-04-30 17:16 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2014-04-30 17:16 UTC (permalink / raw)
  To: NeilBrown; +Cc: NFS



On 04/15/2014 03:54 AM, NeilBrown wrote:
> 
> The kernel "knows" this lives in /sbin, so just like
> mount.nfs and osd_login, it must unconditionally be installed
> there.
> 
> Signed-off-by: NeilBrown <neilb@suse.de>
Committed... 

steved.

> 
> diff --git a/utils/nfsdcltrack/Makefile.am b/utils/nfsdcltrack/Makefile.am
> index a860ffb82e2c..7524295f394e 100644
> --- a/utils/nfsdcltrack/Makefile.am
> +++ b/utils/nfsdcltrack/Makefile.am
> @@ -1,5 +1,9 @@
>  ## Process this file with automake to produce Makefile.in
>  
> +# These binaries go in /sbin (not /usr/sbin), and that cannot be
> +# overridden at config time. The kernel "knows" the /sbin name.
> +sbindir = /sbin
> +
>  man8_MANS	= nfsdcltrack.man
>  EXTRA_DIST	= $(man8_MANS)
>  
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-30 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15  7:54 PATCH - nfs-utils] nfsdctltrack: ensure binary is installed in /sbin NeilBrown
2014-04-30 17:16 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).