philip@banana:~$ sudo sh -x /opt/VBoxGuestAdditions-5.0.7/init/vboxadd setup + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/bin:/sbin:/usr/sbin + PACKAGE=VBoxGuestAdditions + LOG=/var/log/vboxadd-install.log + MODPROBE=/sbin/modprobe + OLDMODULES=vboxguest vboxadd vboxsf vboxvfs vboxvideo + + grep -q ^allow_unsupported_modules *0 /sbin/modprobe -c + uname -m + cpu=x86_64 + cpu=amd64 + lib_candidates=/usr/lib/x86_64-linux-gnu /usr/lib64 /usr/lib /lib64 /lib + test -d /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions + lib_path=/usr/lib/x86_64-linux-gnu + break + [ -f /etc/redhat-release ] + [ -f /etc/SuSE-release ] + [ -f /etc/gentoo-release ] + [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ] + system=other + [ other = redhat ] + [ other = suse ] + [ other = gentoo ] + [ other = lfs ] + [ other = other ] + dev=/dev/vboxguest + userdev=/dev/vboxuser + config=/var/lib/VBoxGuestAdditions/config + owner=vboxadd + group=1 + setup + test -r /var/lib/VBoxGuestAdditions/config + . /var/lib/VBoxGuestAdditions/config + INSTALL_DIR=/opt/VBoxGuestAdditions-5.0.7 + INSTALL_MODULES_DIR=/opt/VBoxGuestAdditions-5.0.7/installer/ + INSTALL_MODULES_LIST= + UNINSTALLER=uninstall.sh + INSTALL_VER=5.0.7 + INSTALL_REV=103368 + BUILD_TYPE=release + USERNAME=vbox + test -n /opt/VBoxGuestAdditions-5.0.7 -a -n 5.0.7 + export BUILD_TYPE + export USERNAME + MODULE_SRC=/opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7 + BUILDINTMP=/opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/build_in_tmp + DODKMS=/opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/do_dkms + chcon -t bin_t /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/build_in_tmp + chcon -t bin_t /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/do_dkms + setup_modules + cleanup_modules + which dkms + [ -n ] + begin Removing existing VirtualBox non-DKMS kernel modules + echo -n Removing existing VirtualBox non-DKMS kernel modules Removing existing VirtualBox non-DKMS kernel modules+ + xargs rmfind /lib/modules -name vboxguest* + + xargs rm find /lib/modules -name vboxadd* + + find /lib/modules -name vboxsf* xargs rm + + xargs rm find /lib/modules -name vboxvfs* + + xargs rm find /lib/modules -name vboxvideo* + succ_msg + echo ...done. ...done. + begin Building the VirtualBox Guest Additions kernel modules + echo -n Building the VirtualBox Guest Additions kernel modules Building the VirtualBox Guest Additions kernel modules+ which dkms + [ -n ] + test_for_gcc_and_make + which make + which gcc + test_sane_kernel_dir + uname -r + KERN_VER=3.16.0-44-generic + KERN_DIR=/lib/modules/3.16.0-44-generic/build + [ -d /lib/modules/3.16.0-44-generic/build ] + make -sC /lib/modules/3.16.0-44-generic/build --no-print-directory kernelrelease + KERN_REL=3.16.7-ckt14 + [ -z 3.16.7-ckt14 -o x3.16.7-ckt14 = x3.16.0-44-generic ] + printf \nThe headers for the current running kernel were not found. If the following\nmodule compilation fails then this could be the reason.\n The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason. + [ other = redhat ] + [ other = suse ] + [ other = debian ] + echo + begin Building the main Guest Additions module + echo -n Building the main Guest Additions module Building the main Guest Additions module+ /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/build_in_tmp --save-module-symvers /tmp/vboxguest-Module.symvers --module-source /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/vboxguest --no-print-directory install + succ_msg + echo ...done. ...done. + begin Building the shared folder support module + echo -n Building the shared folder support module Building the shared folder support module+ /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/build_in_tmp --use-module-symvers /tmp/vboxguest-Module.symvers --module-source /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/vboxsf --no-print-directory install + succ_msg + echo ...done. ...done. + uname -r + expr 3.16.0-44-generic < 2.6.27 + begin Building the OpenGL support module + echo -n Building the OpenGL support module Building the OpenGL support module+ /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/build_in_tmp --use-module-symvers /tmp/vboxguest-Module.symvers --module-source /opt/VBoxGuestAdditions-5.0.7/src/vboxguest-5.0.7/vboxvideo --no-print-directory install + succ_msg + echo ...done. ...done. + depmod + return 0 + mod_succ=0 + extra_setup + begin Doing non-kernel setup of the Guest Additions + echo -n Doing non-kernel setup of the Guest Additions Doing non-kernel setup of the Guest Additions+ echo Creating user for the Guest Additions. + useradd -d /var/run/vboxadd -g 1 -r -s /bin/false vboxadd + useradd -d /var/run/vboxadd -g 1 -u 501 -o -s /bin/false vboxadd + groupadd -r -f vboxsf + [ -d /etc/udev/rules.d ] + echo Creating udev rule for the Guest Additions kernel module. + udev_call= + which udevadm + udev_app=/sbin/udevadm + [ 0 -eq 0 ] + udev_call=/sbin/udevadm version 2> /dev/null + udev_fix== + [ /sbin/udevadm version 2> /dev/null != ] + /sbin/udevadm version 2> /dev/null + udev_out=208 + expr 208 : [^0-9]*\([0-9]*\) + udev_ver=208 + [ 208 = -o 208 -lt 55 ] + echo KERNEL=="vboxguest", NAME="vboxguest", OWNER="vboxadd", MODE="0660" + echo KERNEL=="vboxuser", NAME="vboxuser", OWNER="vboxadd", MODE="0666" + ln -sf /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf /sbin + ln -sf /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/vboxadd /sbin/rcvboxadd + ln -sf /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/vboxadd-x11 /sbin/rcvboxadd-x11 + chcon -u system_u -t mount_exec_t /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf + cat /etc/redhat-release + redhat_release= + succ_msg + echo ...done. ...done. + [ 0 -eq 0 ] + running_vboxguest + + lsmod grep -q vboxguest[^_-] + printf You should restart your guest to make sure the new modules are actually used\n\n You should restart your guest to make sure the new modules are actually used + exit