Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2018-03-13 10:22:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Tue Mar 13 10:22:13 2018 rev:158 rq:585355 version:5.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2018-02-22 14:57:23.528913493 +0100 +++ /work/SRC/openSUSE:Factory/.virtualbox.new/virtualbox.changes 2018-03-13 10:22:18.789479342 +0100 @@ -1,0 +2,46 @@ +Sat Mar 10 21:20:15 UTC 2018 - [email protected] + +- Remove version requirement on GLIBC. That was an error. + +------------------------------------------------------------------- +Fri Mar 9 01:41:56 UTC 2018 - [email protected] + +- Updated the fixes for kernel 4.16. + +------------------------------------------------------------------- +Sat Mar 3 19:15:12 UTC 2018 - [email protected] + +- Add file "fixes_for_4.16.patch" to handle API changes in kernel 4.16. + +------------------------------------------------------------------- +Wed Feb 28 20:08:22 UTC 2018 - [email protected] + +- File "fixes_for_4.15.patch" removed - fixed upstream. + File "fix_videocapture.patch" removed - fixed upstream. + Version bump to 5.2.8 (released 2018-02-27 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + + VMM: added support for FSGSBASE, PCID, INVPCID CPU features for guests + VMM: fixed EMM386 issue with detecting suitable page frame base (bug #10022) + Front end: Linux: prevent VM window from jumping and auto-resizing to tiny size after resizing it on HiDPI screen + Front end: Linux: fixed seamless regression caused by wm_class functionality (bugs #12534, #17304) + Front end: switched to https downloads + Front end: fixed crash while opening New machine wizard (s.a. forums topic 86592) + Audio: added support for distinguishing recording sources in the PulseAudio mixer on the host when multiple VMs are running + Audio: various fixes for the DirectSound backend + Video recording: added better file seeking support and fixed playback of recorded files with certain players (e.g. Firefox) + Audio: various fixes for Windows guest surround setups + Audio: various fixes for HDA emulation + Serial: fixed an issue where the serial port parameters in the emulation and host serial port got out of sync (bug #17116) + Storage: fixed overwriting certain INQUIRY data for the DVD/CD drive attached to a AHCI controller + Storage: fixed handling VMDK images created by Amazon EC2 VM export + Network: fixed PXE boot regression in e1000 + Network: Added a workaround for older guests which do not enable bus mastering for the virtio PCI device + 3D: add environment variable to configure presenting 3D content on main thread (see bug #13653) + Windows hosts: fixed indiscriminate binding of NDIS5 bridged driver, that caused PPPOE malfunction (bugs #16407, #17489) + Windows guests: fixed incorrect function error when using shared folders in certain applications (bug #14118) + Linux guests: Linux 4.15 support (bugs #17311, #17320, #17282) + Linux guests: fixed black screen when 3D enabled in guests (bug #17463, 5.2.6 regression) + Linux guests: suppress setuid and setgid in shared folders +------------------------------------------------------------------- Old: ---- VirtualBox-5.2.6-patched.tar.bz2 fix_videocapture.patch fixes_for_4.15.patch New: ---- VirtualBox-5.2.8-patched.tar.bz2 fixes_for_4.16.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.J4m8Qg/_old 2018-03-13 10:22:23.069326011 +0100 +++ /var/tmp/diff_new_pack.J4m8Qg/_new 2018-03-13 10:22:23.069326011 +0100 @@ -28,17 +28,17 @@ %define _udevrulesdir %{_sysconfdir}/udev/rules.d Name: virtualbox # ********* If the VB version exceeds 5.2.x, notify the libvirt maintainer!! -Version: 5.2.6 +Version: 5.2.8 Release: 0 Summary: VirtualBox is an Emulator -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Emulators/PC Url: http://www.virtualbox.org/ # # so you don't need to repack virtualbox by hand, just add new release of VirtualBox-x.x.x.tar.bz2 and line below with # script virtualbox-patch-source.sh will do the job :) # WARNING: This is not a comment, but the real command to repack souce -##\%(bash %{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%{version}.tar.bz2) +#%%(bash %%{_sourcedir}/virtualbox-patch-source.sh VirtualBox-%%{version}.tar.bz2) Source0: VirtualBox-%{version}-patched.tar.bz2 Source1: UserManual.pdf Source3: %{name}-60-vboxguest.rules @@ -107,8 +107,6 @@ Patch115: vbox_fix_for_gcc7.patch # Fix for missing include needed for server 1.19 Patch116: Fix_for_server_1.19.patch -# Fix for removal of init_timer_pinned() in kernel 4.15 -Patch117: fixes_for_4.15.patch # Fix invalid use of internal headers Patch118: internal-headers.patch # Fix kernl API change in Leap 15 @@ -117,8 +115,8 @@ Patch120: fixes_for_python.patch # Remove vboxvideo from build Patch121: remove_vbox_video_build.patch -# Fix video capture -Patch122: fix_videocapture.patch +# Fix build for kernel 4.16 +Patch122: fixes_for_4.16.patch # BuildRequires: LibVNCServer-devel BuildRequires: SDL-devel @@ -253,7 +251,7 @@ %package host-KMP Summary: Host kernel module for VirtualBox -##\%kernel_module_package -t %{_builddir}/virtualbox-kmp-template -p %{SOURCE7} -n %{name}-host -f %{SOURCE5} -x kdump um xen pae xenpae pv +##\%kernel_module_package -t %%{_builddir}/virtualbox-kmp-template -p %%{SOURCE7} -n %%{name}-host -f %%{SOURCE5} -x kdump um xen pae xenpae pv Group: System/Emulators/PC Requires: %{kernel_module_package_buildreqs} @@ -405,7 +403,6 @@ %patch113 -p1 %patch115 -p1 %patch116 -p1 -%patch117 -p1 %patch118 -p1 %if 0%{suse_version} == 1500 %patch119 -p1 @@ -950,8 +947,8 @@ %{_bindir}/VBoxClient %{_libdir}/VBoxOGL*.so %{_libdir}/VBoxEGL*.so -##\%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so -##\%{_libdir}/dri/vboxvideo_dri.so +#%%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so +#%%{_libdir}/dri/vboxvideo_dri.so %{_sysconfdir}/X11/xinit/xinitrc.d/vboxadd-xclient.sh %files guest-tools ++++++ UserManual.pdf ++++++ (binary differes) ++++++ VirtualBox-5.2.6-patched.tar.bz2 -> VirtualBox-5.2.8-patched.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/virtualbox/VirtualBox-5.2.6-patched.tar.bz2 /work/SRC/openSUSE:Factory/.virtualbox.new/VirtualBox-5.2.8-patched.tar.bz2 differ: char 11, line 1 ++++++ fixes_for_4.15.patch -> fixes_for_4.16.patch ++++++ --- /work/SRC/openSUSE:Factory/virtualbox/fixes_for_4.15.patch 2018-02-05 10:44:05.669351284 +0100 +++ /work/SRC/openSUSE:Factory/.virtualbox.new/fixes_for_4.16.patch 2018-03-13 10:22:18.713482065 +0100 @@ -1,117 +1,158 @@ -Index: VirtualBox-5.2.6/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c +Index: VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_ttm.c =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c -+++ VirtualBox-5.2.6/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c -@@ -1058,7 +1058,11 @@ void VGDrvNativeISRMousePollEvent(PVBOXG - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) - - /** log and dbg_log parameter setter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogGrpSet(const char *pszValue, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamLogGrpSet(const char *pszValue, struct kernel_param *pParam) -+#endif +--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/drm/vbox_ttm.c ++++ VirtualBox-5.2.8/src/VBox/Additions/linux/drm/vbox_ttm.c +@@ -198,6 +198,17 @@ static void vbox_ttm_io_mem_free(struct { - if (g_fLoggerCreated) - { -@@ -1073,7 +1077,11 @@ static int vgdrvLinuxParamLogGrpSet(cons } - /** log and dbg_log parameter getter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogGrpGet(char *pszBuf, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamLogGrpGet(char *pszBuf, struct kernel_param *pParam) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++static int vbox_bo_move(struct ttm_buffer_object *bo, bool evict, ++ struct ttm_operation_ctx *ctx, ++ struct ttm_mem_reg *new_mem) ++{ ++ int r; ++ ++ r = ttm_bo_move_memcpy(bo, ctx, new_mem); ++ return r; ++} ++#else + static int vbox_bo_move(struct ttm_buffer_object *bo, + bool evict, bool interruptible, + bool no_wait_gpu, struct ttm_mem_reg *new_mem) +@@ -213,6 +224,7 @@ static int vbox_bo_move(struct ttm_buffe + #endif + return r; + } +#endif - { - PRTLOGGER pLogger = pParam->name[0] == 'd' ? RTLogDefaultInstance() : RTLogRelGetDefaultInstance(); - *pszBuf = '\0'; -@@ -1084,7 +1092,11 @@ static int vgdrvLinuxParamLogGrpGet(char - - /** log and dbg_log_flags parameter setter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogFlagsSet(const char *pszValue, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamLogFlagsSet(const char *pszValue, struct kernel_param *pParam) -+#endif + static void vbox_ttm_backend_destroy(struct ttm_tt *tt) { - if (g_fLoggerCreated) - { -@@ -1098,7 +1110,11 @@ static int vgdrvLinuxParamLogFlagsSet(co +@@ -244,16 +256,48 @@ static struct ttm_tt *vbox_ttm_tt_create + return tt; } - /** log and dbg_log_flags parameter getter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogFlagsGet(char *pszBuf, const struct kernel_param *pParam) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++static int vbox_ttm_tt_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) ++{ ++ return ttm_pool_populate(ttm, ctx); ++} +#else - static int vgdrvLinuxParamLogFlagsGet(char *pszBuf, struct kernel_param *pParam) -+#endif - { - PRTLOGGER pLogger = pParam->name[0] == 'd' ? RTLogDefaultInstance() : RTLogRelGetDefaultInstance(); - *pszBuf = '\0'; -@@ -1109,7 +1125,11 @@ static int vgdrvLinuxParamLogFlagsGet(ch - - - /** log and dbg_log_dest parameter setter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogDstSet(const char *pszValue, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamLogDstSet(const char *pszValue, struct kernel_param *pParam) -+#endif + static int vbox_ttm_tt_populate(struct ttm_tt *ttm) { - if (g_fLoggerCreated) - { -@@ -1123,7 +1143,11 @@ static int vgdrvLinuxParamLogDstSet(cons + return ttm_pool_populate(ttm); } - - /** log and dbg_log_dest parameter getter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamLogDstGet(char *pszBuf, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamLogDstGet(char *pszBuf, struct kernel_param *pParam) +#endif - { - PRTLOGGER pLogger = pParam->name[0] == 'd' ? RTLogDefaultInstance() : RTLogRelGetDefaultInstance(); - *pszBuf = '\0'; -@@ -1134,7 +1158,11 @@ static int vgdrvLinuxParamLogDstGet(char - - /** r3_log_to_host parameter setter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamR3LogToHostSet(const char *pszValue, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamR3LogToHostSet(const char *pszValue, struct kernel_param *pParam) -+#endif + static void vbox_ttm_tt_unpopulate(struct ttm_tt *ttm) { - if ( pszValue == NULL - || *pszValue == '\0' -@@ -1152,7 +1180,11 @@ static int vgdrvLinuxParamR3LogToHostSet + ttm_pool_unpopulate(ttm); } - /** r3_log_to_host parameter getter. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+static int vgdrvLinuxParamR3LogToHostGet(char *pszBuf, const struct kernel_param *pParam) -+#else - static int vgdrvLinuxParamR3LogToHostGet(char *pszBuf, struct kernel_param *pParam) -+#endif - { - strcpy(pszBuf, g_DevExt.fLoggingEnabled ? "enabled" : "disabled"); - return strlen(pszBuf); -Index: VirtualBox-5.2.6/src/VBox/Additions/linux/drm/vbox_mode.c -=================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Additions/linux/drm/vbox_mode.c -+++ VirtualBox-5.2.6/src/VBox/Additions/linux/drm/vbox_mode.c -@@ -401,7 +401,11 @@ static struct drm_encoder *vbox_best_sin - - /* pick the encoder ids */ - if (enc_id) -- return drm_encoder_find(connector->dev, enc_id); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) -+ return drm_encoder_find(connector->dev, NULL, enc_id); -+#else -+ return drm_encoder_find(connector->dev, enc_id); -+#endif - - return NULL; - } ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++static struct drm_mm_node *vbox_find_mm_node(struct ttm_mem_reg *mem, ++ unsigned long *offset) ++{ ++ struct drm_mm_node *mm_node = mem->mm_node; ++ ++ while (*offset >= (mm_node->size << PAGE_SHIFT)) { ++ *offset -= (mm_node->size << PAGE_SHIFT); ++ ++mm_node; ++ } ++ return mm_node; ++} ++ ++static unsigned long vbox_ttm_io_mem_pfn(struct ttm_buffer_object *bo, ++ unsigned long page_offset) ++{ ++ struct drm_mm_node *mm; ++ unsigned long offset = (page_offset << PAGE_SHIFT); ++ ++ mm = vbox_find_mm_node(&bo->mem, &offset); ++ return (bo->mem.bus.base >> PAGE_SHIFT) + mm->start + ++ (offset >> PAGE_SHIFT); ++} ++#endif ++ + struct ttm_bo_driver vbox_bo_driver = { + .ttm_tt_create = vbox_ttm_tt_create, + .ttm_tt_populate = vbox_ttm_tt_populate, +@@ -268,8 +312,12 @@ struct ttm_bo_driver vbox_bo_driver = { + .io_mem_reserve = &vbox_ttm_io_mem_reserve, + .io_mem_free = &vbox_ttm_io_mem_free, + #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ .io_mem_pfn = vbox_ttm_io_mem_pfn, ++#else + .io_mem_pfn = ttm_bo_default_io_mem_pfn, + #endif ++#endif + #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)) \ + || defined(RHEL_74) + .lru_tail = &ttm_bo_default_lru_tail, +@@ -422,6 +470,9 @@ static inline u64 vbox_bo_gpu_offset(str + + int vbox_bo_pin(struct vbox_bo *bo, u32 pl_flag, u64 *gpu_addr) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ struct ttm_operation_ctx ctx = {false, false}; ++#endif + int i, ret; + + if (bo->pin_count) { +@@ -437,7 +488,11 @@ int vbox_bo_pin(struct vbox_bo *bo, u32 + for (i = 0; i < bo->placement.num_placement; i++) + PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); ++#else + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); ++#endif + if (ret) + return ret; + +@@ -451,6 +506,9 @@ int vbox_bo_pin(struct vbox_bo *bo, u32 + + int vbox_bo_unpin(struct vbox_bo *bo) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ struct ttm_operation_ctx ctx = {false, false}; ++#endif + int i, ret; + + if (!bo->pin_count) { +@@ -464,7 +522,11 @@ int vbox_bo_unpin(struct vbox_bo *bo) + for (i = 0; i < bo->placement.num_placement; i++) + PLACEMENT_FLAGS(bo->placements[i]) &= ~TTM_PL_FLAG_NO_EVICT; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); ++#else + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); ++#endif + if (ret) + return ret; + +@@ -478,6 +540,9 @@ int vbox_bo_unpin(struct vbox_bo *bo) + */ + int vbox_bo_push_sysram(struct vbox_bo *bo) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ struct ttm_operation_ctx ctx = {false, false}; ++#endif + int i, ret; + + if (!bo->pin_count) { +@@ -496,7 +561,11 @@ int vbox_bo_push_sysram(struct vbox_bo * + for (i = 0; i < bo->placement.num_placement; i++) + PLACEMENT_FLAGS(bo->placements[i]) |= TTM_PL_FLAG_NO_EVICT; + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) ++ ret = ttm_bo_validate(&bo->bo, &bo->placement, &ctx); ++#else + ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false); ++#endif + if (ret) { + DRM_ERROR("pushing to VRAM failed\n"); + return ret; ++++++ vbox-vboxadd-init-script.diff ++++++ --- /var/tmp/diff_new_pack.J4m8Qg/_old 2018-03-13 10:22:23.265318989 +0100 +++ /var/tmp/diff_new_pack.J4m8Qg/_new 2018-03-13 10:22:23.265318989 +0100 @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.6/src/VBox/Additions/linux/installer/vboxadd.sh +Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Additions/linux/installer/vboxadd.sh -+++ VirtualBox-5.2.6/src/VBox/Additions/linux/installer/vboxadd.sh +--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/installer/vboxadd.sh ++++ VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd.sh @@ -26,11 +26,14 @@ # Provides: vboxadd # Required-Start: @@ -18,14 +18,13 @@ ### END INIT INFO ## @todo This file duplicates a lot of script with vboxdrv.sh. When making -@@ -130,19 +133,10 @@ log() +@@ -130,18 +133,9 @@ log() - dev=vboxguest - userdev=vboxuser + dev=/dev/vboxguest + userdev=/dev/vboxuser -config=/var/lib/VBoxGuestAdditions/config owner=vboxadd group=1 - usergroup=vboxadd -if test -r $config; then - . $config @@ -38,33 +37,33 @@ running_vboxguest() { lsmod | grep -q "vboxguest[^_-]" -@@ -185,12 +179,6 @@ do_vboxguest_non_udev() - fail "Cannot create device /dev/$dev with major $maj and minor $min" +@@ -184,12 +178,6 @@ do_vboxguest_non_udev() + fail "Cannot create device $dev with major $maj and minor $min" } fi -- chown $owner:$group /dev/$dev 2>/dev/null || { -- rm -f /dev/$dev 2>/dev/null -- rm -f /dev/$userdev 2>/dev/null +- chown $owner:$group $dev 2>/dev/null || { +- rm -f $dev 2>/dev/null +- rm -f $userdev 2>/dev/null - rmmod vboxguest 2>/dev/null -- fail "Cannot change owner $owner:$group for device /dev/$dev" +- fail "Cannot change owner $owner:$group for device $dev" - } - if [ ! -c /dev/$userdev ]; then + if [ ! -c $userdev ]; then maj=10 -@@ -201,12 +189,6 @@ do_vboxguest_non_udev() +@@ -200,12 +188,6 @@ do_vboxguest_non_udev() rmmod vboxguest 2>/dev/null - fail "Cannot create device /dev/$userdev with major $maj and minor $min" + fail "Cannot create device $userdev with major $maj and minor $min" } -- chown $owner:$usergroup /dev/$userdev 2>/dev/null || { -- rm -f /dev/$dev 2>/dev/null -- rm -f /dev/$userdev 2>/dev/null +- chown $owner:$group $userdev 2>/dev/null || { +- rm -f $dev 2>/dev/null +- rm -f $userdev 2>/dev/null - rmmod vboxguest 2>/dev/null -- fail "Cannot change owner $owner:$usergroup for device /dev/$userdev" +- fail "Cannot change owner $owner:$group for device $userdev" - } fi fi } -@@ -216,9 +198,8 @@ start() +@@ -215,9 +197,8 @@ start() begin "Starting." # If we got this far assume that the slow set-up has been done. QUICKSETUP=yes @@ -75,8 +74,8 @@ + ps -A -o comm | grep -q '/*udevd$' 2>/dev/null || no_udev=1 running_vboxguest || { - rm -f /dev/$dev || { -@@ -231,7 +212,7 @@ start() + rm -f $dev || { +@@ -230,7 +211,7 @@ start() $MODPROBE vboxguest >/dev/null 2>&1 || { setup @@ -85,7 +84,7 @@ fail "modprobe vboxguest failed" } case "$no_udev" in 1) -@@ -254,14 +235,15 @@ start() +@@ -253,14 +234,15 @@ start() fi # INSTALL_NO_MODULE_BUILDS # Put the X.Org driver in place. This is harmless if it is not needed. @@ -103,7 +102,7 @@ # SELinux for the OpenGL libraries, so that gdm can load them during the # acceleration support check. This prevents an "Oh no, something has gone # wrong!" error when starting EL7 guests. -@@ -272,6 +254,15 @@ start() +@@ -271,6 +253,15 @@ start() chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" fi echo "/var/lib/VBoxGuestAdditions/lib" > /etc/ld.so.conf.d/00vboxvideo.conf @@ -119,8 +118,8 @@ fi ldconfig -@@ -408,9 +399,9 @@ create_udev_rule() - echo "KERNEL=${udev_fix}\"vboxuser\", NAME=\"${userdev}\", OWNER=\"${owner}\", GROUP=\"${usergroup}\", MODE=\"0660\"" >> /etc/udev/rules.d/60-vboxadd.rules +@@ -403,9 +394,9 @@ create_udev_rule() + echo "KERNEL=${udev_fix}\"vboxuser\", NAME=\"vboxuser\", OWNER=\"vboxadd\", MODE=\"0666\"" >> /etc/udev/rules.d/60-vboxadd.rules fi } - @@ -132,7 +131,7 @@ # And a post-installation script for rebuilding modules when a new kernel # is installed. mkdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d -@@ -440,45 +431,21 @@ shared_folder_setup() +@@ -435,45 +426,21 @@ shared_folder_setup() ## @todo It would be nicer if the kernel module just parsed parameters # itself instead of needing a separate binary to do that. ln -sf "${INSTALL_DIR}/other/mount.vboxsf" /sbin @@ -183,7 +182,7 @@ depmod # Remove old module sources -@@ -488,13 +455,14 @@ cleanup() +@@ -483,13 +450,14 @@ cleanup() fi # Clean-up X11-related bits @@ -202,10 +201,10 @@ fi rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null } -Index: VirtualBox-5.2.6/src/VBox/Additions/linux/installer/vboxadd-service.sh +Index: VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd-service.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh -+++ VirtualBox-5.2.6/src/VBox/Additions/linux/installer/vboxadd-service.sh +--- VirtualBox-5.2.8.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh ++++ VirtualBox-5.2.8/src/VBox/Additions/linux/installer/vboxadd-service.sh @@ -26,7 +26,7 @@ # Provides: vboxadd-service # Required-Start: vboxadd @@ -215,10 +214,10 @@ # Default-Stop: 0 1 6 # X-Conflicts-With: systemd-timesyncd.service # Description: VirtualBox Additions Service -Index: VirtualBox-5.2.6/src/VBox/Installer/linux/vboxautostart-service.sh +Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxautostart-service.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Installer/linux/vboxautostart-service.sh -+++ VirtualBox-5.2.6/src/VBox/Installer/linux/vboxautostart-service.sh +--- VirtualBox-5.2.8.orig/src/VBox/Installer/linux/vboxautostart-service.sh ++++ VirtualBox-5.2.8/src/VBox/Installer/linux/vboxautostart-service.sh @@ -23,7 +23,7 @@ # Provides: vboxautostart-service # Required-Start: vboxdrv @@ -228,10 +227,10 @@ # Default-Stop: 0 1 6 # Description: VirtualBox autostart service ### END INIT INFO -Index: VirtualBox-5.2.6/src/VBox/Installer/linux/vboxballoonctrl-service.sh +Index: VirtualBox-5.2.8/src/VBox/Installer/linux/vboxballoonctrl-service.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh -+++ VirtualBox-5.2.6/src/VBox/Installer/linux/vboxballoonctrl-service.sh +--- VirtualBox-5.2.8.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh ++++ VirtualBox-5.2.8/src/VBox/Installer/linux/vboxballoonctrl-service.sh @@ -23,7 +23,7 @@ # Provides: vboxballoonctrl-service # Required-Start: vboxdrv @@ -241,10 +240,10 @@ # Default-Stop: 0 1 6 # Description: VirtualBox watchdog daemon ### END INIT INFO -Index: VirtualBox-5.2.6/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +Index: VirtualBox-5.2.8/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh -+++ VirtualBox-5.2.6/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +--- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh ++++ VirtualBox-5.2.8/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh @@ -31,7 +31,7 @@ # Provides: testboxscript-service # Required-Start: $network @@ -254,10 +253,10 @@ # Default-Stop: 0 1 6 # Description: TestBoxScript service ### END INIT INFO -Index: VirtualBox-5.2.6/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +Index: VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh -+++ VirtualBox-5.2.6/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +--- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh ++++ VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network @@ -267,10 +266,10 @@ # Default-Stop: 0 1 6 # Description: VirtualBox Test Execution Service ### END INIT INFO -Index: VirtualBox-5.2.6/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +Index: VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh =================================================================== ---- VirtualBox-5.2.6.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh -+++ VirtualBox-5.2.6/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +--- VirtualBox-5.2.8.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh ++++ VirtualBox-5.2.8/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network
