Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 13:28:16 -0800
From:      Xin Li <delphij@delphij.net>
To:        freebsd-emulation@freebsd.org, David Wolfskill <david@catwhisker.org>
Subject:   Re: VirtualBox whines "(VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)."
Message-ID:  <54BD76F0.7060409@delphij.net>
In-Reply-To: <20150119204745.GL1059@albert.catwhisker.org>
References:  <20150119204745.GL1059@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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.000000000 -0800
+++ src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp	2015-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 <delphij@delphij.net>    https://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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54BD76F0.7060409>