Opened 14 years ago
Last modified 13 years ago
#26974 closed defect
Macports version of svnserve doesn't work with launchd — at Initial Version
Reported by: | reg@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | svnserve launchd | Cc: | dluke@…, reg@… |
Port: | subversion |
Description
The version of svnserve that was build with MacPorts doesn't function correctly with Apple's launchd. Other builds of svnserve of the same version 1.6.13 obtained from for example CollabNet http://www.open.collab.net/downloads/community/ in binary form do work with launchd. As these binaries are build from the same 1.6.13 Subversion source I think the problem lies in the building and not in Subversion itself. Hence I report it here.
Problem: After adding svnserve to lauchd, clients get the following message on for example an svn list command: "svn: Malformed network data". Svnserve is started by launchd but the request is not handled correctly.
Steps to reproduce: -Modify repository path in attached plist to your liking -Store attached launchd plist in /Libray/LaunchDaemons -Load with sudo launchctl load org.tigris.Subversion.plist -Start with sudo launchctl start org.tigris.subversion.svnserve -Execute svn list svn://127.0.0.1/..your.repo.path../trunk
Replacing only the location of svnserve in the plist to the version downloaded and installed from either CollabNet (same version 1.6.13) or the older version Apple ships will solve the problem. Only the MacPorts version doesn't work.
If svnserve is started manually it is working fine.
Launchd plist for svnserve