ptrace suid?
I've got a very strange virtualbox problem: I have two hosts sharing
/home with NFS. The two machines are very close to identical: same
CPU, same motherboard, same amount of memory. Same kernel version, same
virtualbox version, same versions of all the libraries virtualbox
depends on.
If I run virtualbox on one of the machines, it works. On the other, I
get an immediate segmentation fault if I run as a user, but it works if
I run sudo. I have reinstalled virtualbox; I have verified that all the
files in /usr/lib/virtualbox have identical permissions on the two
machines. I am a member of vboxusers on both machines.
I'm at a stage of frustration where I want to run strace to try to see
where the seg fault is happening. Unfortunately, due to a past
exploit, suid bits are silently ignored when ptrace is active, so when I
run it with strace I get an error to the effect that I need to be root
(googling leads me to believe I'm far from the first person to run into
this!).
So: is there any way to temporarily make my machine honor the suid bit
when running with ptrace? I expect the answer is "no" or I'd have come
across the way to do it by now, but I figure it can't hurt to ask....
Reply to: