On Fri, Jan 15, 2010 at 9:48 AM, Garrett Cooper <[email protected]> wrote:
> On Tue, Jan 12, 2010 at 7:38 AM, Serge E. Hallyn <[email protected]> wrote:
>> Quoting Garrett Cooper ([email protected]):
>>> On Mon, Jan 11, 2010 at 1:00 PM, Serge E. Hallyn <[email protected]> wrote:
>>> > Quoting Serge E. Hallyn ([email protected]):
>>> >> Quoting Serge E. Hallyn ([email protected]):
>>> >> > Quoting Stephen Smalley ([email protected]):
>>> >> > > On Mon, 2010-01-11 at 13:50 -0600, Serge E. Hallyn wrote:
>>> >> > > > > Fails with:
>>> >> > > > > cp: cannot stat
>>> >> > > > > `/home/sds/ltp/testcases/kernel/security/selinux-testsuite/refpolicy/policy_files/generic/test_policy.*':
>>> >> > > > >  No such file or directory
>>> >> > > >
>>> >> > > > You ran /home/sds/ltp/testscripts/test_selinux.sh, right?
>>> >> > > >
>>> >> > > > I think we are supposed to actually be running
>>> >> > > > /opt/ltp/testscripts/test_selinux.sh.  So then the first question 
>>> >> > > > for
>>> >> > > > Garrett is how should we deduce /home/sds/ltp as $LTP_SRCDIR from a
>>> >> > > > testscript?  Or should the policy sources be copied into /opt?
>>> >> > >
>>> >> > > Ok, but regardless:  the refpolicy Makefile is still broken.
>>> >> >
>>> >> > Yup.
>>> >>
>>> >> All right, baby-steps.
>>> >>
>>> >> The attached test_selinux.diff is not to be applied, but something
>>> >> like it is needed.  Should we have the ltp 'make install' fill in
>>> >> TOP_SRCDIR in /opt/ltp/testscripts/test_selinux.sh?  BTW, Garrett,
>>> >> that is the issue I was saying is shared between test_selinux.sh
>>> >> and some others including test_robind.sh.  That's why I'm not just
>>> >> sending a patch to make it work, bc i think we need more general
>>> >> guidance.
>>> >>
>>> >> The second match makes the 'make load' part of test_selinux.sh
>>> >> succeed on rhel5.4.  Stephen, how does it do on fedora?
>>> >>
>>> >> After loading policy it fails to execute ltp-pan, but I figure let's
>>> >> get policy loading working first.
>>> >>
>>> >> -serge
>>> >
>>> > gah, attaching the actual patches this time.
>>> >
>>> > -serge
>>>
>>> 1. I'm rejecting the test_selinux.diff solely because it has /root/ltp
>>> hardcoded as LTPROOT.
>>
>> I said 'not to be applied'.  You're not rejecting.
>>
>>> 2. Why is the redhat stuff support to work
>>> agnostic to the major and minor version?
>>
>> It's not agnostic to the major version.  Only the minor version.
>>
>> And since you've made ltp not compile on rhel4 (requiring make-3.81.  feh)
>> i suppose we can just get rid of rhel4 support selinux-testsuite.
>
> No. 1. Compiling make 3.81 today and installing it is trivial, so it
> shouldn't be removed today. 2. I've finally decided that I'm going to
> look outside of the box into providing equivalent functionality via
> shell functions using purely built-in commands [and test(1)] to fill
> in the feature gaps for make 3.80. I've gotten to the point where I
> just gave up trying to ride out what I possibly can in make 3.80, so
> it's time to pull in some external pieces to get the job done.

    All of the install junk works now, but the modes need fixing, or
some such fun. Please analyze the test_selinux.sh script and tell me
what to commit next to fix everything.
Thanks,
-Garrett

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to