Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
csync2
force-debug-stderr-off-inetd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File force-debug-stderr-off-inetd.patch of Package csync2
Index: csync2-1.34/csync2.c =================================================================== --- csync2-1.34.orig/csync2.c +++ csync2-1.34/csync2.c @@ -458,6 +458,16 @@ int main(int argc, char ** argv) for (i=0; myhostname[i]; i++) myhostname[i] = tolower(myhostname[i]); + if ( mode == MODE_INETD ) { + /* Force debug level below zero when running under inetd, + * else stderr junk may be emitted back to some other host + * which breaks the protocol. One case is where a target + * directory does not exist resulting in allegations of + * I/O error during rsync write (bnc#752563) + */ + csync_debug_level = -1; + } + /* Stand-alone server mode. This is a hack.. */ if ( mode == MODE_SERVER || mode == MODE_SINGLE ) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor