# set severity to serious as package fails to install Control: severity -1 serious Control: tags -1 + patch
Hi [I'm not the maintainer just saw this bugreport] The postinst seems checking for postgres user instead of barman, and was introduced in [1]. [1]: http://anonscm.debian.org/gitweb/?p=collab-maint/barman.git;a=commitdiff;h=d30b70de03753efec75af15d377b404a48da535f Regards, Salvatore
From 953ba67411bfa9c38a9b20c8b2f715ecff43e5dd Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <car...@debian.org> Date: Sun, 7 Oct 2012 23:01:26 +0200 Subject: [PATCH] Check for correct user in postinst Check for existence of barman system user instead of postgres user. Closes: #689924 --- debian/barman.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/barman.postinst b/debian/barman.postinst index 6d29dbd..646f0e7 100644 --- a/debian/barman.postinst +++ b/debian/barman.postinst @@ -5,7 +5,7 @@ set -e case "$1" in configure) - if ! getent passwd postgres > /dev/null + if ! getent passwd barman > /dev/null then adduser --system --quiet --home /var/lib/barman --no-create-home \ --gecos "Backup and Recovery Manager for PostgreSQL" \ -- 1.7.10.4
signature.asc
Description: Digital signature