Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0

From: Tomas Pospisek <tpo2(at)sourcepole(dot)ch>
To: pgsql-pkg-debian(at)lists(dot)postgresql(dot)org
Subject: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
Date: 2022-05-11 14:07:36
Message-ID: c2d6beff-ab80-ad76-930f-05e4ddd9578c@sourcepole.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2022-05-11 14:34:25 Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
Previous Message apt.postgresql.org Repository Update 2022-05-11 10:45:29 plpgsql-check updated to version 2.1.5-1.pgdg+1