[Pkg-postgresql-public] Bug#710275: postgresql-9.1: Needs restart on libc upgrade

Alexander Sosna alexander.sosna at credativ.de
Mon Jun 16 15:07:57 UTC 2014

I can reproduce the bug by installing wheezy, starting postgres and
upgrading libc6(2.13 to 2.19). After that peer authentication does not
longer work.

logfile says: "local user with ID 110 does not exist"

It looks like getpwuid() is broken after the libc6 upgrade.
In postgresql/src/backend/libpq/auth.c:1793 the function getpwuid(uid)
returns NULL and triggers the error message.

A really simple solution should be to add the following line to

check="$check postgresql-8.4 postgresql-9.1 postgresql-9.2 postgresql-9.3"

This leads to a restart of postgres after an libc6 upgrade and fixes the
It should not be necessary for smaller changes and bug fixes. So it
would be ok to trigger a restart only by performing major upgrades.

Should restarting postgres be the default after any libc6 upgrade or is
there a better way? (I do not mind to restart it)

More information about the Pkg-postgresql-public mailing list