From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 17 19:38:56 2015 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F25A6C9; Tue, 17 Feb 2015 19:38:56 +0000 (UTC) Received: from unislabs.com (unislabs.com [62.33.111.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C772C8A0; Tue, 17 Feb 2015 19:38:55 +0000 (UTC) Received: from [10.0.1.27] (port=18745 helo=phobos.unislabs.local) by unislabs.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YNnyp-0005Tu-Aa; Tue, 17 Feb 2015 22:38:47 +0300 Message-ID: <54E398C2.7040309@unislabs.com> Date: Tue, 17 Feb 2015 22:38:42 +0300 From: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQlNGA0YPQt9C10L3QutC+?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Re: VirtualBox 4.3.22: bug in start/stop script for vboxwebsrv References: <54E29B2E.5020706@unislabs.com> <54E2E9CB.8040000@FreeBSD.org> In-Reply-To: <54E2E9CB.8040000@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Report: Spam detection software, running on the system "gw.unislabs.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: 17.02.2015 10:12, Jung-uk Kim пишет: > On 02/16/2015 20:36, Владимир Друзенко wrote: > > Hi! > > > Command "service vboxwebsrv stop" did'n kill process vboxwebsrv. > > > 1. check_pidfile can't find process with name > > /usr/local/bin/vboxwebsrv 2. But found > > /usr/local/lib/virtualbox/vboxwebsrv 3. /usr/local/bin/vboxwebsrv > > is symlink to /usr/local/lib/virtualbox/VBox.sh 4. > > /usr/local/lib/virtualbox/VBox.sh run > > /usr/local/lib/virtualbox/vboxwebsrv and process's full name > > changed from /usr/local/bin/vboxwebsrv to > > /usr/local/lib/virtualbox/vboxwebsrv > > > > My "quick and dirty" patch is: [/usr/local/etc/rc.d]# diff -abBu > > vboxwebsrv.orig vboxwebsrv --- vboxwebsrv.orig 2015-02-17 > > 04:21:50.937959134 +0300 +++ vboxwebsrv 2015-02-17 > > 04:21:57.680958486 +0300 @@ -18,7 +18,7 @@ name=vboxwebsrv > > rcvar=vboxwebsrv_enable > > > -command="/usr/local/bin/vboxwebsrv" > > +command="/usr/local/lib/virtualbox/vboxwebsrv" > > pidfile="/var/run/${name}.pid" > > > start_cmd="${name}_start" > > It should be corrected now. Sorry. > > Jung-uk Kim [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vbox.sh] X-SA-Exim-Connect-IP: 10.0.1.27 X-SA-Exim-Mail-From: vvd@unislabs.com X-SA-Exim-Scanned: No (on unislabs.com); SAEximRunCond expanded to false acl_m0: acl_m1: acl_m3: acl_m4: acl_m5: freebsd-emulation@freebsd.org acl_m6: spam_score_int: -9 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2015 19:38:56 -0000 17.02.2015 10:12, Jung-uk Kim пишет: > On 02/16/2015 20:36, Владимир Друзенко wrote: > > Hi! > > > Command "service vboxwebsrv stop" did'n kill process vboxwebsrv. > > > 1. check_pidfile can't find process with name > > /usr/local/bin/vboxwebsrv 2. But found > > /usr/local/lib/virtualbox/vboxwebsrv 3. /usr/local/bin/vboxwebsrv > > is symlink to /usr/local/lib/virtualbox/VBox.sh 4. > > /usr/local/lib/virtualbox/VBox.sh run > > /usr/local/lib/virtualbox/vboxwebsrv and process's full name > > changed from /usr/local/bin/vboxwebsrv to > > /usr/local/lib/virtualbox/vboxwebsrv > > > > My "quick and dirty" patch is: [/usr/local/etc/rc.d]# diff -abBu > > vboxwebsrv.orig vboxwebsrv --- vboxwebsrv.orig 2015-02-17 > > 04:21:50.937959134 +0300 +++ vboxwebsrv 2015-02-17 > > 04:21:57.680958486 +0300 @@ -18,7 +18,7 @@ name=vboxwebsrv > > rcvar=vboxwebsrv_enable > > > -command="/usr/local/bin/vboxwebsrv" > > +command="/usr/local/lib/virtualbox/vboxwebsrv" > > pidfile="/var/run/${name}.pid" > > > start_cmd="${name}_start" > > It should be corrected now. Sorry. > > Jung-uk Kim Thanks! Tested - scripts work correct.