Re: systemd service files vs. postgresql9x-setup

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Bernd Helmle <mailings(at)oopsware(dot)de>, Jeff Frost <jeff(at)pgexperts(dot)com>
Cc: pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: systemd service files vs. postgresql9x-setup
Date: 2015-09-18 13:48:09
Message-ID: 1442584089.30698.43.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi Bernd,

First of all: Thanks for the patch!

The next set of new minor releases are due in a few weeks. I think we
can apply this patch then.

(We need a issue tracker!)

Regards, Devrim
On Thu, 2015-09-17 at 14:49 +0200, Bernd Helmle wrote:
>
> --On 12. August 2015 16:54:41 -0700 Jeff Frost <jeff(at)pgexperts(dot)com>
> wrote:
>
> > > Opinions?
> > >
> > > [1] <
> > > http://www.freedesktop.org/software/systemd/man/systemd.unit.html
> > > >
> >
> > Unfortunately, I’m not that familiar with systemd yet and Devrim is
> > out
> > for a few weeks, so we might not get to this very quickly.
>
> So i'd like to step in again into this patch.
>
> We're working with a RHEL7 environment where those drop-in
> configurations
> are heavily used to move PGDATA to different places and i'd like to
> preserve that behavior.
>
> Recap:
>
> postgresql9[45]-setup happily overwrites any PGDATA setting derived
> from
> drop-in configurations by examining the service file directly and
> ignoring
> the previous retrieved setting from systemctl.
>
> So this looks worth to fix for any setups, even when other ways to
> setup
> PGDATA are used.
>
> --
> Thanks
>
> Bernd
>
>

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2015-09-18 13:50:04 Re: Rsync of full yum mirror
Previous Message Andrew N Golovkov 2015-09-18 12:40:51 Re: init script for pgpool