Package: rsnapshot
Version: 1.3.1-3
Severity: minor
Tags: patch


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.9-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsnapshot depends on:
ii  liblchown-perl  1.01-1+b2
ii  logrotate       3.8.5-1
ii  perl            5.14.2-21
ii  rsync           3.0.9-4

Versions of packages rsnapshot recommends:
ii  openssh-client [ssh-client]  1:6.2p2-6

rsnapshot suggests no packages.

-- Configuration Files:
/etc/cron.d/rsnapshot changed [not included]
/etc/rsnapshot.conf changed [not included]

-- no debconf information

Trying to use /usr/share/doc/rsnapshot/examples/utils/backup_pgsql.sh when the 
rsnapshot tmpdir is not readable by the postgres user results in the error in 
subject.
Patch attached adds -l switch to the su command, stopping this error message.
26c26
< su -c 'pg_dumpall > ~/pg_dumpall.sql' postgres
---
> su -l -c 'pg_dumpall > ~/pg_dumpall.sql' postgres

Reply via email to