rsync icon indicating copy to clipboard operation
rsync copied to clipboard

Return from #list command with 0

Open tacerus opened this issue 1 year ago • 2 comments

The "#list" command should not be treated as a failure when it is both a legitimate request by the client, and correctly answered by the server. It is commonly used for assessing whether a rsync endpoint is healthy, having it return with a non-zero exit code causes misleading error reports, and, in case of socket activation, failed service instances on the server.

tacerus avatar Sep 05 '24 23:09 tacerus

what testing has been done? Have you tested both inetd operation and running as a daemon?

tridge avatar Sep 26 '24 21:09 tridge

I tested running through a socket activated systemd service.

tacerus avatar Sep 26 '24 21:09 tacerus