You are not logged in.
I am running rsyncd.service on my nas via the included rsyncd.service successfully. I'd like to use rsyncd.socket instead of the service but found that simply starting the socket does not allow connections.
Attempted connection while rsyncd.socket is active:
% rsync nas::share
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(764) [Receiver=3.0.9]I found this slightly older thread that states that one needs to copy /usr/lib/systemd/system/rsyncd@.service to /etc/systemd/system and edit the 'User=' and 'Group=' vars to match the desired ones for socket activation to properly work. I did this changing the two vars to the user/group I defined in /etc/rsyncd.conf but again, am unable to connect. Is this a problem with the package or with my configuration?
Attempted connection with the modified file while rsyncd.socket is active:
% rsync nas::share
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(764) [Receiver=3.0.9]Thanks!
/etc/rsyncd.conf
uid = graysky
gid = users
use chroot = yes
max connections = 4
syslog facility = local5
pid file = /run/rsyncd.pid
[share]
secrets file = /etc/rsyncd.scrt
path = /mnt/data
comment = nas share
read only = no
auth users = graysky
hosts allow = 10.1.10.5
hosts deny = *Offline