Gentoo Archives: gentoo-dev

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] systemd + postgresql is non-obvious to me
Date: Mon, 01 Sep 2014 16:36:31
Message-Id: 20140901163613.GC28479@gengoff.gsmr1.local
In Reply to: Re: [gentoo-dev] systemd + postgresql is non-obvious to me by "Canek Peláez Valdés"
1 On 2014-09-01 11:09, Canek Peláez Valdés wrote:
2 > On Mon, Sep 1, 2014 at 10:46 AM, Aaron W. Swenson <titanofold@g.o> wrote:
3 > > On 2014-08-22 14:07, Rich Freeman wrote:
4 > >> On Fri, Aug 22, 2014 at 1:23 PM, Aaron W. Swenson <titanofold@g.o> wrote:
5 > >> > On the whole, I'm displeased with the systemd alternative for
6 > >> > controlling PostgreSQL. It's significantly hampered and doesn't allow
7 > >> > as much flexibility as the initscript. The major issue being trying to
8 > >> > nicely shut down the server instead of jumping straight to murder.
9 > >> >
10 > >>
11 > >> It looks like the package installs a service file provided by
12 > >> upstream, so you might want to direct your complaint there unless it
13 > >> really is a systemd limitation.
14 > >
15 > > Delayed response, I've been looking into this as I've been working on
16 > > unifying the ebuilds, but I can't find where upstream is providing the
17 > > systemd unit. The only one I have is the one we've made.
18 >
19 > It is included in:
20 >
21 > http://dev.gentoo.org/~titanofold/postgresql-initscript-2.6.tbz2
22 >
23 > It doesn't says who the author is; but he or she was the one deciding
24 > to wait five minutes (TimeoutSec=300) for the server to stop (and also
25 > to disable the OOM killer: OOMScoreAdjust=-1000).
26
27 Well, I'm the one who committed it to the pgsql-patches repo and
28 Patrick committed it to gentoo-x86, but neither of us wrote it. There was
29 some collaboration on the bug [1].
30
31 You can also read through the comments to see my other complaints. I
32 don't know if they're addressed or not.
33
34 [1] https://bugs.gentoo.org/show_bug.cgi?id=468868
35
36 --
37 Mr. Aaron W. Swenson
38 Gentoo Linux Developer
39 PostgreSQL Herd Bull
40 Email : titanofold@g.o
41 GnuPG FP : 2C00 7719 4F85 FB07 A49C 0E31 5713 AA03 D1BB FDA0
42 GnuPG ID : D1BBFDA0

Attachments

File name MIME type
signature.asc application/pgp-signature