From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 19 21:28:17 2015 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0CCFB73F for ; Mon, 19 Jan 2015 21:28:17 +0000 (UTC) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E79E6BAB for ; Mon, 19 Jan 2015 21:28:16 +0000 (UTC) Received: from zeta.ixsystems.com (unknown [12.229.62.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 4007A2C5D; Mon, 19 Jan 2015 13:28:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1421702896; x=1421717296; bh=QFxsr9DCZJKQ9LVhBNxmSNQdiO+ORW+PdP7kzn3cxuA=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=AMTDi4Ueh3UDRWoeHA+G5mDM9UHOV69B/DC9X4aCg72aWrZUflS8Dc+EVLQvoFco5 /eNNaKjXcYBr1ryYngTN5nswAqNLHfvrmt4wUrGvJuVVNW4jux//tbGWzXcVdhrOhK 5cqdnIRaFBnVqK+3riJUp9OWn+A3p99Ql0b6+6Rc= Message-ID: <54BD76F0.7060409@delphij.net> Date: Mon, 19 Jan 2015 13:28:16 -0800 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, David Wolfskill Subject: Re: VirtualBox whines "(VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)." References: <20150119204745.GL1059@albert.catwhisker.org> In-Reply-To: <20150119204745.GL1059@albert.catwhisker.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 21:28:17 -0000 -----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 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-----