Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-24 Thread Kohei Kaigai
ks, -- NEC Europe Ltd, SAP Global Competence Center KaiGai Kohei > -Original Message- > From: Devrim GÜNDÜZ [mailto:dev...@gunduz.org] > Sent: 21. Mai 2011 07:46 > To: Kohei Kaigai > Cc: Emanuel Calvo; postgresql Forums; KaiGai Kohei > Subject: Re: [GENERAL] Error compiling

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-24 Thread Emanuel Calvo
2011/5/24 Kohei Kaigai : > I noticed that selinux_sepgsql_context_path(3) was also got merged at > libselinux-2.0.83. > So, we could check correctness of library versions using existence of this > function. > > Does this patch expectedly abort the configure script on older libselinux > installat

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-24 Thread Kohei Kaigai
b objects */ > #define SELABEL_CTX_DB 3 <-- not exist libselinux older than > 2.0.93 > > Thanks, > -- > NEC Europe Ltd, SAP Global Competence Center > KaiGai Kohei > > > > -----Original Message- > > From: Emanuel Calvo [mailto:postgres

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-24 Thread Kohei Kaigai
@gmail.com] > Sent: 24. Mai 2011 12:30 > To: Devrim GÜNDÜZ > Cc: Kohei Kaigai; postgresql Forums; KaiGai Kohei > Subject: Re: [GENERAL] Error compiling sepgsql in PG9.1 > > 2011/5/21 Devrim GÜNDÜZ : > > On Sat, 2011-05-21 at 02:50 +0100, Kohei Kaigai wrote: > >> As docum

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-24 Thread Emanuel Calvo
2011/5/21 Devrim GÜNDÜZ : > On Sat, 2011-05-21 at 02:50 +0100, Kohei Kaigai wrote: >> As documentation said, it needs libselinux 2.0.93 or higher. >> This version supports selabel_lookup(3) for database object classes. > > AFAICS, we are not checking it during configure. It might be worth to > add

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-20 Thread Devrim GÜNDÜZ
On Sat, 2011-05-21 at 02:50 +0100, Kohei Kaigai wrote: > As documentation said, it needs libselinux 2.0.93 or higher. > This version supports selabel_lookup(3) for database object classes. AFAICS, we are not checking it during configure. It might be worth to add libselinux version check in the co

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-20 Thread Kohei Kaigai
: 20. Mai 2011 19:05 > To: Emanuel Calvo > Cc: postgresql Forums; KaiGai Kohei > Subject: Re: [GENERAL] Error compiling sepgsql in PG9.1 > > On Fri, 2011-05-20 at 11:02 +0200, Emanuel Calvo wrote: > > I had the following error during compile of sepgsqk contrib: > > Appar

Re: [GENERAL] Error compiling sepgsql in PG9.1

2011-05-20 Thread Devrim GÜNDÜZ
On Fri, 2011-05-20 at 11:02 +0200, Emanuel Calvo wrote: > I had the following error during compile of sepgsqk contrib: Apparently we need to specify the minimum SELinux version that we can compile sepgsql against. It builds fine on my Fedora 14 box, where I have libselinux 2.0.96. Regards, -- De