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

From Christoph Berg
Subject Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
Date
Msg-id YnvJcRmgVTTQCtFZ@msg.df7cb.de
Whole thread Raw
In response to Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0  (Tomas Pospisek <tpo2@sourcepole.ch>)
Responses Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
List pgsql-pkg-debian
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



pgsql-pkg-debian by date:

Previous
From: Tomas Pospisek
Date:
Subject: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0
Next
From: Tomas Pospisek
Date:
Subject: Re: Breakage: pgbouncer has changed the user under which it runs between 1.16.1 and 1.17.0