Package: pgbouncer
Version: 1.5.4-4
Severity: normal

Dear Maintainer,

after changing the listening port in /etc/pgbouncer/pgbouncer.ini, restarting
the daemon returns no error (even error code is 0), but the daemon isn't
restarted at all. If I stop the daemon and then start it again, it actually
changes the port it's listening on:

Steps to reproduce the error:
 1.- # apt-get install pgbouncer
 2.- Edit /etc/default/pgbouncer, and set START to 1.
 3.- # /etc/init.d/pgbouncer start
 4.- # netstat -lntp
     Active Internet connections (only servers)
     Proto Recv-Q Send-Q Local Address
     ....
     tcp        0      0 127.0.0.1:6432          0.0.0.0:*               LISTEN 
     3019/pgbouncer
     ....
 5.- Edit /etc/pgbouncer/pgbouncer.ini, change listen_port from 6432 to 5432
     and save the file.
 6.- # /etc/init.d/pgbouncer restart
     [....] Invoking PgBouncer restart: pgbouncersleep 0.1
     sleep 0.2
     sleep 0.2
     sleep 0.5
     sleep 1.0
     sleep 1.0
     sleep 2.0
     . ok
 7.- # echo $?
     0
 8.- # netstat -lntp
     Active Internet connections (only servers)
     Proto Recv-Q Send-Q Local Address           Foreign Address         State  
     PID/Program name
     ....
     tcp        0      0 127.0.0.1:6432          0.0.0.0:*               LISTEN 
     3019/pgbouncer
     ....

NOTE: this bug also affects version 1.5.2-4 present in wheezy.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-3-amd64 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pgbouncer depends on:
ii  libc6              2.17-93
ii  libevent-2.0-5     2.0.21-stable-1
ii  lsb-base           4.1+Debian12
ii  postgresql-common  150

pgbouncer recommends no packages.

pgbouncer suggests no packages.

-- Configuration Files:
/etc/default/pgbouncer changed:
START=1

/etc/pgbouncer/pgbouncer.ini [Errno 13] Permiso denegado: 
u'/etc/pgbouncer/pgbouncer.ini'
/etc/pgbouncer/userlist.txt [Errno 13] Permiso denegado: 
u'/etc/pgbouncer/userlist.txt'

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to