Bug 175761 - ltp needs to be packaged better
ltp needs to be packaged better
Product: Red Hat Ready Certification Tests
Classification: Retired
Component: other (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Greg Nichols
Rob Landry
Depends On:
Blocks: 191897
  Show dependency treegraph
Reported: 2005-12-14 13:41 EST by Will Woods
Modified: 2008-07-17 18:03 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-17 18:03:23 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 Will Woods 2005-12-14 13:41:36 EST
The ltp 'make install' is terribly stupid - it hardlinks all the binaries into
the testcases/bin directory. 

Because a few of the tests depend on other files that are in their *build*
directory, they must be run from there. So we have to package the build dirs as
well as the binary dirs. So we package a lot of unnecessary stuff.

In addition, since the /bin/ dir is full of hardlinks, the files in there get
the wrong SELinux context - they should be bin_t but the files they link to are
outside /bin/, so they then get labeled lib_t. This causes rpm -V to complain a
lot about mismatched contexts during TPS runs.

Another thing: the scripts that should run chmod refuse to run as non-root. This
is unnecessary and just plain silly, and probably causes us to have improper
permissions on certain files.

Solution: Fix Makefiles and scripts to install binaries to a more reasonable
location, and fix binaries/scripts to not require files from the build dirs. Fix
chmod scripts to not demand root user.
Comment 2 Rob Landry 2008-07-17 18:03:23 EDT
rhr2 has been deprecated, closing these remaining bugs as WONTFIX.  Future bugs
against the "hts" test suite should be opened agains the "Red Hat Hardware
Certification Program" product selecting either "Test Suite (harness)" or "Test
Suite (tests)" components.

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