Re: Updates of SE-PostgreSQL 8.4devel patches (r1530)

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>
Cc: Joshua Brindle <method(at)manicmethod(dot)com>, KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1530)
Date: 2009-02-27 21:53:51
Message-ID: 3073cc9b0902271353h68bb27b0j96fdfe631bff9c2c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Feb 14, 2009 at 12:46 AM, KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp> wrote:
> Jaime Casanova wrote:
>>
>> i only have ubuntu at hand, and i can install selinux from
>> repositories... do you see any problem with that?
>> i'm creating the VM now... will test on weekend...
>
> Now I checked the repository of Ubuntu, however, I can find
> several matters to build/run SE-PostgreSQL.
> - The default security policy is quite old.
>  Is does not contain SE-PostgreSQL support which is merged
>  at the refpolicy-20080702.
> - The libselinux is a bit old. It does not contains several
>  symbols required by SE-PostgreSQL, so it is not possible
>  to compile.
>
> If you set up a VM from scratch, Fedora enables to install
> via remote repository using minimum bootable image.
>  http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/iso/
>

at last i managed to install fedora 10 and it seems like it have
selinux installed (both "locate selinux" and "locate libselinux" gives
results).

executing: yum install libselinux gives "Package
libselinux-2.0.73-1.fc10.i386 already installed and latest version"

nevertheless, when i run:

./configure --prefix=/usr/local/pgsql/8.4.se --enable-cassert
--enable-debug --enable-depend --enable-selinux

i get this message:
checking for getpeercon in -lselinux... no
configure: error: "--enable-selinux requires libselinux."

attached config.log

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

Attachment Content-Type Size
config.log.gz application/x-gzip 4.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-02-27 22:02:55 Re: xpath processing brain dead
Previous Message Andrew Dunstan 2009-02-27 21:45:33 Re: xpath processing brain dead