Date: Tue, 17 Feb 2015 02:12:11 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQlNGA0YPQt9C10L3QutC+?= <vvd@unislabs.com>, freebsd-emulation@freebsd.org Subject: Re: VirtualBox 4.3.22: bug in start/stop script for vboxwebsrv Message-ID: <54E2E9CB.8040000@FreeBSD.org> In-Reply-To: <54E29B2E.5020706@unislabs.com> References: <54E29B2E.5020706@unislabs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU4unLAAoJEHyflib82/FGeLUH/3UFnvaT9rInFBWAevWjs8vt Oz09y1+4ILEDp+ioSRK0nGZgZu5/Z5AkEEwH7ZQQ239+84yq8npCZZKuzco3r3K0 GW5Y601YPI4VpRirL+1KPvQWEgOh/BCKFAhvQbhJa95ti7iPZth8Ubzn0f3dMwKl NuePWLrxTSbCpif8VQruy2DcfVsqabHtwFXgciCMoIZYoU4VUMrUH+/bh8MxJiyj /mcqQ7lcH+eR6GU6xUEeTBU6WxAiBYdT2YtW0hd5IPzizQTX41uNuSdFGH/w64ND xtoKSuzg3mOcDEQmCIuX3xFZLsdWB/JdhtWd3AAaRV/WQaZuA+ACkz3iPQNvC9Q= =/f06 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E2E9CB.8040000>