Package: rsync
Version: 3.0.3-2
Severity: important
When upgrading from Etch to Lenny, the rsync package returns this error:
Setting up rsync (3.0.3-2) ...
Restarting rsync daemon: rsyncrsync daemon not running, attempting to start. (warning).
missing or empty config file /etc/rsyncd.conf failed!
failed!
invoke-rc.d: initscript rsync, action "restart" failed.
dpkg: error processing rsync (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
rsync
E: Sub-process /usr/bin/dpkg returned an error code (1)
I suggest this modification in postinst script:
--- rsync.postinst.bak 2008-07-25 07:07:03.000000000 -0300
+++ rsync.postinst 2009-02-17 12:04:13.000000000 -0300
@@ -9,7 +9,7 @@
fi
-if [ -x /etc/init.d/rsync ]; then
+if [ -x /etc/init.d/rsync -a -f /etc/rsyncd.conf ]; then
update-rc.d rsync defaults >/dev/null
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d rsync restart
Regards,
Eriberto - Brazil
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rsync depends on:
ii base-files 5 Debian base system miscellaneous f
ii libacl1 2.2.47-2 Access control list shared library
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
rsync recommends no packages.
Versions of packages rsync suggests:
ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh
ii openssh-server 1:5.1p1-5 secure shell server, an rshd repla
-- 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