Problems running regression tests - Mailing list pgsql-general

From Karl O. Pinc
Subject Problems running regression tests
Date
Msg-id 1143248191l.30390l.2l@mofo
Whole thread Raw
Responses Re: Problems running regression tests
List pgsql-general
FYI,

Postgres 8.0.7
OS Centos 4.2 (Final)

Rebuilt and installed the rpms.

To test, I copied /usr/lib/pgsql/test/regress/
to my home directory.  However,

gmake check

always produces

/usr/bin/chcon: can't apply partial context to unlabeled file
testtablespace
/usr/bin/chcon: can't apply partial context to unlabeled file results

The Makefile has

[ -x /usr/bin/chcon ] && /usr/bin/chcon -t postgresql_db_t
testtablespa\ce results

This does not seem to be a good way to test for SELinux.  SELinux
is not enabled in my kernel but chcon seems to be included in
the coreutils rpm.  As a result, AFIK, chcon will never work
and the make will always fail.

Karl <kop@meme.com>
Free Software:  "You don't pay back, you pay forward."
                  -- Robert A. Heinlein


pgsql-general by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Between !
Next
From: "Reimer"
Date:
Subject: Re: URGENT! could not access status of transaction