From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: chroot/aarch64 issues Date: Tue, 05 Jul 2016 16:44:15 +0200 Message-ID: <87d1msw3eo.fsf@gnu.org> References: <20160704104248.GA32334@debian-netbook> <87h9c5ed87.fsf@gnu.org> <20160704141514.GB32334@debian-netbook> <87oa6czd4w.fsf@gnu.org> <20160705122848.GE6523@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKRaI-0005AX-Sq for guix-devel@gnu.org; Tue, 05 Jul 2016 10:44:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKRaE-0007FZ-Ew for guix-devel@gnu.org; Tue, 05 Jul 2016 10:44:21 -0400 In-Reply-To: <20160705122848.GE6523@debian-netbook> (Efraim Flashner's message of "Tue, 5 Jul 2016 15:28:48 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org Efraim Flashner skribis: > On Tue, Jul 05, 2016 at 10:45:51AM +0200, Ludovic Court=C3=A8s wrote: >> Efraim Flashner skribis: >>=20 >> > On Mon, Jul 04, 2016 at 03:37:12PM +0200, Ludovic Court=C3=A8s wrote: >> >> Hi! >>=20 >> If the kernel config corresponds to this kernel, I don=E2=80=99t see whi= ch of >> the other EINVAL reasons given in clone(2) would apply. Does =E2=80=98d= mesg=E2=80=99 >> show something? >>=20 >> Could you maybe try a C program that invokes clone(2) and progressively >> remove CLONE_ flags until you find the one that=E2=80=99s causing EINVAL? >>=20 >> Thanks, >> Ludo=E2=80=99. > > I grabbed the code from man 2 clone and ran that on the odroid, which > told me "clone: Operation not permitted" This is expected; quoth clone(2): --8<---------------cut here---------------start------------->8--- EPERM CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEW= UTS was specified by an unprivi=E2=80=90 leged process (process without CAP_SYS_ADMIN). --8<---------------cut here---------------end--------------->8--- Can you try running it as root? Ludo=E2=80=99.