LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsyncd: stopped logging properly (https://www.linuxquestions.org/questions/linux-software-2/rsyncd-stopped-logging-properly-281233/)

hamish 01-23-2005 11:08 AM

rsyncd: stopped logging properly
 
Hello
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:

Code:

Jan 21 23:18:28 pi sshd[8932]: Accepted publickey for parents from XX.XX.XX.XX port 3735 ssh2
Jan 21 23:18:28 pi [8935]: 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:
Code:

Jan 23 14:25:04 pi sshd[4892]: 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:
Code:

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?

thanks
hamish


All times are GMT -5. The time now is 05:13 PM.