Re: VirtualBox whines (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).

2015-01-19 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01/19/15 12:47, David Wolfskill wrote:
 [Please include me in responses; I've set Reply-To appropriately.
 dhw]
 
 I am trying (for the first time) to get VirtualBox to work.  And
 when I select Start (using an image from a colleague who has run
 it successfully), I get a VirtualBox - Error pop-up window:
 
 Failed to open a session for the virtual machines [Vmachine name
 here]
 
 Failed to loaf VMMRO.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).
[...]
 So: what must I do in order for VirtualBox to actually work?

I find it annoying too!  These so called hardening validations may
be useful for e.g. running it as a service but have little value on a
single user system that one do experiments on.

I have this custom patch on my own system.  It's probably useful if we
make a non-default compile time option for the port, too.

- --- src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp.orig
2014-11-21 07:22:24.0 -0800
+++ src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp2015-01-19
13:25:33.967507747 -0800
@@ -1347,7 +1347,7 @@
 static int supR3HardenedVerifyFsObject(PCSUPR3HARDENEDFSOBJSTATE
pFsObjState, bool fDir, bool fRelaxed,
const char *pszPath,
PRTERRINFO pErrInfo)
 {
- -#if defined(RT_OS_WINDOWS)
+#if 1
 /** @todo Windows hardening. */
 NOREF(pFsObjState); NOREF(fDir); NOREF(fRelaxed); NOREF(pszPath);
NOREF(pErrInfo);
 return VINF_SUCCESS;


Cheers,
- -- 
Xin LI delp...@delphij.nethttps://www.delphij.net/
FreeBSD - The Power to Serve!   Live free or die
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.1.1 (FreeBSD)

iQIcBAEBCgAGBQJUvXbsAAoJEJW2GBstM+nsY6YP/jOcyBSU9+/DeNdSpbfQwOAj
TuGaR7zuJHiatumE5I+3uCEG5hUTGgvQWVwh5TQkhe+Tg7ycqUMAOz6hXkbLIkua
eQqQncu0QubBKNSG1NexNSsqBx4NJstvjg+g9rSHi1WfVldTjXj1HJUrFl0FUyY2
8OQEcnTVJzgr1LMXLVTo343+uAY1hY61kmb15yvS3K6ucaPWnIx1h9VE3p91KOAu
8ZKkynpRyHQSYJY8OoPk0pA+cz8ZOZVGKsuH/bov+OCihKsca71iuClfrbV5RLvJ
BAFv84lMhciXWGpA32+fH1OyKV5TFgPk11uaORdZzFnWpGcuMPuAPU0dMUOLabD1
E5hoNceapIjCVyxnMpOLivF89oQogx1SVap9l92sI0TwJJTj2KfDG5dUCg7gv/xf
7k2EkblSj6R9hv7efv5uNb4RmN8f0TvOAeoXfKx4cMDgvwuaCQZIi5Z7gsTja4bU
6HIN80wRHgr/f68FbEqt96JEhkHvCV1uDp9KJhBQZs5e2NbMP48Olg+5OT5CPlZm
ZuT+UZQiWoFzn2tVFOBUBdIx7BzWaJCeY3hxCFZBSICVNccxLYPGPDHF52jv4Abe
zNh3RO1Wl/D6sHrF4iX2gsyKhHZCxnJZzMz7vzuVNylQo4Jhcvw4U6cddOS1df3n
fNhPuzFYSLNnl20ndQQF
=ZIcq
-END PGP SIGNATURE-
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox whines (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).

2015-01-19 Thread David Wolfskill
On Mon, Jan 19, 2015 at 01:28:16PM -0800, Xin Li wrote:
 On 01/19/15 12:47, David Wolfskill wrote:
 ...
  Failed to open a session for the virtual machines [Vmachine name
  here]
  
  Failed to loaf VMMRO.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).

[That should have read load -- sorry.  dhw]

 [...]
  So: what must I do in order for VirtualBox to actually work?
 
 I find it annoying too!  These so called hardening validations may
 be useful for e.g. running it as a service but have little value on a
 single user system that one do experiments on.

Indeed.

 I have this custom patch on my own system.  It's probably useful if we
 make a non-default compile time option for the port, too.
 

Cool; thanks!  I'll hack a bit :-}

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpxr86QFmHFb.pgp
Description: PGP signature