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:

[EMAIL PROTECTED] ~]# ls -lZ /etc/rsyncd.conf
-rw-r--r--  root root root:object_r:etc_t              /etc/rsyncd.conf
[EMAIL PROTECTED] ~]# ls -lZ /var/log/rsyncd.log
-rw-r--r--  root root user_u:object_r:var_log_t        /var/log/rsyncd.log
[EMAIL PROTECTED] ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 21
Policy from config file:        targeted
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# rpm -qf $(type -p rsync)
rsync-2.6.8-3.1

/Peter

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to