Date: Tue, 17 Feb 2015 04:36:46 +0300 From: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQlNGA0YPQt9C10L3QutC+?= <vvd@unislabs.com> To: freebsd-emulation@freebsd.org Subject: VirtualBox 4.3.22: bug in start/stop script for vboxwebsrv Message-ID: <54E29B2E.5020706@unislabs.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E29B2E.5020706>