From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd3e.google.com (mail-io1-xd3e.google.com [IPv6:2607:f8b0:4864:20::d3e]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id fbae599d for ; Wed, 26 Dec 2018 15:30:26 +0000 (UTC) Received: by mail-io1-xd3e.google.com with SMTP id r65sf19365944iod.12 for ; Wed, 26 Dec 2018 07:30:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1545838224; cv=pass; d=google.com; s=arc-20160816; b=ZiV+f6ZQAxB84kwU1Ln6klDK55zEf8ev1a+dUofKJnKi4xQWu1hSANpzoz7oJ9W8eK GKHU/TxGKC9vlICrGBXx5QY8JXaqP9+nJXILYxqtTBkHHPWoBiGZefFJU3qkreTDc45q /XjYXodqSis13sKxwwJwGkbJzeXZ9gdtxm/PgUWMiUT82A91cJnNFCqbl11s+KUvRloJ T4sDSHUg4VGHwNK81Nldj4xwngSg+bHkisolMUTVjEc0OTgh5nMyPjaimDNPmGCcRpGc a5PlbA/jWEurlppsG8ibS1T2YnKJEF7nL41aVb/cjYLByNUtQ6Mjn3xQsMQMPgmf4Qm8 JlzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding:cc:to :subject:message-id:date:from:in-reply-to:references:mime-version :sender:dkim-signature:dkim-signature; bh=HqrqrE3F9maVwheFe/1fl6HtNtmL0owvBH+JXsq1NGw=; b=JBojzITPEUJuEYElBSY+SNNPj5M/blHP7YpNOPwH1gVv4015lWe1BXRA7QjYnU9hfp VE8zwtZBG4Bhi9lVZvxvKYFBpw+BsrriUTqvho6JI+6OH9PaXnIjxxdF7CqENxVkTSyV WUjD4/+LvpYqd19i+VpCTWv0WSIR+pBwaVddmE82CNgbe5Vh/Sww49hyq6VekQY8ByLf LCWjG53OxgtXZVhU2j0vC/lY8FvzmhqDbTzUDEi6KxVV43evPUwCcogzfkVD1lv6ADa4 5FCZuSwGxWSr3IpVUq1YgkI2DO3fAQ0SuKHio0h5/SWIf2TiWN2qdUYyl7VdNLTp4l9/ c4DA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VAkj7sJu; spf=pass (google.com: domain of aleksey.tulinov@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) smtp.mailfrom=aleksey.tulinov@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=HqrqrE3F9maVwheFe/1fl6HtNtmL0owvBH+JXsq1NGw=; b=HatNk3wEzHLh+i5LJ23QB93gvVYyDotnR9H9x+ajujqvNAzByJfDTin0BH93yHQYxR M8qcCFOvPQ9W8q2FYoJ8N8CBZqjjz6iNMC4yTn37oMSeM49m4FhSyYWTgowioXabV5Pl s8hTn5g6M1cnR4+UY8f/8oRtZuvlkNuNRCp4HkM/Wt6jNvBfbI9kVuts4bY9n/vLAEaH qcZgOjmrV7sHHF/j1oXkwrEnGhkLQF+TBqxXbL8q6iV9kz90sFy4m0F3NXGdHA2jQNF9 3EHDxifnTHuYesM8dOPwUXswIhzwTKXzNSyswVfn0kocirX1DkXcij5DG3Kc2wbmLRkh y5eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=HqrqrE3F9maVwheFe/1fl6HtNtmL0owvBH+JXsq1NGw=; b=htzl5BhiI186OQWF1mQgAdndqgy09xSxEHHkxzm4Gr9SsmUPik8DE1+ula+xL/5zN+ ytMXNUgnosT9CXxFC6hZoDga3clgMEHuNYfF+s0xfX+rCIWW+K8D3OHlQHeZnbPzCatq ObY6ev9z3OcO4ssxke+/3mhUdmYYp1z0EmxO+vmbgvWrSWlf/z/DwT02Ym1kUPiH3PtW UuRxUB4FV7kMjL/0r8IBLSMO8kfW2xfTMxao5Z0ifRgxC31PXgBPZ3wm78QqYKs67k3w XJCwNZG/r/F6RK6DiLhy6tAFw7WgDneVVksljDyu41USMOhS0jHpbtI2uPXAyszwVsqu fJEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:cc:content-transfer-encoding :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=HqrqrE3F9maVwheFe/1fl6HtNtmL0owvBH+JXsq1NGw=; b=IhfCP9rqb4jTZBa6zTIF/WIgwRE6n+zsKTOAhZPl4WRuAPcKeMRc+U06DSvxCGD4Kf /DXAwAAEpBbx8nDbnsG5oXi7kEXVNR58rDKAFkeJU0Jndp2Ches4e/t3QxMpxhva/2Ii IcI0CfBEuHzePHokowCHajCKMeokupnM/i2dugi3vc3Z2OzHSORTmAIau346Y2fJXIw2 CD37pOY/qvHPryYZOBiyDPmb3JP1ztebTv+nmlRox7PVdghMAVY8DszDFrqIl3v94359 JsA4RAzuRHNchPkp0Iw9/Gzt763dzj4sRWlxR/DkmbomMc9VQdnd/5T45fVAFR/V3nvY gNEg== Sender: voidlinux@googlegroups.com X-Gm-Message-State: AA+aEWY0eF4OCUWG8KwqolAKc6JFF9ox29WHLsCF/q7rj7zmR5EPloep elgfWcjSk7ZUUbOKmo7G2Jk= X-Google-Smtp-Source: AFSGD/XFFoqG6QIhwThK9HS0TgskH00YcPTcdBA1O3JT5Llfn0kSleJU13xvXUzCcyE/FDoPpErCpA== X-Received: by 2002:a02:49ce:: with SMTP id p75mr97721jad.4.1545838224682; Wed, 26 Dec 2018 07:30:24 -0800 (PST) X-BeenThere: voidlinux@googlegroups.com Received: by 2002:a02:97f1:: with SMTP id v46ls3190122jaj.0.gmail; Wed, 26 Dec 2018 07:30:24 -0800 (PST) X-Received: by 2002:a02:97da:: with SMTP id v26mr16114983jaj.1.1545838224255; Wed, 26 Dec 2018 07:30:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545838224; cv=none; d=google.com; s=arc-20160816; b=Ah4TaKaYjoSdBV/6lUIbRhKaTXgrepH4D1y9QUdrZUB5c+BtuJmaHn0pBlx4arnSN6 tCBD2u7PPKDARHd01iQu/vJIVmfAzD0MO85SlomUqMh2VmYLtsGJUxUGUZ789vlQEGd+ I+Sd044uzLjHSvP2ywZ1WmkFKThxN1PL+0m/rLWS4baoAtll/IaLk9/Ph82qIwFu4p/f ykesbQpqRmDS7oXeBW4M+Utotlg1tDEhOxzdl618Ur4nImQHqC1Fl4nohnFOmLqZvNDi RoqNdi1KRwEVneu42msB32ei/x9CSKJ4X4nbyzQBILdbZWU48nfRBBrSwvrxEosgUPUa vo3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=G6hKwtKax7FCw7lxp/aijaEOvwhec812E55SbjP7xfA=; b=SJJM2tlCRiYPv72r1yq51P+x+yiYJMx9dG6AN86D7mPVZzVcerZ9nmSxnBRCJVmgsy QgVj24N8d4F6MKdGQnEW8+K0cJZ+ONyeuZjeyuzZV/HjcRFx9hkqL8yv9oIUKggvF5e4 PorgSq95vuh7CD9DLP0l1ALkw1wayBx5rbbiAcgUEUFY/iPWdSnkHgJ+KAC+GWiBQ8YJ /knRFmtPWd9nO9YZQj+f5ZY2ez6jU9STA3iT25PyIBwR8AosqUoSmx4GPkGZf9dztJbK 5VuN4EISlewbE78E8bS+8hbkCEU0L+BskqEtorWBcCY33QQ2xWJhD2ZkgX1IdhVm2Hsv uw5w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VAkj7sJu; spf=pass (google.com: domain of aleksey.tulinov@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) smtp.mailfrom=aleksey.tulinov@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com. [2607:f8b0:4864:20::232]) by gmr-mx.google.com with ESMTPS id v11si111440ios.5.2018.12.26.07.30.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 07:30:24 -0800 (PST) Received-SPF: pass (google.com: domain of aleksey.tulinov@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) client-ip=2607:f8b0:4864:20::232; Received: by mail-oi1-x232.google.com with SMTP id x23so13155686oix.3 for ; Wed, 26 Dec 2018 07:30:24 -0800 (PST) X-Received: by 2002:aca:c0c6:: with SMTP id q189mr12180585oif.226.1545838223935; Wed, 26 Dec 2018 07:30:23 -0800 (PST) MIME-Version: 1.0 References: <871s65og6a.fsf@vuxu.org> In-Reply-To: From: Aleksey Tulinov Date: Wed, 26 Dec 2018 18:30:12 +0300 Message-ID: Subject: Re: xbps-src reposync error To: Jonathan Schultz Cc: Leah Neukirchen , voidlinux@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Original-Sender: aleksey.tulinov@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VAkj7sJu; spf=pass (google.com: domain of aleksey.tulinov@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) smtp.mailfrom=aleksey.tulinov@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list voidlinux@googlegroups.com; contact voidlinux+owners@googlegroups.com List-ID: X-Google-Group-Id: 289663804196 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , I saw something similar before: https://github.com/Microsoft/WSL/issues/298= 1 Although it was WSL-related, user namespaces something something. =D1=81=D1=80, 26 =D0=B4=D0=B5=D0=BA. 2018 =D0=B3. =D0=B2 08:34, Jonathan Sc= hultz : > > >> >> ERROR unshare (Operation not permitted) >> >> This is the actual error: unshare does not have setgid (or you are not >> in the group). > > > I believe the error is actually related to running xbps-src inside a Dock= er container, as setting setgid, or running as root make no difference. For= the record, after much trial-and-error I have managed to find a combinatio= n that works. It required running the container as user root, and with both= the --privileged and --cap-add=3DSYS_ADMIN options. > > However I have not entirely given up on finding a simpler solution. One p= romising route seemed to be to use the proot utility, which works in usersp= ace, thus potentially avoiding all these permission problems. However when = I try building using proot I see the following: > > > configure: creating ./config.status > > config.status: creating MakefileI the following: > > mv: cannot move './confT6XesZ/out' to 'Makefile': No such file or direc= tory > > config.status: error: could not create Makefileerrors > > I've had a bit of a go at reverse engineering the xbps-src build process,= but found it all a bit confusing, so wondering if anyone might have seen s= omething like this before. > > Thanks as always. > > -- > You received this message because you are subscribed to the Google Groups= "voidlinux" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to voidlinux+unsubscribe@googlegroups.com. > To post to this group, send email to voidlinux@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/voidlinux/CAN_yh5FT6-KeR4SDKT0%3DXU9%3DQoqaV18%3Dcr3ust0wsksVsKTtnQ%40mai= l.gmail.com. > For more options, visit https://groups.google.com/d/optout. --=20 You received this message because you are subscribed to the Google Groups "= voidlinux" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to voidlinux+unsubscribe@googlegroups.com. To post to this group, send email to voidlinux@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= voidlinux/CAMteYTZHt8LOeBukf1ahZc1qyD7tbLU9oMD9n_%3Dp43SzF6Oh9w%40mail.gmai= l.com. For more options, visit https://groups.google.com/d/optout.