VirtualBox

Ticket #20928: virtualbox_ipc_socket_cleanup_fix_user.patch

File virtualbox_ipc_socket_cleanup_fix_user.patch, 514 bytes (added by Busan15, 2 years ago)

Patch to fix user check in IPC socket cleanup

  • src/VBox/Installer/linux/VBox.sh

     
    8686EOF
    8787fi
    8888
    89 SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
     89SERVER_PID=`ps -U ${LOGNAME:-$USER} | grep VBoxSVC | awk '{ print $1 }'`
    9090if [ -z "$SERVER_PID" ]; then
    9191    # Server not running yet/anymore, cleanup socket path.
    9292    # See IPC_GetDefaultSocketPath()!

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy