[Dirvish] Dirvish, rsync and SELinux
J.P. Hendrix
jph4dotcom at xs4all.nl
Fri Apr 18 06:06:33 UTC 2014
Since a couple of days I am facing a problem with a single Dirvish
client that creates huge backup sets every single day. 18GB vs 40MB.
When I take a look at the client, I notice it has several files with
SE-attributes. My dirvish-server does not use SELinux at all.
# sestatus
SELinux status: disabled
# ls -Zl | head | column -t
total 61168
dr-xr-x---. 9 system_u:object_r:admin_home_t:s0 root root
4096 nov 1 12:09 .
dr-xr-xr-x. 24 system_u:object_r:mnt_t:s0 root root
4096 feb 10 09:56 ..
-rw-------. 1 system_u:object_r:admin_home_t:s0 root root
8169 sep 10 2012 anaconda-ks.cfg
drwxr-xr-x. 2 unconfined_u:object_r:admin_home_t:s0 root root
4096 feb 10 09:55 .autoinstaller
-rw------- 1 ? root root
6527 sep 28 2012 bak.authorized_keys
-rw-------. 1 unconfined_u:object_r:admin_home_t:s0 root root
18680 apr 10 07:15 .bash_history
I suspect that rsync dropping the SE-attributes is the cause of the
daily near-full backup sets.
How can I solve this situation? Can I make rsync not check the
SE-attributes for deciding to copy files?
More information about the Dirvish
mailing list