Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513246 - net-misc/rsync - systemd[1]: rsyncd.service: main process exited, code=exited, status=10/n/a
Summary: net-misc/rsync - systemd[1]: rsyncd.service: main process exited, code=exited...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-14 20:41 UTC by thorus90
Modified: 2020-11-09 17:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thorus90 2014-06-14 20:41:10 UTC
the rsyncd doesn't start up correctly at boot time with the current systemd service file coming from portage.

Here's the log from journalctl -u rsyncd:

Jun 14 17:36:19 localhost systemd[1]: Starting rsync daemon...
Jun 14 17:36:19 localhost systemd[1]: Started rsync daemon.
Jun 14 17:36:20 localhost systemd[1]: rsyncd.service: main process exited, code=exited, status=10/n/a
Jun 14 17:36:20 localhost systemd[1]: Unit rsyncd.service entered failed state.

Don't know how the service file has to be modified.

Reproducible: Didn't try

Steps to Reproduce:
1.adjust /etc/rsync.conf and /etc/rsync.secrets to your needs
2.systemctl enable rsyncd
3.reboot
Actual Results:  
rsyncd doesn't come up

Expected Results:  
rsync comes up
Comment 1 Pacho Ramos gentoo-dev 2014-07-01 19:35:28 UTC
unit file simply runs:
/usr/bin/rsync --daemon --no-detach

that looks to run ok for me:
# systemctl status rsyncd
● rsyncd.service - rsync daemon
   Loaded: loaded (/usr/lib64/systemd/system/rsyncd.service; disabled)
   Active: active (running) since mar 2014-07-01 21:34:30 CEST; 5s ago
 Main PID: 9861 (rsync)
   CGroup: /system.slice/rsyncd.service
           └─9861 /usr/bin/rsync --daemon --no-detach

jul 01 21:34:30 belkin5 rsyncd[9861]: rsyncd version 3.0.9 starting, listening on port 873


Please show your "status" output