From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8N0vJVbAeGPfqAAAbAwnHQ (envelope-from ) for ; Sat, 19 Nov 2022 12:39:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uLIVJVbAeGNOLAAAauVa8A (envelope-from ) for ; Sat, 19 Nov 2022 12:39:02 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6068C19570 for ; Sat, 19 Nov 2022 12:39:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owLtW-0006Td-To; Sat, 19 Nov 2022 06:20:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owLpM-0004Pf-2j for help-guix@gnu.org; Sat, 19 Nov 2022 06:16:04 -0500 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owLpK-0004ll-Cw for help-guix@gnu.org; Sat, 19 Nov 2022 06:16:03 -0500 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-3938dc90ab0so53234637b3.4 for ; Sat, 19 Nov 2022 03:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kYcizcT5FzLTDc5JA08wU5omTIGMsihpwSn8IJnO62E=; b=pcXlvIG5e+HQGjdy+RZOLWwgWYvtTrqlwd42+Jnj458F3cllRzb4WCenJvfVBCnyU4 kFk4FvQZLb8bvejS9Byw6Cr2hvdbAcob4vlgW2NuxM/rHA3IE8yOfMauuaezh6Fh+ohC KmWrsj55u1xdm8Y2kcXm4GtzpePd+P0oBb6Q8GQPCobNQyUbcP97immStmP7WdT2OeWK RXWEggPQNf2qMUcdEeZJ03xF53a2lLQqjBR0gNBYADJXuOURtj1NGL6cp0euDDnIcyUd mCeK50lwWvBgwNn+p/hv945dLwQ/9KyvvqegQH1JTllJew5jsrmk4hHKDGR5C0uc4c5c Wzmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kYcizcT5FzLTDc5JA08wU5omTIGMsihpwSn8IJnO62E=; b=EEkFabzkbuZBjSUae6kYv2Rvj6qkY+TBla1ngGkrYk4sS1cLTtUprYHhkMnR5oCq+V cq5f0E4SiR4XD7hZ+gfJvh5u8BkBwOHBOPftkjsJYx4IPoBKXX0QGj5Uxrbo3xvzmaY8 qfrBjR15d4LeO0CunLVPAxCxCcIaDrDiWC0ZrtdGh7fnRhuqVt7Nw1uOzOHAi0jrlznc w9M6ZBAOVrVJREllNvA5UWjvNlU37Y2zCHmLCnYqcDW+umFmfdJkko3TexfZDVaqQpT+ q7PuT5e3qJKNXM8vamK5/oJiLLs6KFNxOKMl4u+xyK/MfTPeBFlWM9CNvwTKureNMAgn 3vUA== X-Gm-Message-State: ANoB5pmNpnqGuA3Y7DjI1GTf+rwT4eWZlTURwKnTabEJZPZr64XowQpH KxzSbN6OW4FvWH0840ly38Ip/NEFmq6gabrmGvZrgP7G8X0= X-Google-Smtp-Source: AA0mqf7HiZqcFpZ6tOJQ9BnnTXQ8M/abe+lbgYzSsZwGW3GKzbZYJYT0nZa9GTKqq3ibUNA0ZrKtecwxdV1NIPxiMwE= X-Received: by 2002:a81:5a83:0:b0:367:7d5a:3403 with SMTP id o125-20020a815a83000000b003677d5a3403mr9987471ywb.148.1668856560501; Sat, 19 Nov 2022 03:16:00 -0800 (PST) MIME-Version: 1.0 From: bbb ee Date: Sat, 19 Nov 2022 12:15:49 +0100 Message-ID: Subject: guix shell: error: mount: Invalid argument To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::1136; envelope-from=blasforr@gmail.com; helo=mail-yw1-x1136.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 19 Nov 2022 06:20:21 -0500 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668857942; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YMU57XWgv6Bj6fEFWixeJpKOWgCi4SgETAg6UUhOyFE=; b=sZoLDtC+dybBgb5+VYBuvfdeHxv1+wkxU6j8UlyF+4KcCG3yoA4uH63cc3bwh0R3scWRPO 7fmJXgZtG77NrUmQbmlGpOhuJwpBVNzBSXbsicI/d1U4h6biNnQbHq49iMl5WJQUCsKtxp S4vJjTh4Zca33/OclbWKGVtoqGRb0vGiWBqHKTPQVWvlf5LcKIXbEGr78VvcrCYprjOU8t ljtAeHFI7Gjtw3K3a2dMlxqwdIWkHLnDUReTHCxdSYUnNYUvZmf8yoDurUaiF7R5cL1+fX sRO+P1YsmRNxeFt/ykCRiyLHm5ubaipA0jI5IDR1/O0Wyvy+Hr16Yzo+6U1T0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668857942; a=rsa-sha256; cv=none; b=BfxJAJtzQ7EKT51JYXPd1nR+FLkp5ZHk/Rpl4pOhni4pMi+wCcWWzvKD07e0Eo7hWjxZPi gpPmHfN3f5QejaC1ba7fBF1Tj1nX/QMeu6FIIVBBGS0x8OTpfx3gQhbsqxREF1h6UCzq7r wM7n4VicXomCgt2xpBXVcRzF1M/IDVltN647/6tX+9D6T3O9bX3T8/q8pLUmHCiK//IxMq F6CpHkN6JzO9GBonHURR84jhgLsKyhUMuXBUGPtVEFLryrlsImBNv7YXpfeZn42eX1qNvK kEQvKuely7CAGTuRfZQHJRrBLAb/3dYzY0yHt5seQ9eGevfW1QP/joGPNKuyig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=pcXlvIG5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=pcXlvIG5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6068C19570 X-Spam-Score: 7.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: sOp2O2NYlgn0 The example in the documentation( https://guix.gnu.org/en/manual/devel/en/html_node/Invoking-guix-shell.html#Invoking-guix-shell) for guix shell --share fails: ``` $ guix shell --container --expose=$HOME=/exchange guile -- guile guix shell: error: mount: mount "/home/dev_1" on "/tmp/guix-directory.X5HsZw//exchange": Invalid argument ``` I feel guix shell --container can only mount subdir in /tmp, and fail for all other dir: ``` # success in subdir of /tmp dev_1@dev_1 /tmp/test$ guix shell --container coreutils dev_1@dev_1 /tmp/test [env]$ exit # fail for all other dir dev_1@dev_1 ~$ guix shell --container coreutils guix shell: error: mount: mount "/home/dev_1" on "/tmp/guix-directory.63aHz8//home/dev_1": Invalid argument dev_1@dev_1 /mnt$ guix shell --container coreutils guix shell: error: mount: mount "/mnt" on "/tmp/guix-directory.Zu897m//mnt": Invalid argument ```