ports/113818: svnserve rc script can't stop svnserve
Harald Schmalzbauer
harry at omnisec.de
Mon Jun 18 10:50:03 UTC 2007
>Number: 113818
>Category: ports
>Synopsis: svnserve rc script can't stop svnserve
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 18 10:50:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Harald Schmalzbauer
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
OmniSEC
>Environment:
System: FreeBSD titan.flintsbach.schmalzbauer.de 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Sat Jun 9 12:28:43 CEST 2007 root at titan.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/TITAN i386
>Description:
'/usr/local/etc/rc.d/svnserve stop' doesn't work because the binary
svnserve is actually svnserve.bin and svnserve doesn't write it's pid
in /var/run so rc can't stop the daemon.
>How-To-Repeat:
'/usr/local/etc/rc.d/svnserve start'
'/usr/local/etc/rc.d/svnserve stop'
-> svnserve not running?
>Fix:
--- etc/rc.d/svnserve.orig Mon Jun 18 12:14:15 2007
+++ etc/rc.d/svnserve Mon Jun 18 12:14:37 2007
@@ -29,7 +29,7 @@
name=svnserve
rcvar=`set_rcvar`
load_rc_config $name
-command=/usr/local/bin/svnserve
+command=/usr/local/bin/svnserve.bin
command_args="-r ${svnserve_data}"
run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list