Re: BUG #2327: Startup script for FC4 with selinux - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2327: Startup script for FC4 with selinux
Date
Msg-id 28510.1142605550@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #2327: Startup script for FC4 with selinux  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #2327: Startup script for FC4 with selinux
Re: BUG #2327: Startup script for FC4 with selinux
List pgsql-bugs
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane wrote:
>> We could push the RPM initscript into the contrib item, but I fear
>> we'd forget again to keep it up to date.

> I doubt that the RPM init script is going to be portable to all Linux
> systems.  I think it's useful to have a generic script there for people
> doing source installations.

Well, the other side of that coin is that an unmaintained script isn't
going to be portable to all Linux systems either, as per the OP's point
that what's there now simply does not work on a SELinux-enabled machine.
At least the RPM script gets tested regularly.

I will grant you that the contrib script ought to default to assuming
installation paths under /usr/local instead of where the RPMs put
things, but beyond that I'm not sure what's unportable in the current
RPM init scripts.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Michael Wolff"
Date:
Subject: BUG #2330: ECPGlib: Wrong error code in case of a duplicate key violation
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #2327: Startup script for FC4 with selinux