Re: [CentOS] SElinux suggestions needed: migrating backup service

2016-10-26 Thread Gordon Messmer
On 10/24/2016 04:43 PM, Leon Fauster wrote: Using rsync -aHA (without X) circumvent the output but its still unclear what exactly triggers the above output. The '-X' flag attempts to make attributes match on the source and destination files. Since the source files have no SELinux attribute,

Re: [CentOS] SElinux suggestions needed: migrating backup service

2016-10-24 Thread Leon Fauster
Am 24.10.2016 um 23:44 schrieb Gordon Messmer : > On 10/24/2016 09:53 AM, Leon Fauster wrote: >> Any suggestions to avoid the default labeling >> "unconfined_u:object_r:locale_t:s0"? > > > Not off the top of my head. I think you need to either a) not try to > preserve the labels or b) run the

Re: [CentOS] SElinux suggestions needed: migrating backup service

2016-10-24 Thread Gordon Messmer
On 10/24/2016 09:53 AM, Leon Fauster wrote: Any suggestions to avoid the default labeling "unconfined_u:object_r:locale_t:s0"? Not off the top of my head. I think you need to either a) not try to preserve the labels or b) run the backup as a user which can manage labels. What is the rsync

[CentOS] SElinux suggestions needed: migrating backup service

2016-10-24 Thread Leon Fauster
Hi folks, normally I have not so much to do with SElinux but I expected to get in touch sooner or later :-) I migrated a backup-system from El5 to EL6 and the rsync backup process is complaining about selinux attr's now. client <-> server (fetches via rsync -aHAX) client# sestatus SELinux s