[Bug 212074] emulators/virtualbox-ose starting virtual machines with vboxheadless returns 'already running?'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 28 08:53:25 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212074

Pieter <pietersnld at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pietersnld at users.sourceforg
                   |                            |e.net

--- Comment #2 from Pieter <pietersnld at users.sourceforge.net> ---
Seems to be since revision 292450 and/or revision 291770 of the freebsd base
system. Noticed the same problem since I updated from 10.1 to 10.3 yesterday.

https://svnweb.freebsd.org/base/release/10.3.0/etc/rc.subr?view=log

+++++++++++++++++++++++
MFC r291770: rc.subr: Check for running daemons before a custom start_cmd
is executed.

Currently rc scripts implementing their own start_cmd do not enjoy the
benefits of rc.subr's own check for rc_pid.

This leads to around a third of ports with such a start_cmd not to check for
the process at all and two thirds of ports to re-implement this check
(sometimes wrongly).

---> This patch moves the check for rc_pid to before ${rc_arg}_cmd is executed.
+++++++++++++++++++++++

You can start vboxheadless using faststart after boot. When using fast the
check for a 'pidfile' will be skipped. Dont know what checks will be skipped
also.

Pieter

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list