From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7760 invoked from network); 27 Jul 2021 04:36:38 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 27 Jul 2021 04:36:38 -0000 Received: (qmail 9379 invoked by uid 550); 27 Jul 2021 04:36:35 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9358 invoked from network); 27 Jul 2021 04:36:34 -0000 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; bh=v81kOrukTrrD9qb3pp7C8PwrbERjC5ALjDocudSNJ/I=; b=YwOSjaxkYvOU6CINuFosF+Z2O+2qjG+e4au2IdTEU2nWgh0tL2gjwW2oPisMQUbQgm 9JFDNKQtVCWHkKdJgqV/TVpuqLj2/bwGyzomx7+gVogfPgUgZS9istrbGl2Kbx9EakOe medpKlL9tFmYRZV6yqLSN9a9TK7juJZZIKCh/bECqZCScoVTwNKa6PUBzIRbQUG2xSMs I1jhm3U80E35SZN2Wf+rKM8UrARjKsdZ2mo8mEYeHfeYsc4FxUA6PzvSkkh+Kv1u6dg/ 0v9Z4X7LgPAhapTbl9WCXaMKNAGeIbto2kmtKYrOBJgvAs6cOY5G+76KWgtm3Em5tlt5 Gmcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v81kOrukTrrD9qb3pp7C8PwrbERjC5ALjDocudSNJ/I=; b=f+RvhM+rUqvxjbOWqeXuJIRbuG+CR1z3op98GfpACQPCTgrimeF9P53z5mQzHoL+ry 62boiQ9ttocgjCrJzgZi0MXdWjOy1yC8Zc8YW0O16tl3c+d3oOC19Effankf9oontkjk i9EmZURj/dBIEYGx4lTsIUVY4EZuSf+awFkp4/Mklj9dFlFkXPQFLsHZvMU8gWvP2yoE E8EY6JZq+8JBmuugu1IjGRu2Q1TL4VAHq5+Se2KcL98IBkTYNCZMG4sBdbySLL6bF8ye uZfbSTMw1WfMBIJjXsyycggtIyXkevESgpSVSdljZRIfsvQtFoUUxByUFTNQ/nZDLcGX 1ERA== X-Gm-Message-State: AOAM531QGTWb6EDiaub5wWhhYCtgv86x8T9eeEfr1IrXIpTXlBZtFvJR tGR110ZuDmK4MyRZaGUlA+nyn7EZ6f7QdlgtAw== X-Google-Smtp-Source: ABdhPJzT0I2+7tPMBKgN95KXWwzN98OlScZUSzrw5uXELBolWPbg8im49/4GH2RyIeCJQ/ggf/0B4mH+SlHMxIHkDgU= X-Received: by 2002:a05:6a00:1390:b029:32a:e2a2:74de with SMTP id t16-20020a056a001390b029032ae2a274demr20861359pfg.6.1627360582220; Mon, 26 Jul 2021 21:36:22 -0700 (PDT) MIME-Version: 1.0 References: <20210724014021.GM13220@brightrain.aerifal.cx> <1627169764.w6a53kypz8.none@localhost> In-Reply-To: <1627169764.w6a53kypz8.none@localhost> From: Yuri Kanivetsky Date: Tue, 27 Jul 2021 07:34:38 +0300 Message-ID: To: "Alex Xu (Hello71)" Cc: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] faccessat() always return EPERM Hi On Sat, Jul 24, 2021 at 4:40 AM Rich Felker wrote: > > No, it's almost surely Docker blocking the operation with the wrong > error code (EPERM): > > https://github.com/opencontainers/runc/issues/2151 > > I'm not sure what the status on getting fix deployed is. It might go > away if the host running Docker can upgrade. Indeed. It seems to depend on docker version: Debian 8 18.06.3-ce 0 Debian 8 18.06.3-ce 0 Debian 8 18.06.3-ce 0 Debian 8 18.06.3-ce 0 Debian 9 19.03.6 -1 Debian 9 19.03.13 -1 Debian 9 19.03.13 -1 Debian 9 19.03.14 -1 Debian 10 19.03.13 -1 Debian 10 19.03.13 -1 Debian 10 20.10.5 0 On Sat, Jul 24, 2021 at 4:57 AM Wolf wrote: > > Cannot reproduce over here, your sample program works for me in > alpine 3.14 container running under podman. What OS and docker version are you using? On Sat, Jul 24, 2021 at 8:56 AM Rich Felker wrote: > > I forgot to mention: if you can disable seccomp in Docker, that's a > workaround that doesn't require upgrading. Indeed, `--security-opt seccomp=unconfined` or `security_opt: [seccomp=unconfined]` (docker-compose) kind of resolve it. On Sun, Jul 25, 2021 at 2:36 AM Alex Xu (Hello71) wrote: > > https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2 Good point.