1
0
forked from pool/virtualbox
Commit Graph

1 Commits

Author SHA256 Message Date
Larry Finger
f0824ee78b Accepting request 514488 from home:frispete:Kernel-base
Hi Larry,

I finally put some effort in fixing the VM autostart mechanics,
that are terminally broken in the current package (due to the way,
systemd interacts with Sys-V init scripts, stop operations aren't 
executed most of the time, because it lost track of the state...).

With these changes, I'm able to reliably start/stop all VMs on 
hosts ranging from 13.2 to 42.2. I'm confident, this will improve
for all systemd based systems, i.o.w all those systems we care about..

It resembles pretty much the same scheme, vboxdrv is using already.

Give it a try.

- reorganize vbox autostart, coping with systemd:
  - add /usr/lib/virtualbox/vboxes.sh (based on /etc/init.d/vboxes)
  - add /usr/lib/systemd/system/vboxes.service
  - remove /etc/init.d/vboxes

OBS-URL: https://build.opensuse.org/request/show/514488
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=357
2017-08-04 02:39:17 +00:00