SELinux in the way of automated rsync

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

 



Hi,
I am trying to automate a backup with rsync to a second disc using a cronjob. 
I am running fc5. The script works fine when I run it manually, but if I try 
to run it as a cronjob it fails with a lot of rsync errors.
When looking at the system logs, I suspect that SELinux is blocking rsync.  
How do I correct this?

Messages are like this:

Aug  1 09:09:43 localhost kernel: audit(1154416183.900:651): avc:  denied  { 
search } for  pid=19905 comm="rsync" name="/" dev=sda1 ino=2 
scontext=system_u:system_r:rsync_t:s0 tcontext=system_u:object_r:default_t:s0 
tclass=dir

Could anyone show me to some easy to understand explanation of SELinux? So far 
I only find quite complex ones.

Thanks.

Regards,
Jeroen

Attachment: pgpm3KpCFuBP9.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux