Date: Mon, 18 Jun 2007 12:16:30 +0200 (CEST) From: Harald Schmalzbauer <harry@omnisec.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113818: svnserve rc script can't stop svnserve Message-ID: <200706181016.l5IAGUCA002510@titan.flintsbach.schmalzbauer.de> Resent-Message-ID: <200706181050.l5IAo377015113@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706181016.l5IAGUCA002510>