Bug 201035

Summary: security failure running postgresql regression suite
Product: [Fedora] Fedora Reporter: Andrew Dunstan <andrew>
Component: postgresqlAssignee: Tom Lane <tgl>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.1.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-11 16:45:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Dunstan 2006-08-02 12:58:05 UTC
Description of problem:

installed postgresql-test package but installcheck fails due to chcon failure


Version-Release number of selected component (if applicable):

-bash-3.1$ yum list installed postgresql\*
Loading "installonlyn" plugin
Installed Packages
postgresql.i386                          8.1.4-1.FC5.1          installed       
postgresql-contrib.i386                  8.1.4-1.FC5.1          installed       
postgresql-devel.i386                    8.1.4-1.FC5.1          installed       
postgresql-jdbc.i386                     8.1.4-1.FC5.1          installed       
postgresql-libs.i386                     8.1.4-1.FC5.1          installed       
postgresql-odbc.i386                     08.01.0200-1.2         installed       
postgresql-pl.i386                       8.1.4-1.FC5.1          installed       
postgresql-python.i386                   8.1.4-1.FC5.1          installed       
postgresql-server.i386                   8.1.4-1.FC5.1          installed       
postgresql-test.i386                     8.1.4-1.FC5.1          installed     

How reproducible:

every time

Steps to Reproduce:

[root@marmaduke ~]# su - postgres
-bash-3.1$ cd /usr/lib/pgsql/test/regress
-bash-3.1$ make installcheck
rm -rf testtablespace results
mkdir testtablespace results
[ -x /usr/bin/chcon ] && /usr/bin/chcon -t postgresql_db_t testtablespace results
/usr/bin/chcon: can't apply partial context to unlabeled file testtablespace
/usr/bin/chcon: can't apply partial context to unlabeled file results
make: *** [cleandirs] Error 1
  
Actual results:


see above

Expected results:

tests should run


Additional info:

I have SELinux disabled.

Comment 1 Tom Lane 2007-01-11 16:45:29 UTC
Fixed as of current packages for FC5 and up.