BUG #5430: initdb fails due to permissions of /usr/share/pgsql

Поиск
Список
Период
Сортировка
От Jamie Strachan
Тема BUG #5430: initdb fails due to permissions of /usr/share/pgsql
Дата
Msg-id 201004191422.o3JEMoln065656@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5430: initdb fails due to permissions of /usr/share/pgsql  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #5430: initdb fails due to permissions of /usr/share/pgsql  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5430
Logged by:          Jamie Strachan
Email address:      frostfreek@yahoo.com
PostgreSQL version: 8.4.3-2PGDG.el4
Operating system:   CentOS 4
Description:        initdb fails due to permissions of /usr/share/pgsql
Details:

Hello,

Downloaded the following RPM:
http://yum.pgsqlrpms.org/8.4/redhat/rhel-4-i386/postgresql-server-8.4.3-2PGD
G.el4.i386.rpm

for my CentOS 4 install.

service postgresql initdb fails with no error message.

So, I su'd to postgres, and ran

   initdb --pgdata=/var/lib/pgsql/data --auth=ident
which is what service postgresql initdb does.
This command failed, with the error message:

could not open directory "/usr/share/pgsql/timezonesets"


I did a
chown -R postgres:postgres /usr/share/pgsql
and then it worked fine.

Using rpm2cpio {file} | cpio -tv
I see:
drwxr-xr-x   6 root     root            0 Mar 17 16:21 ./usr/share/pgsql
which is fine, however there is no specific entry for
/usr/share/timezone.
The post-install script doesn't seem to fix it, either.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "goutham"
Дата:
Сообщение: BUG #5429: Driver issue
Следующее
От: Andy Balholm
Дата:
Сообщение: Re: bugs that have not been replied-to on list