From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6551644404061306880 X-Received: by 10.28.152.85 with SMTP id a82mr2000980wme.0.1525423583748; Fri, 04 May 2018 01:46:23 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:98f6:: with SMTP id w109-v6ls4163543wrb.2.gmail; Fri, 04 May 2018 01:46:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5chfNn+ewiyRBHXkYTDuCfdEWThLBhIGQ/SbS898v+IXpoXAIOd+rN4pQ5U/VqQoevsEG X-Received: by 2002:adf:d0c2:: with SMTP id z2-v6mr2162872wrh.17.1525423583305; Fri, 04 May 2018 01:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525423583; cv=none; d=google.com; s=arc-20160816; b=jeYHNdgZQmmlovTabLKu9Md4SOl2a0cuydEvq6zFPp+9fjXd3ycwC6+YekxCp2bUni pEGmxiBvU8ZDEJLgRmDE4uBmxELG33hZqjowhaCq4c5ueZMKLGm8iRHF7V3ybHC/lhIN D8S0bCdIF/XduQObmIWpgV1JshO/KyFbLQwa+p5fsYsf1P3udsj0SzO1DkUzAB5E6VWp n4mrgNR1OILhCNqils7dn02x5bgJ16u8/4ylM0E85Wv6+OyJ87DMqgTN5MN/+ZwKwG48 uqhgsHmJOqSfAFE44nCzHzxR6Ncre359JsVxM4cXAxj2oa4L6vu9tYElYVTaZqouMpA6 0rjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=AZKYMtesqkmPzj+lZCTMis9eH7SQV1kM8SHXn/dfSJs=; b=ZG5ex4OIhPV1vcEq+wjZa1edXLQxQ+VRmL7om7EJN7nk0WIbPn45r+oNz3V1C6jHkE PgfpQEN+Vo61ohCZJ+lGiM23ZVtgrFdmxNLF2DXY6EejLpLAPLuCp7S/bdK9Y8MT9FLf Zt/zBQL37UdF/D98A6UiBNDXwFzoMast00rSp5BDTbJjjWBeYlVugTSmxdU4XP8f3vRA Pszlj5bBCg2jELodOC/we/XE5VrX0n6H9PuwxKMTiik2BfHjfzyQ8oJnVFGsHErEQa6Q 3WhU99Ju7af2xO2IXc5GhltO1l7retY/oBJCVdcxPYthrBzh0Wi9RROS/FiDL4D2DKUq IJOA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id y144-v6si118030wmd.3.2018.05.04.01.46.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 01:46:23 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w448kKxU026065 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 4 May 2018 10:46:20 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w448kKBt028072; Fri, 4 May 2018 10:46:20 +0200 From: Henning Schild To: isar-users@googlegroups.com Cc: Francesco , Henning Schild Subject: [PATCH] doc: Update sudo configuration in the manual. Date: Fri, 4 May 2018 10:46:19 +0200 Message-Id: <20180504084619.13253-1-henning.schild@siemens.com> X-Mailer: git-send-email 2.16.1 X-TUID: G9/lDcu36DrO Francesco reported build problems with the suggested sudo configuration. The issue might be that somewhere along the way a user or group other than root is used, or that there are problems with (NO)SETENV. Update the manual to include an entry that should prevent such problems, also add a line to deal with proxies. Reported-by: Francesco Signed-off-by: Henning Schild --- doc/user_manual.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/user_manual.md b/doc/user_manual.md index 7bdfc1c..70c382e 100644 --- a/doc/user_manual.md +++ b/doc/user_manual.md @@ -79,9 +79,11 @@ Isar requires `sudo` rights without password to work with `chroot` and `debootst ``` In the editor, allow the current user to run sudo without a password, e.g.: ``` - ALL=NOPASSWD: ALL + ALL=(ALL:ALL) NOPASSWD:ALL + Defaults env_keep += "ftp_proxy http_proxy https_proxy no_proxy" ``` Replace `` with your user name. Use the tab character between the user name and parameters. +The second line will make sure your proxy settings will not get lost when using `sudo`. Include it if you are in the unfortunate possition to having to deal with that. ### Check out Isar -- 2.16.1