[torquedev] [Bug 213] sendmail path in torque.spec influenced by _prefix

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Aug 13 13:12:48 MDT 2012


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=213

--- Comment #5 from Michael Jennings <mej at lbl.gov> 2012-08-13 13:12:48 MDT ---
(In reply to comment #4)
> Whilst we don't use RPMs for Torque here I believe that building Torque RPMs
> with --prefix should not change where it looks for the sendmail binary. IMHO
> prefix should only affect where the package you are building is putting files,
> not where it is expecting to find system binaries.

That's certainly a reasonable comment.  Perhaps it should be changed to
"/usr/sbin/sendmail" instead of "%{_prefix}/sendmail" to avoid this.

Unfortunately, the auto-detection is unreliable and failure not properly
flagged which is why the setting exists to begin with.

Ultimately, the most correct solution might be to allow --with-sendmail to be
specified without a path so that auto-detection can occur but make failure a
fatal error.  Too many times, mysterious behavior has eventually been tracked
to non-fatal sendmail binary detection failures at RPM build time.  :-/

-- 
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