Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 778115 Details for
Bug 843776
app-emulation/virtualbox: Wrong IPC socket being deleted when VirtualBox is run via su on Linux, leading to possible disk corruption in VMs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to replace the use of whoami with $LOGNAME/$USER
virtualbox_ipc_socket_cleanup_fix_user.patch (text/plain), 430 bytes, created by
Johan Hedlin
on 2022-05-11 11:18:04 UTC
(
hide
)
Description:
Patch to replace the use of whoami with $LOGNAME/$USER
Filename:
MIME Type:
Creator:
Johan Hedlin
Created:
2022-05-11 11:18:04 UTC
Size:
430 bytes
patch
obsolete
>--- virtualbox-ose-6-wrapper 2022-05-05 15:52:22.607272764 +0200 >+++ virtualbox-ose-6-wrapper 2022-05-05 15:52:16.403422788 +0200 >@@ -60,7 +60,7 @@ > EOF > fi > >-SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` >+SERVER_PID=`ps -U ${LOGNAME:-$USER} | grep VBoxSVC | awk '{ print $1 }'` > if [ -z "$SERVER_PID" ]; then > # Server not running yet/anymore, cleanup socket path. > # See IPC_GetDefaultSocketPath()!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 843776
: 778115 |
778118