Preliminary info - not sure if all steps are necessary.
symptoms: client cannot connect with @ERROR: chroot failed
rsyncd.log on server:
rsync: chdir /data/rsync_direcory failed: Permission denied (13)
first try (no visible effect):
setsebool -P allow_rsync_anon_write on
next (agaiin, no effect):
semanage fcontext -a -t public_content_t /data/rsync_directory
does not make sense, as we are on server:
setsebool -P rsync_client on
finally - after this it works:
cat /var/log/audit/audit.log | audit2allow -M rsync
semodule -i rsync-.pp
Žádné komentáře:
Okomentovat