Обсуждение: uuid disabled by default in rhel7 rpm

Поиск
Список
Период
Сортировка

uuid disabled by default in rhel7 rpm

От
Ross Dougherty
Дата:
I've been setting up PostgreSQL 9.3 on some CentOS 7 servers and ran
into a problem where the uuid-ossp module wasn't being provided by the
postgresql93-contrib-9.3.5-1PGDG.rhel7.x86_64 package.

Upon investigating it appears that uuid is now disabled by default in
rhel7 builds and I had to rebuild the source RPM with --define 'uuid 1'.
Is there a reason for this change? README.rpm-dist still notes it as
being enabled by default.


Re: uuid disabled by default in rhel7 rpm

От
Craig Ringer
Дата:
On 08/15/2014 02:22 PM, Ross Dougherty wrote:
> I've been setting up PostgreSQL 9.3 on some CentOS 7 servers and ran
> into a problem where the uuid-ossp module wasn't being provided by the
> postgresql93-contrib-9.3.5-1PGDG.rhel7.x86_64 package.
>
> Upon investigating it appears that uuid is now disabled by default in
> rhel7 builds and I had to rebuild the source RPM with --define 'uuid 1'.
> Is there a reason for this change? README.rpm-dist still notes it as
> being enabled by default.

From the RPM changelog:


* Thu Dec 12 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 9.3.2-2PGDG
- Initial cut for RHEL 7
- Disable uuid builds on RHEL 7 temporarily, since uuid-devel is not
  available in the beta iso.
- Fix builds when uuid support is disabled, by adding missing conditional.
- Add process name to the status() call in init script.
  Patch from Darrin Smart



--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: uuid disabled by default in rhel7 rpm

От
Ross Dougherty
Дата:
On 18/08/2014 1:28 pm, Craig Ringer wrote:
> On 08/15/2014 02:22 PM, Ross Dougherty wrote:
>> I've been setting up PostgreSQL 9.3 on some CentOS 7 servers and ran
>> into a problem where the uuid-ossp module wasn't being provided by the
>> postgresql93-contrib-9.3.5-1PGDG.rhel7.x86_64 package.
>>
>> Upon investigating it appears that uuid is now disabled by default in
>> rhel7 builds and I had to rebuild the source RPM with --define 'uuid 1'.
>> Is there a reason for this change? README.rpm-dist still notes it as
>> being enabled by default.
>  From the RPM changelog:
>
>
> * Thu Dec 12 2013 Devrim GÜNDÜZ <devrim@gunduz.org> - 9.3.2-2PGDG
> - Initial cut for RHEL 7
> - Disable uuid builds on RHEL 7 temporarily, since uuid-devel is not
>    available in the beta iso.
> - Fix builds when uuid support is disabled, by adding missing conditional.
> - Add process name to the status() call in init script.
>    Patch from Darrin Smart
>
I believe this is no longer relevant as I had no issues installing
uid-devel and rebuilding the RPM so it's probably ok to re-enable it?


Re: uuid disabled by default in rhel7 rpm

От
Craig Ringer
Дата:
On 08/20/2014 10:31 AM, Ross Dougherty wrote:
>>
> I believe this is no longer relevant as I had no issues installing
> uid-devel and rebuilding the RPM so it's probably ok to re-enable it?

The commit message specifically refers to the beta ISO, so yes, I
believe so.

I can't do anything about it, but I'll ping Devrim when he's back.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: uuid disabled by default in rhel7 rpm

От
Devrim Gündüz
Дата:
Hi,

On Fri, 2014-08-15 at 16:22 +1000, Ross Dougherty wrote:
> I've been setting up PostgreSQL 9.3 on some CentOS 7 servers and ran
> into a problem where the uuid-ossp module wasn't being provided by the
> ostgresql93-contrib-9.3.5-1PGDG.rhel7.x86_64 package.
>
> Upon investigating it appears that uuid is now disabled by default in
> rhel7 builds and I had to rebuild the source RPM with --define 'uuid
> 1'.  Is there a reason for this change? README.rpm-dist still notes it
> as  being enabled by default

As Craig wrote earlier, I disabled it, since the initial RHEL iso that I
had did not contain uuid-devel package. We switched to CentOS there, and
now re-enabled it. Updated packages will hit the repo in 30 mins.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Вложения