Bug 886759

Summary: Enhancement to add systemctl and configuration example files
Product: [Fedora] Fedora Reporter: David Highley <david.m.highley>
Component: rsyncAssignee: Michal Luscon <mluscon>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: mluscon, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-12 15:17:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
zip of configuration files none

Description David Highley 2012-12-13 03:53:51 UTC
Created attachment 662749 [details]
zip of configuration files

Description of problem:
System V init and xinetd are being deprecated so we need new configuration files for systemctl and examples for configuration.

Version-Release number of selected component (if applicable):
rsync-3.0.9-5.fc18.x86_64.rpm

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Overview of steps to integrate rsyncd into current Fedora distribution.

Create configuration for rsyncd server.
- mkdir /etc/rsyncd
- touch /etc/rsyncd.motd
- touch /etc/rsyncd.secrets
- edit /etc/rsyncd.conf

In the directory /lib/systemd/system create two files.
- rsyncd@.service
- rsyncd.socket

Reload systemd daemon, enable and start the service.
- systemctl --system daemon-reload
- systemctl enable rsyncd.socket
- systemctl start rsyncd.socket

Create cron tasks
- backups; script
- crontab

Create a logrotate.d file to rotate and clean up log files.

Attached are all the files currently being used on a Fedora 17 system.

Comment 1 Michal Luscon 2013-01-31 13:54:32 UTC
Fedora rawhide already contains rsyncd service and also rsyncd.conf. Any ideas for improvement are highly welcomed.

Provided logrotate, backup and crontab files fit more into documentation examples than real configurations. I will consider their inclusion into next rsync update.

Thank you for your report.