[torquedev] [Bug 213] New: sendmail path in torque.spec influenced by _prefix
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Fri Aug 10 06:38:23 MDT 2012
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=213
Summary: sendmail path in torque.spec influenced by _prefix
Product: TORQUE
Version: 2.5.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: pbs_server
AssignedTo: dbeer at adaptivecomputing.com
ReportedBy: viktor.stujber at stuba.sk
CC: torquedev at supercluster.org
Estimated Hours: 0.0
When using rpmbuild, the torque.spec file supplies its own
--with-sendmail=%{sendmail_path} parameter to configure (instead of letting
configure autodetect it).It expands to %{!?sendmail_path:%global sendmail_path
%{_sbindir}/sendmail}.
So it's either an user-supplied path, or _sbindir (which is already an
incorrect assumption). However, this is referring to the build's sbindir, not
the system's. We use --define "_prefix /opt/torque" to change the install path,
and apparently _prefix influences _sbindir, because all Makefiles get
SENDMAIL_CMD = /opt/torque/sbin/sendmail which is a nonexistent path.
My suggestion is to make the entire --with-sendmail configure parameter
optional, only instantiate it when the user provides a specific path, and leave
it up to the default configure behavior otherwise.
--
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the torquedev
mailing list