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