From 015e529abc1caa9a00f783ae3fe67f7d3664a609aa16fb0f0533f233a25e685e Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 29 Oct 2018 20:13:27 +0000 Subject: [PATCH] - Version bump to 5.2.20 (released October 16 2018 by Oracle) This is a maintenance release. The following items were fixed and/or added: VMM: fixed task switches triggered by INTn instruction (bug #17979) Storage: fixed connecting to certain iSCSI targets (bug #17507) Storage: fixed handling of flush requests when configured to be ignored when the host I/O cache is used (bug #17573) Drag and drop: implemented support for UNC paths (bug #17146) Drag and drop: fixed resuming operation when restoring from a saved state (bug #17649) Drag and drop: fixed copying files with long file names (> 248 characters) from guests to Windows hosts (bug #17447) Drag and drop: fixed handling files with Unicode names on Windows guests (bug #15501) Drag and drop: fixed copying empty (0-byte) files to / from guests (bugs #14863 + #17443) Drag and drop: fixed copying over files from hosts to Linux guests (bug #16025) Networking: restore connectivity for guests bridged to host adapters that were unavailable temporarily (Windows hosts, bug #17090) Guest Control: fixed hang when using --wait-stdout and/or --wait-stderr (bug #17386). Needs updating Guest Additions Video recording: fixed starting video recording on VM power up (bug #17307) Linux Additions: various build fixes for kernel modules on recent distributions, and made sure modules end up in initramfs files Linux Additions: build fixes for 4.19, thank you Larry Finger Linux Additions: various small fixes for video driver This version also addresses the following vulnerabilities: CVE-2018-0732, CVE-2018-2909, CVE-2018-3287 CVE-2018-3288, CVE-2018-3289, CVE-2018-3290, CVE-2018-3291, CVE-2018-3292, CVE-2018-3293, CVE-2018-3294, CVE-2018-3295, CVE-2018-3296, CVE-2018-3297, and CVE-2018-3298. bsc#1112097 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=446 --- UserManual.pdf | 4 +- VirtualBox-5.2.18-patched.tar.bz2 | 3 - VirtualBox-5.2.20-patched.tar.bz2 | 3 + autostart_config_dir.patch | 0 fix_32_bit_builds.patch | 34 ++++------ fixes_for_4.19.patch | 34 +++------- vbox-vboxadd-init-script.diff | 103 +++++++++++++++++------------- virtualbox-autostart.cfg | 0 virtualbox.changes | 27 ++++++++ virtualbox.spec | 7 +- 10 files changed, 115 insertions(+), 100 deletions(-) delete mode 100644 VirtualBox-5.2.18-patched.tar.bz2 create mode 100644 VirtualBox-5.2.20-patched.tar.bz2 create mode 100644 autostart_config_dir.patch create mode 100644 virtualbox-autostart.cfg diff --git a/UserManual.pdf b/UserManual.pdf index 961a097..0986cc3 100644 --- a/UserManual.pdf +++ b/UserManual.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dcf37730537c761fbe96fb063015d8126055a635bc531cb2ecdfb56aa0f1913c -size 4454881 +oid sha256:1fec3d098423c7f73a7c96389ee005f311c61efb45962b4a29320e93c30ac13e +size 4456573 diff --git a/VirtualBox-5.2.18-patched.tar.bz2 b/VirtualBox-5.2.18-patched.tar.bz2 deleted file mode 100644 index ba8e4be..0000000 --- a/VirtualBox-5.2.18-patched.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:240cec92e7198d2f55f68943f8440567c5f416ad88d16008d26f796b0263a623 -size 83375805 diff --git a/VirtualBox-5.2.20-patched.tar.bz2 b/VirtualBox-5.2.20-patched.tar.bz2 new file mode 100644 index 0000000..01f0242 --- /dev/null +++ b/VirtualBox-5.2.20-patched.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0b05bf26f812e1b56d1d790a6774eda9ead7bc6f4f99df7f530888aacb1be2b +size 83363280 diff --git a/autostart_config_dir.patch b/autostart_config_dir.patch new file mode 100644 index 0000000..473a0f4 diff --git a/fix_32_bit_builds.patch b/fix_32_bit_builds.patch index 51faec0..9cb575e 100644 --- a/fix_32_bit_builds.patch +++ b/fix_32_bit_builds.patch @@ -1,28 +1,20 @@ -Index: VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c +Index: VirtualBox-5.2.20/src/VBox/Additions/linux/sharedfolders/utils.c =================================================================== ---- VirtualBox-5.2.12.orig/src/VBox/Additions/linux/sharedfolders/utils.c -+++ VirtualBox-5.2.12/src/VBox/Additions/linux/sharedfolders/utils.c -@@ -50,7 +50,11 @@ static void sf_timespec_from_ftime(RTTIM +--- VirtualBox-5.2.20.orig/src/VBox/Additions/linux/sharedfolders/utils.c ++++ VirtualBox-5.2.20/src/VBox/Additions/linux/sharedfolders/utils.c +@@ -49,11 +49,11 @@ static void sf_timespec_from_ftime(RTTIM + int64_t t = 1000000000 * *time; RTTimeSpecSetNano(ts, t); } - #else /* >= 2.6.0 */ +-#else /* >= 2.6.0 */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 18, 0) +-static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts) +-#else ++#else /* >= 2.6.0 */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) -+static void sf_ftime_from_timespec(struct timespec64 *tv, RTTIMESPEC *ts) + static void sf_ftime_from_timespec(struct timespec64 *tv, RTTIMESPEC *ts) +#else - static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts) -+#endif ++static void sf_ftime_from_timespec(struct timespec *tv, RTTIMESPEC *ts) + #endif { int64_t t = RTTimeSpecGetNano(ts); - int64_t nsec; -@@ -60,7 +64,11 @@ static void sf_ftime_from_timespec(struc - tv->tv_nsec = nsec; - } - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) -+static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec64 *tv) -+#else - static void sf_timespec_from_ftime(RTTIMESPEC *ts, struct timespec *tv) -+#endif - { - int64_t t = (int64_t)tv->tv_nsec + (int64_t)tv->tv_sec * 1000000000; - RTTimeSpecSetNano(ts, t); diff --git a/fixes_for_4.19.patch b/fixes_for_4.19.patch index bc175dd..40d8bef 100644 --- a/fixes_for_4.19.patch +++ b/fixes_for_4.19.patch @@ -1,28 +1,14 @@ -Index: VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c +Index: VirtualBox-5.2.20/src/VBox/Additions/linux/drm/vbox_mode.c =================================================================== ---- VirtualBox-5.2.18.orig/src/VBox/Additions/linux/drm/vbox_mode.c -+++ VirtualBox-5.2.18/src/VBox/Additions/linux/drm/vbox_mode.c -@@ -536,7 +536,11 @@ static void vbox_set_edid(struct drm_con - for (i = 0; i < EDID_SIZE - 1; ++i) - sum += edid[i]; - edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) -+ drm_connector_update_edid_property(connector, (struct edid *)edid); -+#else +--- VirtualBox-5.2.20.orig/src/VBox/Additions/linux/drm/vbox_mode.c ++++ VirtualBox-5.2.20/src/VBox/Additions/linux/drm/vbox_mode.c +@@ -495,8 +495,8 @@ static void vbox_set_edid(struct drm_con + drm_connector_update_edid_property(connector, (struct edid *)edid); + #else drm_mode_connector_update_edid_property(connector, (struct edid *)edid); -+#endif - } +-} + #endif ++} static int vbox_get_modes(struct drm_connector *connector) -@@ -703,7 +707,11 @@ static int vbox_connector_init(struct dr - drm_connector_register(connector); - #endif - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) -+ drm_connector_attach_encoder(connector, encoder); -+#else - drm_mode_connector_attach_encoder(connector, encoder); -+#endif - - return 0; - } + { diff --git a/vbox-vboxadd-init-script.diff b/vbox-vboxadd-init-script.diff index 86aed93..4df3835 100644 --- a/vbox-vboxadd-init-script.diff +++ b/vbox-vboxadd-init-script.diff @@ -1,7 +1,7 @@ -Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh +Index: VirtualBox-5.2.20/src/VBox/Additions/linux/installer/vboxadd.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/Additions/linux/installer/vboxadd.sh -+++ VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh +--- VirtualBox-5.2.20.orig/src/VBox/Additions/linux/installer/vboxadd.sh ++++ VirtualBox-5.2.20/src/VBox/Additions/linux/installer/vboxadd.sh @@ -26,11 +26,14 @@ # Provides: vboxadd # Required-Start: @@ -18,7 +18,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh ### END INIT INFO ## @todo This file duplicates a lot of script with vboxdrv.sh. When making -@@ -138,18 +141,9 @@ module_build_log() +@@ -139,18 +142,9 @@ module_build_log() dev=/dev/vboxguest userdev=/dev/vboxuser @@ -37,7 +37,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh running_vboxguest() { lsmod | grep -q "vboxguest[^_-]" -@@ -192,12 +186,6 @@ do_vboxguest_non_udev() +@@ -193,12 +187,6 @@ do_vboxguest_non_udev() fail "Cannot create device $dev with major $maj and minor $min" } fi @@ -50,7 +50,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh if [ ! -c $userdev ]; then maj=10 -@@ -208,12 +196,6 @@ do_vboxguest_non_udev() +@@ -209,12 +197,6 @@ do_vboxguest_non_udev() rmmod vboxguest 2>/dev/null fail "Cannot create device $userdev with major $maj and minor $min" } @@ -63,7 +63,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh fi fi } -@@ -223,9 +205,8 @@ start() +@@ -224,9 +206,8 @@ start() begin "Starting." # If we got this far assume that the slow set-up has been done. QUICKSETUP=yes @@ -75,7 +75,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh no_udev=1 running_vboxguest || { rm -f $dev || { -@@ -238,7 +219,7 @@ start() +@@ -239,7 +220,7 @@ start() $MODPROBE vboxguest >/dev/null 2>&1 || { setup @@ -84,7 +84,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh fail "modprobe vboxguest failed" } case "$no_udev" in 1) -@@ -269,7 +250,8 @@ start() +@@ -270,7 +251,8 @@ start() rm -Rf /var/lib/VBoxGuestAdditions/lib if /usr/bin/VBoxClient --check3d 2>/dev/null; then mkdir -p /var/lib/VBoxGuestAdditions/lib @@ -94,7 +94,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh # 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. -@@ -280,6 +262,15 @@ start() +@@ -281,6 +263,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 @@ -110,7 +110,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh fi ldconfig -@@ -414,9 +405,9 @@ create_udev_rule() +@@ -455,9 +446,9 @@ create_udev_rule() echo "KERNEL=${udev_fix}\"vboxuser\", NAME=\"vboxuser\", OWNER=\"vboxadd\", MODE=\"0666\"" >> /etc/udev/rules.d/60-vboxadd.rules fi } @@ -123,7 +123,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh # And a post-installation script for rebuilding modules when a new kernel # is installed. mkdir -p /etc/kernel/postinst.d /etc/kernel/prerm.d -@@ -446,45 +437,21 @@ shared_folder_setup() +@@ -487,20 +478,13 @@ 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 @@ -142,24 +142,35 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh # setup_script setup() { -- export BUILD_TYPE -- export USERNAME -- -- MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER" -- BUILDINTMP="$MODULE_SRC/build_in_tmp" -- chcon -t bin_t "$BUILDINTMP" > /dev/null 2>&1 -- -- test -z "${INSTALL_NO_MODULE_BUILDS}" && setup_modules -- create_vbox_user -- create_udev_rule -- test -z "${INSTALL_NO_MODULE_BUILDS}" && create_module_rebuild_script -- test -n "${QUICKSETUP}" && return 0 -- shared_folder_setup -- if running_vboxguest || running_vboxadd; then -- info "Running kernel modules will not be replaced until the system is restarted" ++<<<<<<< found + export BUILD_TYPE + export USERNAME + +@@ -517,16 +501,33 @@ setup() + shared_folder_setup + if running_vboxguest || running_vboxadd; then + info "Running kernel modules will not be replaced until the system is restarted" - fi - return 0 ++||||||| expected ++ export BUILD_TYPE ++ export USERNAME ++ ++ MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER" ++ BUILDINTMP="$MODULE_SRC/build_in_tmp" ++ chcon -t bin_t "$BUILDINTMP" > /dev/null 2>&1 ++ ++ test -z "${INSTALL_NO_MODULE_BUILDS}" && setup_modules ++ create_vbox_user ++ create_udev_rule ++ test -z "${INSTALL_NO_MODULE_BUILDS}" && create_module_rebuild_script ++ test -n "${QUICKSETUP}" && return 0 ++ shared_folder_setup ++ if running_vboxguest || running_vboxadd; then ++ info "Running kernel modules will not be replaced until the system is restarted" ++======= + begin "Recompiling VirtualBox kernel module, NOT. It has been packaged." ++>>>>>>> replacement + succ_msg } @@ -174,7 +185,7 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh depmod # Remove old module sources -@@ -494,13 +461,14 @@ cleanup() +@@ -536,13 +537,14 @@ cleanup() fi # Clean-up X11-related bits @@ -193,10 +204,10 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd.sh fi rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null } -Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd-service.sh +Index: VirtualBox-5.2.20/src/VBox/Additions/linux/installer/vboxadd-service.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh -+++ VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd-service.sh +--- VirtualBox-5.2.20.orig/src/VBox/Additions/linux/installer/vboxadd-service.sh ++++ VirtualBox-5.2.20/src/VBox/Additions/linux/installer/vboxadd-service.sh @@ -26,7 +26,7 @@ # Provides: vboxadd-service # Required-Start: vboxadd @@ -206,10 +217,10 @@ Index: VirtualBox-5.2.14/src/VBox/Additions/linux/installer/vboxadd-service.sh # Default-Stop: 0 1 6 # X-Conflicts-With: systemd-timesyncd.service # Description: VirtualBox Additions Service -Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxautostart-service.sh +Index: VirtualBox-5.2.20/src/VBox/Installer/linux/vboxautostart-service.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/Installer/linux/vboxautostart-service.sh -+++ VirtualBox-5.2.14/src/VBox/Installer/linux/vboxautostart-service.sh +--- VirtualBox-5.2.20.orig/src/VBox/Installer/linux/vboxautostart-service.sh ++++ VirtualBox-5.2.20/src/VBox/Installer/linux/vboxautostart-service.sh @@ -23,7 +23,7 @@ # Provides: vboxautostart-service # Required-Start: vboxdrv @@ -219,10 +230,10 @@ Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxautostart-service.sh # Default-Stop: 0 1 6 # Description: VirtualBox autostart service ### END INIT INFO -Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxballoonctrl-service.sh +Index: VirtualBox-5.2.20/src/VBox/Installer/linux/vboxballoonctrl-service.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh -+++ VirtualBox-5.2.14/src/VBox/Installer/linux/vboxballoonctrl-service.sh +--- VirtualBox-5.2.20.orig/src/VBox/Installer/linux/vboxballoonctrl-service.sh ++++ VirtualBox-5.2.20/src/VBox/Installer/linux/vboxballoonctrl-service.sh @@ -23,7 +23,7 @@ # Provides: vboxballoonctrl-service # Required-Start: vboxdrv @@ -232,10 +243,10 @@ Index: VirtualBox-5.2.14/src/VBox/Installer/linux/vboxballoonctrl-service.sh # Default-Stop: 0 1 6 # Description: VirtualBox watchdog daemon ### END INIT INFO -Index: VirtualBox-5.2.14/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +Index: VirtualBox-5.2.20/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh -+++ VirtualBox-5.2.14/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh +--- VirtualBox-5.2.20.orig/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh ++++ VirtualBox-5.2.20/src/VBox/ValidationKit/testboxscript/linux/testboxscript-service.sh @@ -31,7 +31,7 @@ # Provides: testboxscript-service # Required-Start: $network @@ -245,10 +256,10 @@ Index: VirtualBox-5.2.14/src/VBox/ValidationKit/testboxscript/linux/testboxscrip # Default-Stop: 0 1 6 # Description: TestBoxScript service ### END INIT INFO -Index: VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +Index: VirtualBox-5.2.20/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh -+++ VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh +--- VirtualBox-5.2.20.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh ++++ VirtualBox-5.2.20/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs-nat.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network @@ -258,10 +269,10 @@ Index: VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs # Default-Stop: 0 1 6 # Description: VirtualBox Test Execution Service ### END INIT INFO -Index: VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +Index: VirtualBox-5.2.20/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh =================================================================== ---- VirtualBox-5.2.14.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh -+++ VirtualBox-5.2.14/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh +--- VirtualBox-5.2.20.orig/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh ++++ VirtualBox-5.2.20/src/VBox/ValidationKit/utils/TestExecServ/linux/vboxtxs.sh @@ -31,7 +31,7 @@ # Provides: vboxtxs # Required-Start: $network diff --git a/virtualbox-autostart.cfg b/virtualbox-autostart.cfg new file mode 100644 index 0000000..473a0f4 diff --git a/virtualbox.changes b/virtualbox.changes index dc23a05..5bff7a9 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Oct 29 20:11:57 UTC 2018 - Larry Finger + +- Version bump to 5.2.20 (released October 16 2018 by Oracle) + +This is a maintenance release. The following items were fixed and/or added: + +VMM: fixed task switches triggered by INTn instruction (bug #17979) +Storage: fixed connecting to certain iSCSI targets (bug #17507) +Storage: fixed handling of flush requests when configured to be ignored when the host I/O cache is used (bug #17573) +Drag and drop: implemented support for UNC paths (bug #17146) +Drag and drop: fixed resuming operation when restoring from a saved state (bug #17649) +Drag and drop: fixed copying files with long file names (> 248 characters) from guests to Windows hosts (bug #17447) +Drag and drop: fixed handling files with Unicode names on Windows guests (bug #15501) +Drag and drop: fixed copying empty (0-byte) files to / from guests (bugs #14863 + #17443) +Drag and drop: fixed copying over files from hosts to Linux guests (bug #16025) +Networking: restore connectivity for guests bridged to host adapters that were unavailable temporarily (Windows hosts, bug #17090) +Guest Control: fixed hang when using --wait-stdout and/or --wait-stderr (bug #17386). Needs updating Guest Additions +Video recording: fixed starting video recording on VM power up (bug #17307) +Linux Additions: various build fixes for kernel modules on recent distributions, and made sure modules end up in initramfs files +Linux Additions: build fixes for 4.19, thank you Larry Finger +Linux Additions: various small fixes for video driver + +This version also addresses the following vulnerabilities: CVE-2018-0732, CVE-2018-2909, CVE-2018-3287 + CVE-2018-3288, CVE-2018-3289, CVE-2018-3290, CVE-2018-3291, CVE-2018-3292, CVE-2018-3293, + CVE-2018-3294, CVE-2018-3295, CVE-2018-3296, CVE-2018-3297, and CVE-2018-3298. bsc#1112097 + ------------------------------------------------------------------- Thu Sep 20 19:24:48 UTC 2018 - Larry Finger diff --git a/virtualbox.spec b/virtualbox.spec index c6b5063..520742c 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -40,7 +40,7 @@ python3 -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile %define _udevrulesdir %{_sysconfdir}/udev/rules.d Name: virtualbox # ********* If the VB version exceeds 5.2.x, notify the libvirt maintainer!! -Version: 5.2.18 +Version: 5.2.20 Release: 0 Summary: VirtualBox is an Emulator License: GPL-2.0-or-later @@ -128,7 +128,6 @@ Patch124: gcc8-configure.patch Patch125: fixes_for_Qt5.11.patch # Switch to Python 3.6 Patch126: switch_to_python3.6.patch -# Fix 32-bit builds Patch127: fix_32_bit_builds.patch # Fix API changes for kernel 4.19+ Patch128: fixes_for_4.19.patch @@ -699,7 +698,7 @@ ln -sf %{_unitdir}/vboxdrv.service %{buildroot}%{_unitdir}/multi-user.target.wa ln -sf %{_unitdir}/vboxadd-service.service %{buildroot}%{_unitdir}/multi-user.target.wants/vboxadd-service.service # config file for vboxdrv script and vboxweb -install -d -m 1775 %{buildroot}%{_sysconfdir}/vbox +install -d -m 755 %{buildroot}%{_sysconfdir}/vbox echo -e "#settings for vboxwebsrn\nVBOXWEB_USER=root" > %{buildroot}%{_sysconfdir}/vbox/vbox.cfg # install udev helper script for creating usb devices install -m 0755 -D src/VBox/Installer/linux/VBoxCreateUSBNode.sh %{buildroot}%{_vbox_instdir}/VBoxCreateUSBNode.sh @@ -915,7 +914,7 @@ export DISABLE_RESTART_ON_UPDATE=yes %{_unitdir}/vboxdrv.service %{_unitdir}/multi-user.target.wants/vboxdrv.service %dir %{_sysconfdir}/vbox -%attr(1775,root,vboxusers) %{_sysconfdir}/vbox +##%attr(1775,root,vboxusers) %{_sysconfdir}/vbox %config %{_sysconfdir}/vbox/vbox.cfg /sbin/vboxconfig %{_vbox_instdir}/VBoxCreateUSBNode.sh