From: | Greg Clough <greg(at)gclough(dot)com> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | pgsql-pkg-yum(at)lists(dot)postgresql(dot)org |
Subject: | Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories |
Date: | 2021-01-21 22:30:57 |
Message-ID: | CADjwvTPU8Aiq=StxZncv6QwX74wmCCVHq8XkW6TpegCw3-ZfVg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
Hi Devrim,
When repmgr tried to start, it failed because those directories don't
exist. I cleaned it up with a fresh OS install and tried the 2ndQuadrant
repo packages... and these made the directories during the "yum install".
I didn't think repmgr was SUID root (but I didn't check), so it can't mkdir
in /run during startup, right?
Maybe I've screwed something up here, so I'll do some more basic testing,
and send you the output.
Thanks,
Greg.
On Thu, 21 Jan 2021 at 21:43, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> Hi Greg,
>
> On Mon, 2021-01-18 at 17:27 +0000, Greg Clough wrote:
> > [root(at)localhost ~]# ls -ald /run/repmgr /var/run/repmgr
> > ls: cannot access /run/repmgr: No such file or directory
> > ls: cannot access /var/run/repmgr: No such file or directory
>
> systemd will create these directories. See:
>
> /usr/lib/tmpfiles.d/repmgr_13.conf
>
> What error are you getting?
>
> Cheers,
> --
> Devrim Gündüz
> Open Source Solution Architect, Red Hat Certified Engineer
> Twitter: @DevrimGunduz , @DevrimGunduzTR
>
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2021-01-22 00:52:46 | Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories |
Previous Message | Devrim Gündüz | 2021-01-21 21:42:50 | Re: PGDG packaged RepMgr v5.2.1 does not create necessary directories |