Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1non1R-00022c-MZ for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 11 May 2022 14:09:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1non0Q-000698-Oa for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 11 May 2022 14:07:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1non0Q-00068o-IV for pgsql-pkg-debian@lists.postgresql.org; Wed, 11 May 2022 14:07:58 +0000 Received: from brisi.sourcepole.ch ([5.9.57.43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1non0C-0002m8-96 for pgsql-pkg-debian@lists.postgresql.org; Wed, 11 May 2022 14:07:57 +0000 Received: from [213.55.224.229] (helo=[192.168.43.81]) by vilan-mail with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1non09-0008Rq-Mb for pgsql-pkg-debian@lists.postgresql.org; Wed, 11 May 2022 16:07:41 +0200 Message-ID: Date: Wed, 11 May 2022 16:07:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Content-Language: en-GB To: pgsql-pkg-debian@lists.postgresql.org From: Tomas Pospisek Subject: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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)