From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OGOMI2AdHGC/bQAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 16:14:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oP4tH2AdHGASWwAAB5/wlQ (envelope-from ) for ; Thu, 04 Feb 2021 16:14:24 +0000 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 DD3689401C0 for ; Thu, 4 Feb 2021 16:14:23 +0000 (UTC) Received: from localhost ([::1]:60128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7hGw-0005mb-Ck for larch@yhetil.org; Thu, 04 Feb 2021 11:14:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7h51-0000fa-Lp for bug-guix@gnu.org; Thu, 04 Feb 2021 11:02:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7h50-0003dx-2L for bug-guix@gnu.org; Thu, 04 Feb 2021 11:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7h4z-0005dj-VO for bug-guix@gnu.org; Thu, 04 Feb 2021 11:02:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46297: nix-service-configuration is missing the default /bin/sh Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Feb 2021 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46297 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46297@debbugs.gnu.org X-Debbugs-Original-To: Bug Guix Received: via spool by submit@debbugs.gnu.org id=B.161245448521619 (code B ref -1); Thu, 04 Feb 2021 16:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 16:01:25 +0000 Received: from localhost ([127.0.0.1]:42053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7h4O-0005cZ-P1 for submit@debbugs.gnu.org; Thu, 04 Feb 2021 11:01:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:53196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7h4J-0005cM-9X for submit@debbugs.gnu.org; Thu, 04 Feb 2021 11:01:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7h3z-0008T0-07 for bug-guix@gnu.org; Thu, 04 Feb 2021 11:01:03 -0500 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:47044) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7h3n-0002y5-OE for bug-guix@gnu.org; Thu, 04 Feb 2021 11:00:53 -0500 Received: by mail-pf1-x436.google.com with SMTP id f63so2348883pfa.13 for ; Thu, 04 Feb 2021 08:00:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version; bh=6ADlUnk3uab9fOVaEo4W3s/wf2g6d9Vn8vEwVsK6By8=; b=WoiCjUeNLZ5l+Vp9B/dvwzKdVcUlkOs+9ZQh09TC8v28aLZAOmY+kTCJC+1OBIJevS d8+5L0J32ha8oKEWhzCr8Wxv0tY1BAcqGyE3HZrrpgGbPH0cqKSq4oi836yaJVyEnEv5 ldZ8qq8KNIUgUdoxb1i/OBv2FVOmDLkZ2QAKmP/nE6SEQ5RKzAAYnxnS/jw2/m/RdpBU l6MEFzPBOOCJLmPfZQhnCIg+NzgZT1tSF3jscxC5OyR1TBb7iIW8H1zrWqdfZ2oUPlX0 qfjJPcPB98Ii2JU/J3mGh3eQkjvvKkCT/0ZWUDDWyppZjrS279rxzCL3foudA0Te1DiL /bjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:subject:mime-version; bh=6ADlUnk3uab9fOVaEo4W3s/wf2g6d9Vn8vEwVsK6By8=; b=ipuT5V47cozo9tiZp5ClzGRHCWATDAPAl49QvhH3uIf8JdkiF8t3OYG9f2Ug929Bmb ekcYsAK12i7HjBhk3MW1dM1aR+1L9LH+YBVXzcInq1hhEGRzXgJz+7a1Sfkf8TuNLb+X lhMa64q4mCOyR85gs5M877jF00r/BHvwiAF1UcS717m164iv165v0oCVGwRxFrvQndic i7rp6CSTO/E1YbNCv5DjAGEPLVdLWA4Z2GkfP2xVXd6Yy3+Qo/3yE0EreT4HbtN86xEr mtarv70PLbPr4ISWan/ALTuNYVFw7Rc6vM4yvzXuWRdZtVpTagZrQ54p5f10QEU5rouN jHGQ== X-Gm-Message-State: AOAM533+egqVxW8Tuu3/24/1+1GGddFoSm5xsLVztUbnEcwXmZez1jND qgzl508K0I8qQIsT8/SFVUbQfc3V10zn+w== X-Google-Smtp-Source: ABdhPJyXRD31nKAauGcfpaEDpid6I+L7EHrn3Vm1vt9821cT4+x7BFuYzzvkcaMDk1yysAFK9kFm9A== X-Received: by 2002:a63:5309:: with SMTP id h9mr9500029pgb.19.1612454436717; Thu, 04 Feb 2021 08:00:36 -0800 (PST) Received: from [2600:1700:83b0:8bd0:c0f9:5883:200:0] ([2600:1700:83b0:8bd0:4c5b:c297:c10a:ac59]) by smtp.gmail.com with ESMTPSA id e17sm5763919pjh.39.2021.02.04.08.00.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2021 08:00:35 -0800 (PST) Date: Thu, 4 Feb 2021 08:00:34 -0800 From: John Soo Message-ID: <5112f89b-ac41-45bd-931c-bd8a9bde4836@Johns-iPhone> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="601c1a22_6b8b4567_e691" Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=jsoo1@asu.edu; helo=mail-pf1-x436.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=WoiCjUeN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: DD3689401C0 X-Spam-Score: 0.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: NyDKsAcCfS3A --601c1a22_6b8b4567_e691 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi guix, I am working with nix at work and I found some issues with the sandbox configuration for nix. The docs say that the default sandbox-paths should have a default mount for /bin/sh https://nixos.org/manual/nix/unstable/command-ref/conf-file.html?highlight=Sandbox-paths#description Default:/bin/sh=/nix/store/zi90rxslsm4mlr46l2xws1rm94g7pk8p-busybox-1.31.1-x86_64-unknown-linux-musl/bin/busybox I think that means we should add that option to the configuration file. Thanks! John --601c1a22_6b8b4567_e691 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi gu= ix,

I am working wi= th nix at work and I found some issues with the sandbox configuration for= nix.  The docs say that the default sandbox-paths should have a def= ault mount for /bin/sh 



Default:/bin/sh=3D/nix/store/zi90rxslsm4mlr46l2xws1rm94g7pk8p-busybox-= 1.31.1-x86=5F64-unknown-linux-musl/bin/busybox
I think that means we should add that option= to the configuration file.

Thanks=21

John
= --601c1a22_6b8b4567_e691--