Re: BUG #1970: Existing /etc/pam.d/postgresql clobbered by

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: BUG #1970: Existing /etc/pam.d/postgresql clobbered by
Дата
Msg-id Pine.LNX.4.63.0510181637130.9125@mail.kivi.com.tr
обсуждение исходный текст
Ответ на BUG #1970: Existing /etc/pam.d/postgresql clobbered by RPM install  ("Mark Gibson" <gibsonm@cromwell.co.uk>)
Ответы Re: BUG #1970: Existing /etc/pam.d/postgresql clobbered by
Список pgsql-bugs
Hi,

On Mon, 17 Oct 2005, Mark Gibson wrote:

> Bug reference:      1970
> Logged by:          Mark Gibson
> Email address:      gibsonm@cromwell.co.uk
> PostgreSQL version: 8.0.4
> Operating system:   Redhat Enterprise Linux 4
> Description:        Existing /etc/pam.d/postgresql clobbered by RPM install
> Details:
>
> Hello, I noticed that when installing the 8.0.4 RPM's
> it replaced our existing /etc/pam.d/postgresql - this caused our system to
> break temporarily, as it was missing the following line:
>
> account  required  pam_stack.so service=system-auth
>
> I don't know whether this is required for all systems or is just a
> peculiarity of our setup, but could the RPM be changed to not clobber this
> file in the future. I believe some RPM's install conflicting configs with
> the .rpmnew extension. Cheers.

AFAIK, RPMs look for RPM database for the existing files on the system. I
think your file was not generated by any RPM, so our RPM wanted to
replace it.

I can't see any problems with adding

account  required  pam_stack.so service=system-auth

to our postgresql.pam file. If noone objects, we may release a new
subversion of 8.0.4 with this fix (and elog patch of Tom).

Regards,
--
Devrim GUNDUZ
Kivi Biliþim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                       http://www.gunduz.org

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: BUG #1969: Unable to Install
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #1970: Existing /etc/pam.d/postgresql clobbered by