[Bug 1888685] Re: rsync fails after installing level 3.2.1
Cliff Carson
1888685 at bugs.launchpad.net
Wed Jul 29 10:42:53 UTC 2020
Stumped to what to do next. Have two test cases, one works, one fails
with chroot error. Here is the rsyncd.conf that workds;
cat << EOF > /etc/rsyncd.conf
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[test_dir]
path = /mnt/testrsync
comment = Test Directory
uid = cliff
gid = cliff
read only = no
list = yes
hosts allow = 192.168.1.0/24
auth users = cliff
secrets file = /etc/rsyncd.scrt
strict modes = false
EOF
cat << EOF > /etc/rsyncd.scrt
cliff:ubuntu
EOF
The one that fails;
cat << EOF > /etc/rsyncd.conf
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[Bin_dir]
path = /home/cliff/Bin
comment = Common Bin Directory
uid = cliff
gid = cliff
read only = no
list = yes
hosts allow = 192.168.1.0/24
auth users = cliff
secrets file = /etc/rsyncd.scrt
strict modes = false
EOF
cat << EOF > /etc/rsyncd.scrt
cliff:ubuntu
EOF
Tried to change the failure.
Change the path = %HOME%/Bin - no change
Added use chroot = false - the failure change to "chdir failed"
Suggestion on what to try next?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1888685
Title:
rsync fails after installing level 3.2.1
Status in rsync package in Ubuntu:
Incomplete
Bug description:
After installation of rsync.3.2.1 my attempt to sync fails with chroot
error. The rsyncd.log indicates that rsync can't find the directories
I want to sync.
2020/07/18 10:01:20 [3689] rsyncd version 3.2.1 starting, listening on port 873
2020/07/18 11:00:01 [5786] name lookup failed for 192.168.1.159: Name or service not known
2020/07/18 11:00:01 [5786] connect from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5786] rsync allowed access on module Bin_dir from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5786] rsync: [Receiver] chroot /home/cliff/Bin failed: No such file or directory (2)
2020/07/18 11:00:01 [5794] name lookup failed for 192.168.1.159: Name or service not known
2020/07/18 11:00:01 [5794] connect from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5794] rsync allowed access on module Bin_dir from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5794] rsync: [Receiver] chroot /home/cliff/Bin failed: No such file or directory (2)
2020/07/18 11:00:01 [5795] name lookup failed for 192.168.1.159: Name or service not known
2020/07/18 11:00:01 [5795] connect from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5795] rsync allowed access on module Drawings_dir from UNKNOWN (192.168.1.159)
2020/07/18 11:00:01 [5795] rsync: [Receiver] chroot /home/cliff/Drawings failed: No such file or directory (2)
Dropping back to Ubuntu 20.04 and rsync works again. The rsync update
was install 7/18.
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: rsync 3.2.1-1ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu42
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Jul 23 10:28:17 2020
InstallationDate: Installed on 2020-07-06 (16 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200609)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: rsync
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.rsync: 2020-07-06T11:31:56.141217
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1888685/+subscriptions
More information about the foundations-bugs
mailing list