Setting up rsyncd server (with selinux)

By gill, 18 August, 2018

These are the steps I took to get rsyncd working.

# firewall-cmd --add-service=rsyncd
# firewall-cmd --permanent --add-service=rsyncd

# getsebool -a | grep rsync

postgresql_can_rsync --> off
rsync_anon_write --> off
rsync_client --> off
rsync_export_all_ro --> off
rsync_full_access --> off

# setsebool -P rsync_anon_write on
# setsebool -P rsync_full_access on
# getsebool -a | grep rsync

postgresql_can_rsync --> off
rsync_anon_write --> on
rsync_client --> off
rsync_export_all_ro --> off
rsync_full_access --> on

# systemctl start rsyncd
# systemctl enable rsyncd
Created symlink from /etc/systemd/system/multi-user.target.wants/rsyncd.service to /usr/lib/systemd/system/rsyncd.service.

Private
No