[CentOS] CentOS 5: rsyncd log problem

Peter Kjellstrom cap at nsc.liu.se
Fri Jul 20 10:23:34 UTC 2007


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 at host ~]# ls -lZ /etc/rsyncd.conf
-rw-r--r--  root root root:object_r:etc_t              /etc/rsyncd.conf
[root at host ~]# ls -lZ /var/log/rsyncd.log
-rw-r--r--  root root user_u:object_r:var_log_t        /var/log/rsyncd.log
[root at 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 at 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 at host ~]# rpm -qf $(type -p rsync)
rsync-2.6.8-3.1

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.centos.org/pipermail/centos/attachments/20070720/5311a95d/attachment.bin


More information about the CentOS mailing list