Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0 - Mailing list pgsql-pkg-debian

From Tomas Pospisek
Subject Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
Date
Msg-id c2d6beff-ab80-ad76-930f-05e4ddd9578c@sourcepole.ch
Whole thread Raw
Responses Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
List pgsql-pkg-debian
Dear packagers,

Due to the change of user under which pgbouncer runs (before: user 
pgbouncer, new: user postgres), an upgrade from 1.16.1 to 1.17.0 will 
break systems.

     # cat /var/log/apt/history.log
     [...]
     Upgrade: pgbouncer:amd64 (1.16.1-1.pgdg20.04+1,
              1.17.0-3.pgdg20.04+1)

     # cat /etc/apt/sources.list.d/apt_postgresql_org_pub_repos_apt.list
     deb http://apt.postgresql.org/pub/repos/apt/ focal-pgdg main

Workaround:

     # chown postgres.postgres /etc/pgbouncer/*
     # # the next line depends on where pgbouncer is set up to save
     # # its logs go - see /etc/pgbouncer/pgbouncer.ini
     # chown -R postgres.postgres /var/log/pgbouncer/
     # # see preceeding comment
     # chown postgres.postgres /var/log/postgres/pgbouncer*
     # chown -R postgres.postgres /var/run/pgbouncer

I've originally reported that [here] and was redirected to this mailing 
list.

Thanks a lot for the packages & greetings,
*t

[here](https://github.com/pgbouncer/pgbouncer/issues/716)



pgsql-pkg-debian by date:

Previous
From: apt.postgresql.org Repository Update
Date:
Subject: plpgsql-check updated to version 2.1.5-1.pgdg+1
Next
From: Christoph Berg
Date:
Subject: Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0