From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 9 17:21:45 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 664F5BF7 for ; Sat, 9 Nov 2013 17:21:45 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F07D929B8 for ; Sat, 9 Nov 2013 17:21:44 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id q59so3119133wes.39 for ; Sat, 09 Nov 2013 09:21:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=lfYAPyxCnivbD2VTdbOvumLI7dQVOECYAAFmLpEjUxE=; b=rqLRtTb26766WHiPQDvl+waOe1PzXhVnFc7XpeNJOFkpSqnSdpd/ERxwkz+wnzSEQs UZ6lkS/fKVvcF+1mWIrK3ogE/t/JfjylOkjlSXsD4VSvdd5/EKMFsAwzI0z3KmT6USVq MNDGtP9ykvibMBM/2Vs3PRV1fzWTw1M9ine4PD3526YCRJB4oeVHNMutllWifFkqfFH1 gXTy7yRxSoqhI7GAg6x318zgDMxE8HRbZz5oJqrm9miI/0PzgZOYYJgheRl9oaNCXECr 0AHnIa0BASapUm9oTKNKCrqS5KRP6lu2M/hWQa/t+ciKE61cj5LMBAO51UKZtu+5MMbd Pukg== X-Received: by 10.180.106.133 with SMTP id gu5mr6646841wib.0.1384017702414; Sat, 09 Nov 2013 09:21:42 -0800 (PST) Received: from [10.10.50.70] (52.91.249.5.rev.vodafone.pt. [5.249.91.52]) by mx.google.com with ESMTPSA id y11sm16753625wie.7.2013.11.09.09.21.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Nov 2013 09:21:41 -0800 (PST) Message-ID: <527E6F25.7000101@gmail.com> Date: Sat, 09 Nov 2013 17:21:41 +0000 From: "Mike C." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= Subject: Re: [Call for Testers] VirtualBox 4.3.0 References: <526944B2.4040308@gmail.com> <52711A32.1090507@gmail.com> <74691383232657@web1m.yandex.ru> <52727961.7060607@gmail.com> <341571383246363@web22m.yandex.ru> <52736A40.4070609@gmail.com> <52755C6D.1080507@gmail.com> <52776705.6000502@gmail.com> <5277BEC0.8070505@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-emulation@freebsd.org, Volodymyr Kostyrko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 09 Nov 2013 17:21:45 -0000 On 11/09/13 07:00, Bernhard Fröhlich wrote: > > Am 04.11.2013 16:35 schrieb "Mike C." >: >> >> >> >> On 11/04/13 09:21, Volodymyr Kostyrko wrote: >> > 02.11.2013 22:11, Mike C. wrote: >> >>> Weird. VirtualBox is working for me on 10-STABLE (BETA2 right now I >> >>> suppose). `VBoxManage list ostypes` yields a lengthy list of systems. >> >>> >> >>> Maybe this is something about build options? I'm building it only with >> >>> DBUS GUESTADDITIONS NLS QT4 X11. Can you share your list of build >> >>> options? >> >>> >> >> >> >> I used the same options to compile and it and the include change, I was >> >> able to compile and install, but I still get the same problem with > 4.2... >> >> I need to run "VirtualBox" with root or sudo -u myuser... >> > >> > Have you added your user to vboxusers group? What kind of errors you >> > see? Is kernel module loaded? >> > >> >> the user in the vboxusers and kernel modules are loaded. >> >> Its a very weird behavior, because with sudo -u myuser I still using my >> regular user! >> >> What I guess is a segfault >> pid 2941 (VirtualBox), uid 1001: exited on signal 11 >> >> gdb: >> Copying output to gdb.txt. >> (gdb) run >> Starting program: /usr/local/bin/VirtualBox >> (no debugging symbols found)...[New LWP 100371] >> VirtualBox: Error -10 in SUPR3HardenedMain! >> VirtualBox: Effective UID is not root (euid=1001 egid=1001 uid=1001 >> gid=1001) > > This is it! Please have a look at /usr/local/lib/virtualbox and > /usr/local/bin/VirtualBox and check that they are owned by root and the > suid bit is set. I don't know yet who is stripping that but it could be > that you are building the port as non-root or the ports staging does > something stupid. > I'M building with root and the permissions are the default (this was reported before several times, its not just with 4.3, 4.2 had the same behavior with FreeBSD10) -rwsr-xr-x 1 root vboxusers 27712 Nov 2 17:15 /usr/local/lib/virtualbox/VirtualBox lrwxr-xr-x 1 root wheel 36 Nov 2 17:15 /usr/local/bin/VirtualBox -> /usr/local/lib/virtualbox/VirtualBox Thanks --