From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 17 03:26:18 2015 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 990F94DD for ; Tue, 17 Feb 2015 03:26:18 +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 16C3EECB for ; Tue, 17 Feb 2015 03:26:17 +0000 (UTC) Received: from [10.0.1.27] (port=21919 helo=phobos.unislabs.local) by unislabs.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YNX5n-000Lv2-L5 for freebsd-emulation@freebsd.org; Tue, 17 Feb 2015 04:36:51 +0300 Message-ID: <54E29B2E.5020706@unislabs.com> Date: Tue, 17 Feb 2015 04:36:46 +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: VirtualBox 4.3.22: bug in start/stop script for vboxwebsrv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: 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 [...] 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 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 03:26:18 -0000 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" P.S. Sorry for my poor English.