Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-24 Thread Mogens Kjaer
Peter Kjellstrom wrote: ... We have a custom selinux module which looks like this (header + rsync part): Thank you for the module, but I couldn't get anything to work. I've disabled selinux instead... Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-22 Thread Peter Kjellstrom
On Saturday 21 July 2007, Mogens Kjaer wrote: > Mogens Kjaer wrote: > ... > > > # 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 >

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-21 Thread Mogens Kjaer
Mogens Kjaer wrote: ... # 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 If I reboot with selinux=disabled logging works to the /var/log/rsync

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-20 Thread Mogens Kjaer
Peter Kjellstrom wrote: ... 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--

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-20 Thread Peter Kjellstrom
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

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-20 Thread Mogens Kjaer
Peter Kjellstrom wrote: > On Thursday 19 July 2007, Mogens Kjaer wrote: >> I run a CentOS/Fedora mirror with rsync access. > > I do that too :-) > >> I have the following rsyncd.conf file: >> >> >> read only = true >> transfer logging = true >> pid file = /var/run/rsyncd.pid >> log file = /var/lo

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-19 Thread Mogens Kjaer
Peter Kjellstrom wrote: On Thursday 19 July 2007, Mogens Kjaer wrote: I run a CentOS/Fedora mirror with rsync access. I do that too :-) I have the following rsyncd.conf file: read only = true transfer logging = true pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log dont compres

Re: [CentOS] CentOS 5: rsyncd log problem

2007-07-19 Thread Peter Kjellstrom
On Thursday 19 July 2007, Mogens Kjaer wrote: > I run a CentOS/Fedora mirror with rsync access. I do that too :-) > I have the following rsyncd.conf file: > > > read only = true > transfer logging = true > pid file = /var/run/rsyncd.pid > log file = /var/log/rsyncd.log > dont compress = * Mine l

[CentOS] CentOS 5: rsyncd log problem

2007-07-19 Thread Mogens Kjaer
I run a CentOS/Fedora mirror with rsync access. I have the following rsyncd.conf file: read only = true transfer logging = true pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log dont compress = * [Fedora] path = /var/ftp/pub/mirrors/fedora comment = Fedora mirror [C