SELinux strangeness with 8.1.2 and 8.1.3

Поиск
Список
Период
Сортировка
От Just Someone
Тема SELinux strangeness with 8.1.2 and 8.1.3
Дата
Msg-id 36932f270603011144r7976dfc1u994b36d3e3ba2029@mail.gmail.com
обсуждение исходный текст
Ответы Re: SELinux strangeness with 8.1.2 and 8.1.3
Список pgsql-general
Hi,

I know this isn't directly a postgres issue, but it might help a few
other users, so here goes.

I did an upgrade on my Fedora Core 4 system, and postgres (8.1.2 from
the postgres packages, not FC packages) stopped working because of
permission issues when trying to create postmaster.pid in the
/var/lib/pgsql/data directory. My system has SELinux active, and it
used to work until now.

So I upgraded using the latest 8.1.3 release (I built it from SRPMs as
an x86_64 binary wasn't available), hoping it will help. It didn't.

I researched it a bit, and tried a few things, and discovered that the
problem is in the init script at /etc/init.d/postgres users runuser
instead of su on SELinux enabled systems. But for some reason it won't
work this way. I manually reveted it to use su and it works fine.

It anyone knows of a better fix - please let me know.

Thanks,

Guy.

---
Family management on postgres+rails: http://www.famundo.com - coming soon!

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

Предыдущее
От: Tony Caduto
Дата:
Сообщение: Special offer with a possible dontation to the project
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Special offer with a possible dontation to the project