Bug 237207 - oddjob: use consistent "jobs" directory, independent of arch
oddjob: use consistent "jobs" directory, independent of arch
Product: Fedora
Classification: Fedora
Component: oddjob (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-04-19 19:39 EDT by Chris Weyl
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-05 20:09:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Weyl 2007-04-19 19:39:39 EDT
Description of problem:
oddjob uses a default directory for dependent programs to store their "helpers".
 Depending on the architecture (and hence %{_libdir}), this directory is either

/usr/lib/oddjob, or

I suspect these directories also have implications as to when SELinux is enforcing.

The problem comes around when a noarch package tries to leverage oddjob.  What
directory should it use?  A noarch package can't use %{_libdir} for file
placement, as it may be inconsistent with %{_libdir} on the resulting system.

e.g. a noarch package is built on a x86_64 system, so attempts to install into
/usr/lib64/oddjob.  A user then goes to install this noarch package on an i686
system...  But /usr/lib64/oddjob is the wrong place on this system.

Version-Release number of selected component (if applicable):
Latest fc6 oddjob package.  This bug appears to exist in fc5, fc6 and devel.

Expected results:
oddjob should have a single, consistent, architecture independent place for its
users to store their helper scripts.
Comment 1 Nalin Dahyabhai 2007-09-05 17:40:34 EDT
Another package can place its own helpers anywhere, really.  Adding
%{_libexecdir}/oddjob to the package for 0.29.

Note You need to log in before you can comment on or make changes to this bug.