Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Bug#515769: rsync breaks upgrade from etch to lenny
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joao Eriberto Mota Filho  
View profile  
 More options Feb 17, 10:20 am
Newsgroups: linux.debian.bugs.dist
From: Joao Eriberto Mota Filho <eribe...@eriberto.pro.br>
Date: Tue, 17 Feb 2009 16:20:14 +0100
Local: Tues, Feb 17 2009 10:20 am
Subject: Bug#515769: rsync breaks upgrade from etch to lenny
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Slootman  
View profile  
 More options Feb 17, 10:30 am
Newsgroups: linux.debian.bugs.dist
From: Paul Slootman <p...@wurtel.net>
Date: Tue, 17 Feb 2009 16:30:12 +0100
Local: Tues, Feb 17 2009 10:30 am
Subject: Bug#515769: rsync breaks upgrade from etch to lenny
On Tue 17 Feb 2009, Joao Eriberto Mota Filho wrote:

> 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!

This will only happen if "RSYNC_ENABLE=true" is in the
/etc/default/rsync file. That is not how the defaults file is
distributed, so I suspect that you may have edited that file at some
point. If you enable rsync as a daemon, then you must also create the
config file /etc/rsyncd.conf.

Paul Slootman

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eriberto  
View profile  
 More options Feb 17, 11:00 am
Newsgroups: linux.debian.bugs.dist
From: Eriberto <eribe...@eriberto.pro.br>
Date: Tue, 17 Feb 2009 17:00:14 +0100
Local: Tues, Feb 17 2009 11:00 am
Subject: Bug#515769: rsync breaks upgrade from etch to lenny
Hi!

I understand it. But I think the upgrade can be made more
transparently for users. My rsync daemon used to work fine in Etch
without a config file. But I don't know if my solution was good. What
you think about this?

Thanks for your quick reply.

Regards,

Eriberto - Brazil

2009/2/17 Paul Slootman <p...@wurtel.net>:

> This will only happen if "RSYNC_ENABLE=true" is in the
> /etc/default/rsync file. That is not how the defaults file is
> distributed, so I suspect that you may have edited that file at some
> point. If you enable rsync as a daemon, then you must also create the
> config file /etc/rsyncd.conf.

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

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google