I have a number of friends and family who backup their data on my server using Rsync.
Recently, rsync has stopped logging all but one of the users properly.
I run rsync as a daemon, i think. Well I started rsyncd using /etc/init.d/rsyncd , which should start it as a daemon. Thus, when people connect to my server to rsync their data, my server starts the rsync server for them.
It used to log everyone like this (which is what I want it to do) in /var/log/messages:
Jan 21 23:18:28 pi sshd: Accepted publickey for parents from XX.XX.XX.XX port 3735 ssh2
Jan 21 23:18:28 pi : running: /usr/bin/rsync --server -vlogDtprz . /home/parents/dad/ (username: parents(1017), IP/port: XX.XX.XX.XX3735 22)
this user still gets logged like this, but all my other users only get this logged:
Jan 23 14:25:04 pi sshd: Accepted publickey for christine from XX.XX.XX.XX port 3274 ssh2
In my rsyncd.log file, nothing is getting logged recently, there is no log entry corresponding to that user logging into the system.
However, the users rsyncing is working fine, but nothing is being logged.
here is my rsyncd.conf:
pid file = /var/run/rsyncd.pid
gid = nobody
uid = nobody
write only = true
use chroot = true
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
transfer logging = yes
log file = /var/log/rsync.log
log format = %t %p %o %h %a %m (%u) %f %l %b
I'm just confused that one user still gets logged fine, but everyone else doesn't.
Can anyone give me any suggestions? Does anyone else have similar problems?