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 1nonQ7-0003CO-RN for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 11 May 2022 14:34:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nonQ6-0005yH-Ns for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 11 May 2022 14:34:30 +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 1nonQ6-0005xX-I3 for pgsql-pkg-debian@lists.postgresql.org; Wed, 11 May 2022 14:34:30 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nonQ4-0002zd-6g for pgsql-pkg-debian@lists.postgresql.org; Wed, 11 May 2022 14:34:29 +0000 Received: from msg.df7cb.de (unknown [IPv6:2003:5b:203b:100:7627:eaff:fe52:8e03]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4Kyy8y0bYJz3F5k; Wed, 11 May 2022 16:34:26 +0200 (CEST) Date: Wed, 11 May 2022 16:34:25 +0200 From: Christoph Berg To: Tomas Pospisek Cc: pgsql-pkg-debian@lists.postgresql.org Subject: Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Tomas Pospisek > 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. Hi Tomas, the Debian pgbouncer package has always been using the postgres user: $ grep USER debian/init RUNASUSER="postgres" $SSD --start --chuid $RUNASUSER --oknodo -- $OPTS 2> /dev/null su -c "$DAEMON -R $OPTS 2> /dev/null" - ${RUNASUSER%:*} Maybe you were editing the init.d or defaults file before? > Upgrade: pgbouncer:amd64 (1.16.1-1.pgdg20.04+1, > 1.17.0-3.pgdg20.04+1) The effective change between these versions is that we are now shipping a .service file. Christoph