1
0
forked from pool/virtualbox
Commit Graph

15 Commits

Author SHA256 Message Date
Larry Finger
593b34655b Accepting request 1163957 from home:javispedro:branches:Virtualization
- Setting 0660 as permissions of /dev/vboxusb directory itself was preventing
  access to this directory by any non-root user, even if member of vboxusers.
  This results in VBox UI failing to enable USB passthrough.
  Fix issue by removing all the workarounds for /dev/vboxusb/* as they should
  no longer be required.

I have verified that with this USB passhtrough works on today's TW (real machine), as well as Leap 15.5 (on a VM)  and today's Leap 15.6 beta (unfortunately, I couldn't get a nested VM to work on 15.6 at all -- but with this fix the UI can enumerate USB devices at least).  

Without this fix, VBox always shows "VirtualBox is not currently allowed to access USB devices. You can change this by adding your user to vboxusers [....]", and the UI cannot enumerate USB devices at all.

OBS-URL: https://build.opensuse.org/request/show/1163957
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=732
2024-04-01 18:10:32 +00:00
Larry Finger
4900a45cd9 Accepting request 1163381 from home:lwfinger:branches:Virtualization
- The location of vboxconfig is wrong. Add file fixes_for_vboxconfig.patch
  to fix.
  Some errors in vboxdrv.sh are fixed.

- Further fixes for builds on Leap 15.6. Fixes boo#1221496.
  Adds file fixes_for_leap15.6.patch

OBS-URL: https://build.opensuse.org/request/show/1163381
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=730
2024-03-28 19:21:03 +00:00
Larry Finger
791b9c092a Accepting request 1008282 from home:lwfinger:branches:Virtualization
- Fix boo#1204019 VBoxClient: VbglR3InitUser failed: VERR_ACCESS_DENIED

OBS-URL: https://build.opensuse.org/request/show/1008282
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=657
2022-10-05 19:01:23 +00:00
Larry Finger
cec0118629 Accepting request 922582 from home:lwfinger:branches:Virtualization
- Finish UsrMerge for VirtualBox components (boo#1191104).

OBS-URL: https://build.opensuse.org/request/show/922582
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=616
2021-10-01 14:57:38 +00:00
Larry Finger
4beeb72f18 Accepting request 765913 from home:lwfinger:branches:Virtualization
- Version update to 6.1.2 (released January 14 2020i by Oracle)
  18 Vulnerabilities fixed: CVE-2020-2674 CVE-2020-2682 CVE-2020-2698 CVE-2020-2701 CVE-2020-2702 CVE-2020-2726
			    CVE-2020-2681 CVE-2020-2689 CVE-2020-2690 CVE-2020-2691 CVE-2020-2692 CVE-2020-2703
			    CVE-2020-2704 CVE-2020-2705 CVE-2020-2725 CVE-2020-2678 CVE-2020-2727 CVE-2020-2693
			    See bsc#1161050
  File "fixes_for_leap15.2.patch" added to fix build for Leap 15.2.
  As announced earlier by Oracle, 32-bit builds are no longer supported.
  This is a maintenance release. The following items were fixed and/or added:
  Virtualization core: fixed performance issue observed with Windows XP guests on AMD hosts (6.0.0 regression; bug #19152)
  Virtualization core: consistent IBRS/IBPB CPUID feature reporting, avoids crash of NetBSD 9.0 RC1 installer (bug #19146)
  GUI: fixed updating of runtime info
  GUI: in Display settings, do not show "2D video acceleration" checkbox if it is meaningless for the selected graphics adapter
  Audio: fixed audio input handling when VRDE is enabled
  Audio: fixed crash in the HDA emulation when using multi-speaker configurations
  Storage: fixed use of encrypted disks with snapshots involved (6.1.0 regression; bug #19160)
  Storage: improve performance of virtio-scsi
  Storage: read-only support for compressed clusters in QCOW2 images
  Linux host: Support Linux 5.5 (guest additions not yet)
  Windows guest: accelerate 2D video decoding (scaling and color space conversion) if the VM is configured to use VBoxSVGA with 3D enabled
  Windows guest: fix guest additions installer to upgrade the mouse filter driver reliably
  Windows guest: when uninstalling older Guest Additions with old 3D support enabled try restoring original Direct3D files
  Linux guest: improve resize and multi-monitor handling for VMs using VMSVGA (known remaining issue: do not disable a monitor "in the middle", causes confusion)

- Version update to 6.1.0 (released December 10 2019 by Oracle)
  - Fixes bsc#1132102.
  - Removed file "set_graphics_type.patch" as the problem is fixed upstream.
  This is a major update. The following major new features were added:
  - Implemented support for importing a virtual machine from Oracle Cloud Infrastructure
  - Extended support for exporting a virtual machine to Oracle Cloud Infrastructure, allowing the creation
	of multiple virtual machines without re-uploading. Also added option to export a VM to the cloud using the more efficient

OBS-URL: https://build.opensuse.org/request/show/765913
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=526
2020-01-20 20:15:41 +00:00
Larry Finger
06c8f73ab1 Accepting request 719647 from home:lwfinger:branches:Virtualization
- Merge host kmp and guest kmp into a single kmp. The existence of two different kernel module
  packages is believed to be the reason that it is possible for a new kernel not to include
  the necessary kernel modules (boo#1142955).
  Files "virtualbox-host-kmp-files" and "virtualbox-guest-kmp-files" are deleted.
  File "virtualbox-kmp-files" is added.
  Files "virtualbox-host-preamble" and virtualbox-guest-preamble" are deleted.
  File "virtualbox-kmp-preamble" is added.
  File "fix_conflict_between_host_and_guest.patch" is added.

- Script vboxdrv.sh, which is called from the systemd service file, incorrectly called a routine
  that does not exist when the kernel modules were not available. This call is changed to /sbin/vboxconfig
  that will build the modules if the requisite packages are available. If that is not true, the
  systemctl status vboxdrv will list the command needed to load the missing packages. This change
  address part of boo#1142995.

OBS-URL: https://build.opensuse.org/request/show/719647
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=498
2019-07-30 19:54:24 +00:00
Larry Finger
cbf52ea5f0 Accepting request 706136 from home:frispete:kernel
Hi Larry,

here we go..

this version of VB is tested successfully with TW and 15.0, builds
with 42.3, 15.0, 15.0 with Kernel:stable, 15.1, TW, and behaves 
properly autostart-wise.

So it's good to go from my POV.

Cheers,
Pete

- separate vboxautostart.sh from vboxdrv.sh
- add vboxautostart.service
- clean up vboxdrv.sh
- fix build of vboxvideo kernel module by replacing the relative
  drm include patch with an absolute include path (with sed)
- build vboxvideo kernel module for openSUSE >= 15.0
- apply fixes_for_Leap15.1.patch conditionally only
- add minimal patch fixes_for_Leap42.3.patch to build for 42.3
- fix path typo: %{_datadir}/pixmaps/virtalbox
              -> %{_datadir}/pixmaps/virtualbox

OBS-URL: https://build.opensuse.org/request/show/706136
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=489
2019-05-29 14:36:37 +00:00
Larry Finger
6ef2a4ec60 - Version bump to 6.0.4 (released January 28 2019 by Oracle)
Files "fixes_for_5.0" and "fixes_for_gcc9" are deleted - the code was fixed upstream.
This is a maintenance release. The following items were fixed and/or added:
Virtualization core: support Shanghai/Zhaoxin CPUs.
User interface: handle command line arguments to VirtualBox correctly (bugs #18206 and #18197)
User interface: improvements to machine manager window, virtual optical disk creator, storage selector window and log viewer window
User interface: various small fixes and improvements
Audio: implemented time scheduling for the AC'97 device emulation to keep audio and video in sync
Graphics: basic support for VMSVGA graphics device in virtual machines using EFI
Network: fix occasional NATNet crashes (bug #13899)
Network: worked around problems in certain PCnet drivers on old operating systems
Serial: fixed connecting to pseudo terminals on POSIX hosts (6.0.0 regression; bug #18319)
Linux hosts and guests: fix for building kernel modules against Linux 5.0. Thank you Kyle Laker

- Converted vboxwebsrv to a systemd service. Previously, this was started through init.d. bsc#1116050
  Files "vboxweb-service.service" and "vboxweb-service.sh" are added.
  File "vbox-vboxweb-init-script.diff" is removed.
  File "fixes_for_4.20.patch" is removed - the code was fixed upstream.
  File "fix_lib_search.patch" is added to fix the build of VBox0GL.
  File "fixes_for_5.0.patch" is added to compensate for API changes in kernel 5.0.
  File "virtualbox-system-x.patch" is removed.
  File "fixes_for_Leap15.1.patch" is added to fix build errors on Leap 15<F5>.1.
- Version bump to 6.0.2 (released January 15 2019 by Oracle)
This is a maintenance release. The following items were fixed and/or added:
User interface: fixed creation of desktop shortcuts for starting virtual machines (bug #18207)
User interface: allow the first run window to selecting host drives (bug #18230)
User interface: fixed attaching empty host optical drives (bug #18223)
User interface: implemented a new virtual optical disk creation window
USB: modified Linux backends to reset USB devices (previously, most guest attempts to reset USB devices were ignored)
PCnet: fixed a regression which caused some PCnet PCI guest drivers to not detect the emulated hardware (bug #18286)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=465
2019-01-28 20:37:13 +00:00
Larry Finger
86ec07d5cd Accepting request 662706 from home:frispete:kernel
You missed my latest changes...

- proper permissions for /etc/vbox/*.cfg

- remove ambiguous labels in vboxdrv: fixes restart and such
- make autostarting synchronous again
- improve README.autostart
- add new autostart variables to the existing /etc/default/virtualbox
  in %post, if missing

OBS-URL: https://build.opensuse.org/request/show/662706
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=460
2019-01-05 01:23:29 +00:00
Larry Finger
35fb819fbd Accepting request 655353 from home:frispete:kernel
Now it builds for 42.3 as well

- replace switch_to_python3.6.patch with switch_to_python3.4+.patch

- remove fixes_for_leap15.patch, upstream has incorporated it
- add conflict with i4l-vbox due to shared /etc/vbox
- adjust /etc/vbox permissions
- add /etc/vbox/autostart.cfg 
- fix vboxdrv.sh: apply new autostart mechanics to stop_vms()
- remove obsolete shutdown section in /etc/default/virtualbox
- add VBOXAUTOSTART_{DB,CONFIG} to /etc/default/virtualbox
- supply README.autostart

OBS-URL: https://build.opensuse.org/request/show/655353
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=459
2019-01-03 03:21:14 +00:00
Larry Finger
75cddad54d - Fix autostart of VMs, which is no longer handled by the vboxes.service.
A new routine "start_vms" is added to the start section of vboxdrv.sh,
  which is called by vboxdrv.service. Files "vboxes.service", "vboxes.sh",
  and "virtualbox-sysconfig.vbox" are deleted.
  These changes are to satisfy bsc#1107769.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=445
2018-09-20 19:27:52 +00:00
Larry Finger
e944f6171f - Move location of kernel modules from /lib/modules/$(uname -r)/misc to
/lib/modules/$(uname -r)/extra. This change is supposed to force rebuild
  of the modules when the kernel is updated.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=389
2017-12-09 01:13:47 +00:00
Larry Finger
48db352de9 - Update vboxdrv.sh as recommended in bsc#1060072.
- Move files /usr/lib/virtualbox/VBoxKeyboard.so, /usr/lib/virtualbox/VBoxOGLrenderspu.so, /usr/lib/virtualbox/VBoxSharedClipboard.so, and
   /usr/lib/virtualbox/VBoxSharedCrOpenGL.so from package virtualbox to virtualbox-qt. With this change, package virtualbox no longer needs libX11.
- Version bump to 5.1.30 (released 2017-10-16 by Oracle)
This is a maintenance release. The following items were fixed and/or added:
    GUI: translation updates
    GUI: Fixed double mouse cursor when using mouse integration without Guest Additions, actually a Qt 5.6 bug fixed with QT 5.6.3 (Mac OS X hosts only; bug #15610)
    Solaris hosts: allow increasing MTU size for host-only adapter to 9706 bytes to support jumbo frames
    Linux hosts: glibc 2.26 compile fix
    Windows Additions: 3D related crash fix (bugs #17082, #17092)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=371
2017-10-17 13:51:44 +00:00
Larry Finger
4ad73fc134 - Make changes suggested in bsc#1060072
The specific changes are:
  (1) Remove the test in vboxdrv.sh as the script tests for the wrong file. This is safe because
      if the package is not installed, the script will not be there.
  (2) Move VBoxDbg.so to package virtualbox-qt. With this change, packages libQt5Core, libQt5Gui
      and libQt5Widgets are no longer needed with package virtualbox. As a result, a text-only
      server no longer needs to load QT to support headless virtual machines.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=367
2017-09-25 20:31:11 +00:00
Larry Finger
6deff5bcfe - Fix several problems with the startup scripts. The SysV form is no longer used for most packages as proper systemd
service files have been created. These fixes address bsc#1037291, #1043532, and #1045871.
- Increase reserved disk space from 4 to 5 GB. This change was suddested as a fix for the 32-bit failures.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=348
2017-07-10 18:31:23 +00:00