From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Kohei Kaigai <Kohei(dot)Kaigai(at)emea(dot)nec(dot)com> |
Cc: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Emanuel Calvo <postgres(dot)arg(at)gmail(dot)com>, postgresql Forums <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Error compiling sepgsql in PG9.1 |
Date: | 2011-05-24 18:12:00 |
Message-ID: | BANLkTinK-=7HoiHUuRZQfo-Z-aNX0Yqcsw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
2011/5/24 Kohei Kaigai <Kohei(dot)Kaigai(at)emea(dot)nec(dot)com>:
> The attached patch enables to abort configure script when we run it with '--with-selinux'
> option, but libselinux is older than minimum requirement to SE-PostgreSQL.
>
> As the documentation said, it needs libselinux-2.0.93 at least, because this or later
> version support selabel_lookup(3) for database object classes; used to initial labeling.
>
> The current configure script checks existence of libselinux, but no version checks.
> (getpeercon_raw(3) has been a supported API for a long term.)
> The selinux_sepgsql_context_path(3) is a good watermark of libselinux-2.0.93 instead.
Looks to me like you need to adjust the wording of the error message.
Maybe "libselinux version 2.0.93 or newer is required", or something like that.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Traster | 2011-05-24 18:48:36 | Postgres Triggers instead of requiring a field - fire when field not included |
Previous Message | Kohei Kaigai | 2011-05-24 17:30:32 | Re: Error compiling sepgsql in PG9.1 |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-05-24 18:13:40 | Re: "errno" not set in case of "libm" functions (HPUX) |
Previous Message | Noah Misch | 2011-05-24 18:11:52 | Re: Alignment padding bytes in arrays vs the planner |