bug : sm-notify path is hardcoded into statd
Subsystems (2)
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 7 lines · Gabriel Barazer
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 atutils/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 */
Signature · 10 lines
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 - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs