Re: CentOS 5: rsyncd log problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Peter Kjellstrom wrote:
...
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

I have:

# cat /etc/rsyncd.conf

read only = yes
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
transfer logging = yes
dont compress = *

[Fedora]
        path = /var/ftp/pub/mirrors/fedora
        comment = Fedora mirror


        path = /var/ftp/pub/mirrors/centos
        comment = CentOS mirror
# ls -lZ /etc/rsyncd.conf
-rw-r--r--  root root root:object_r:etc_t              /etc/rsyncd.conf
# ls -lZ /var/log/rsyncd.log
-rw-r--r--  root root root:object_r:var_log_t          /var/log/rsyncd.log
# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 21
Policy from config file:        targeted
# uname -a
Linux ftp.crc.dk 2.6.18-8.1.8.el5 #1 SMP Tue Jul 10 06:50:22 EDT 2007 i686 i686 i386 GNU/Linux
# rpm -qf /usr/bin/rsync
rsync-2.6.9-1.el5.rf

This is what gets logged in /var/log/messages when a transfer
is started:

Jul 21 08:48:40 ftp xinetd[2390]: START: rsync pid=5165 from=130.226.183.220
Jul 21 08:48:40 ftp rsyncd[5165]: connect from server1.crc.dk (130.226.183.220) Jul 21 08:48:40 ftp rsyncd[5165]: rsync on Fedora/linux/core/5/i386/os from server1.crc.dk (130.226.183.220)
Jul 21 06:48:40 ftp rsyncd[5165]: building file list
Jul 21 06:48:41 ftp rsyncd[5165]: send server1.crc.dk [130.226.183.220] Fedora () linux/core/5/i386/os/Fedora/RPMS/kdeedu-3.5.1-1.2.i386.rpm 30534317

No SELinux errors.

Why is your rsync 2.6.8?

Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux