From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46E02138359 for ; Mon, 6 Jul 2020 07:19:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5532EE089C; Mon, 6 Jul 2020 07:19:42 +0000 (UTC) Received: from dimetra.net (unknown [67.14.192.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09015E0829 for ; Mon, 6 Jul 2020 07:19:41 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by dimetra.net (Postfix) with ESMTP id D73426740869 for ; Mon, 6 Jul 2020 07:19:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at dimetra.net Received: from dimetra.net ([127.0.0.1]) by localhost (dimetra.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v-hzM5bpVrFx for ; Mon, 6 Jul 2020 02:19:40 -0500 (CDT) Received: from www.dimetra.net (localhost [127.0.0.1]) by dimetra.net (Postfix) with ESMTPA id F204D674017F for ; Mon, 6 Jul 2020 02:19:39 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dimetra.net; s=201808a; t=1594019979; bh=Sj0/IrBiSj73mF9IB2yf7vvocFDB8DdCVvB3vcCryS4=; h=Date:From:To:Subject:In-Reply-To:References; b=RmrZdnkV2WdYYJa7kgC2UYEjIp+/2Z4HI1pjVjapO1ehwPWvIFx8Gv+JLJKb/Tk3R HUa827q6JicJx+e22XOvvsCjlrpWVjj+UHYj2VIwq/6CpjOT9JOki/wedlRHxyHfc2 ruHMAZwmcShKBzVN6gC374vLKV0/YxmSRjn0HcP5YoQfhfxSAgkUKKrB70Z/QzuBL8 zOroI+aTFd+hKeA9rSO7P+gvugta3BGAzjJ0A/Q3RojH+digczDGSZ7yjYUge6louF QwCzkZqXChdnGDxZ5eMxvV3ZQ+h2anEQLHnzSQ8isfm0NNxEOsZIx2xgeTqWMwB3+M mvPYqkj5ZGqsQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Date: Mon, 06 Jul 2020 02:19:39 -0500 From: Steve Freeman To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [SOLVED] Upgrade to rsync-3.2.0-r1 results in "didn't get server startup line" In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: trekie@dimetra.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 3b18e4cb-8ec1-4573-bc3c-326df346613d X-Archives-Hash: 1bc4fa20df10d09674238e58048355e9 On 2020-06-30 20:35, Steve Freeman wrote: > I have a local gentoo repo mirror that has been running well for > years. It is essentially the same setup as described at > https://wiki.gentoo.org/wiki/Local_Mirror except that it runs on a > non-default port. > > After upgrading to net-misc/rsync-3.2.0-r1 (from rsync-3.1.3), I can > no longer emerge --sync from my clients. I receive messages such as: > > # emerge --sync > >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... > >>> Starting rsync with rsync://10.10.10.10:5873/gentoo-portage... > >>> Checking server timestamp ... > opening tcp connection to 10.10.10.10 port 5873 > Connected to 10.10.10.10 > msg checking charset: UTF-8 > sending daemon args: --server --sender -vvvvlWtprze.iLsfxCIv > --timeout=180 --safe-links --inplace . > gentoo-portage/metadata/timestamp.chk (8 args) > > rsync: didn't get server startup line > [Receiver] _exit_cleanup(code=5, file=main.c, line=1777): entered > rsync error: error starting client-server protocol (code 5) at > main.c(1777) [Receiver=3.2.0] > [Receiver] _exit_cleanup(code=5, file=main.c, line=1777): about to > call exit(5) [SNIPPED] According to this page: https://www.lagerhaus128.ch/?p=1281 there appears to be a bug in rsync 3.2.0 and 3.2.1 involving transfer logging. He provides two workarounds in /etc/rsyncd.conf. Both worked for me. 1) Disable transfer logging (commenting out "transfer logging = yes" fixed my issue). 2) Set a log format, for example "log format = %t %a %m %f %b". This is the option I chose. I wanted to pass this on in case someone else runs into the problem. Cheers. -Steve Freeman