rsync --daemon complains parsing nonexistant /etc/rsyncd.conf

Colton Lewis via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <f_ubWCj1agRBtBMlsolHKSuAyYWinedqwkHHpLBQboAzVcVtfTW6vcsRq0kfVjmnH9wR68GQu2kbktpob-M0aHgdKxWGrUy4m6mBNBWhJ7E=@protonmail.com>
This is on a system where /etc/rsyncd.conf does not exist and goes away if /etc/rsyncd.conf is an empty file.

Version: rsync  version 3.2.5  protocol version 31
Command: rsync --daemon
What happens: The program outputs "Failed to parse config file: /etc/rsyncd.conf"
What I expect: The program should run with the same default values it does when /etc/rsyncd.conf is an empty file.
Bonus: The install process installs an example file at /etc/rsyncd.conf with the intended defaults and documented with comments.

If there are security concerns enough to require creating a config file before enabling,
the error message should explicitly say that. The current behavior is probably known and not a large concern, but it
is still an annoying usability shock for such a mature piece of software.


-- Colton Lewis

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.