Bug 175761 - ltp needs to be packaged better
Summary: ltp needs to be packaged better
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ready Certification Tests
Classification: Retired
Component: other
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Greg Nichols
QA Contact: Rob Landry
URL:
Whiteboard:
Depends On:
Blocks: 191897
TreeView+ depends on / blocked
 
Reported: 2005-12-14 18:41 UTC by Will Woods
Modified: 2008-07-17 22:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-17 22:03:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Will Woods 2005-12-14 18:41:36 UTC
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 22:03:23 UTC
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.