All of lore.kernel.org
 help / color / mirror / Atom feed
* bug : sm-notify path is hardcoded into statd
@ 2007-07-23 16:15 Gabriel Barazer
  2007-07-23 20:27 ` Steinar H. Gunderson
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Barazer @ 2007-07-23 16:15 UTC (permalink / raw)
  To: nfs

Hi,

Just found another which happens when nfs utilities are not installed in 
/usr/sbin (e.g. because it's installed in /sbin for a diskless setup), 
statd can't properly call sm-notify because the path to sm-notify is 
hardcoded at utils/statd/statd.c:226 (nfs-utils-1.1.0). To preserve 
consistency with configure switch, we must instead replace it with the 
sbindir variable. (I can't reliably do a patch because I don't know 
enough how to deal with the autotools).

Thanks,

Gabriel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: bug : sm-notify path is hardcoded into statd
  2007-07-23 16:15 bug : sm-notify path is hardcoded into statd Gabriel Barazer
@ 2007-07-23 20:27 ` Steinar H. Gunderson
  0 siblings, 0 replies; 2+ messages in thread
From: Steinar H. Gunderson @ 2007-07-23 20:27 UTC (permalink / raw)
  To: nfs

On Mon, Jul 23, 2007 at 06:15:28PM +0200, Gabriel Barazer wrote:
> Just found another which happens when nfs utilities are not installed in 
> /usr/sbin (e.g. because it's installed in /sbin for a diskless setup), 
> statd can't properly call sm-notify because the path to sm-notify is 
> hardcoded at utils/statd/statd.c:226 (nfs-utils-1.1.0). To preserve 
> consistency with configure switch, we must instead replace it with the 
> sbindir variable. (I can't reliably do a patch because I don't know 
> enough how to deal with the autotools).

FWIW, in Debian we simply change it to /sbin. A proper patch upstream would
probably be preferable, though -- smaller delta from upstream to
distributions is always good.

/* Steinar */
-- 
Homepage: http://www.sesse.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2007-07-23 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 16:15 bug : sm-notify path is hardcoded into statd Gabriel Barazer
2007-07-23 20:27 ` Steinar H. Gunderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.