Red Hat Policies Regarding PostgreSQL

Started by Michael Conveyover 10 years ago4 messagesgeneral
Jump to latest
#1Michael Convey
smconvey@gmail.com

From ​http://www.postgresql.org/download/linux/redhat/ comes the following
quote:

----------------------------------------------------------------------------------------------------------------------
Due to policies for Red Hat family distributions, the PostgreSQL
installation will not be enabled for automatic start or have the database
initialized automatically. To make your database installation complete, you
need to perform these two steps:

service postgresql initdb
chkconfig postgresql on

or, on Fedora 19 and other later derived distributions:

postgresql-setup initdb
systemctl enable postgresql.service
----------------------------------------------------------------------------------------------------------------------

To which policies are they referring? Licensing, security, or other?​

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Michael Convey (#1)
Re: Red Hat Policies Regarding PostgreSQL

Michael Convey <smconvey@gmail.com> writes:

Due to policies for Red Hat family distributions, the PostgreSQL
installation will not be enabled for automatic start or have the database
initialized automatically.

To which policies are they referring? Licensing, security, or other?​

Packaging policy: daemons shall not run merely by virtue of having been
installed. Otherwise, if you install a boatload of software without
checking each package, you'd have a boatload of probably-unwanted and
possibly-incorrectly-configured daemons running. Which is a performance
problem and likely a security hazard too.

It's a good policy IMO (though I used to work there so no doubt I've just
drunk too much Red Hat koolaid).

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Mark Morgan Lloyd
markMLl.pgsql-general@telemetry.co.uk
In reply to: Tom Lane (#2)
Re: Red Hat Policies Regarding PostgreSQL

Tom Lane wrote:

Michael Convey <smconvey@gmail.com> writes:

Due to policies for Red Hat family distributions, the PostgreSQL
installation will not be enabled for automatic start or have the database
initialized automatically.

To which policies are they referring? Licensing, security, or other?​

Packaging policy: daemons shall not run merely by virtue of having been
installed. Otherwise, if you install a boatload of software without
checking each package, you'd have a boatload of probably-unwanted and
possibly-incorrectly-configured daemons running. Which is a performance
problem and likely a security hazard too.

It's a good policy IMO (though I used to work there so no doubt I've just
drunk too much Red Hat koolaid).

Seems reasonable. In fact somewhat better than current KDE as in e.g.
Debian "Jessie", which embeds a copy of MySQL whether the the user wants
to use it or not.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#4Scott Mead
scottm@openscg.com
In reply to: Mark Morgan Lloyd (#3)
Re: Red Hat Policies Regarding PostgreSQL

On Wed, Oct 28, 2015 at 7:10 AM, Mark Morgan Lloyd <
markMLl.pgsql-general@telemetry.co.uk> wrote:

Tom Lane wrote:

Michael Convey <smconvey@gmail.com> writes:

Due to policies for Red Hat family distributions, the PostgreSQL
installation will not be enabled for automatic start or have the database
initialized automatically.

To which policies are they referring? Licensing, security, or other?​

Packaging policy: daemons shall not run merely by virtue of having been
installed. Otherwise, if you install a boatload of software without
checking each package, you'd have a boatload of probably-unwanted and
possibly-incorrectly-configured daemons running. Which is a performance
problem and likely a security hazard too.

It's a good policy IMO (though I used to work there so no doubt I've just
drunk too much Red Hat koolaid).

Seems reasonable. In fact somewhat better than current KDE as in e.g.
Debian "Jessie", which embeds a copy of MySQL whether the the user wants to
use it or not.

Ubuntu 15 Desktop enables mysqld by default. In fact, it doesn't seem to
hook up with systemd in any obvious way to disable autostart.

--Scott

Show quoted text

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general