MANAGED IT SUPPORT FOR SOUTHERN NH AND MAINE

Lsyncd Service Not Autostarting at Boot

Recently configured a new CentOS 6 server for a client. Lysnc was a requirement and fairly easy to install and configure, however there was one problem. After a reboot the service would not start automatically. I could manually start it with no errors however.

Finally after Googling around for a bit I stumbled across a post referencing how SElinux can play havok with certain services or actions with little to no warning or errors in the logs. I figured I'd give it a shot and disabled the SElinux policy just for rsync (a component of the lsyncd service). Luckily the command is simple:

semodule -d rsync

You may need to append that with "sudo" depending on who you're logged in as. Your results may vary.

comments powered by Disqus