On Friday 20 July 2007, Mogens Kjaer wrote:
Peter Kjellstrom wrote:
Mine logs ok and looks like this:
motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log transfer logging = yes
This is on centos-5.0.i386
If rsync is started manually like
rsync --daemon
it works, if it is started from xinetd, it doesn't work. Strange.
Mogens
Mine runs from xinetd and I have selinux enabled. Here are some more bits of information:
[root@host ~]# ls -lZ /etc/rsyncd.conf -rw-r--r-- root root root:object_r:etc_t /etc/rsyncd.conf [root@host ~]# ls -lZ /var/log/rsyncd.log -rw-r--r-- root root user_u:object_r:var_log_t /var/log/rsyncd.log [root@host ~]# sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 21 Policy from config file: targeted [root@host ~]# uname -a Linux host 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686 i686 i386 GNU/Linux [root@host ~]# rpm -qf $(type -p rsync) rsync-2.6.8-3.1
/Peter