From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SItOFbyg72KYYwAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 13:23:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mM94Fbyg72IsMwEA9RJhRA (envelope-from ) for ; Sun, 07 Aug 2022 13:23:40 +0200 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 E429217D7 for ; Sun, 7 Aug 2022 13:23:39 +0200 (CEST) Received: from localhost ([::1]:44542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKeNf-0004Rg-6H for larch@yhetil.org; Sun, 07 Aug 2022 07:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKeN7-0004Pb-9q for guix-patches@gnu.org; Sun, 07 Aug 2022 07:23:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKeN4-0003cI-LV for guix-patches@gnu.org; Sun, 07 Aug 2022 07:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKeN4-0000U8-E7 for guix-patches@gnu.org; Sun, 07 Aug 2022 07:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57031] [PATCH v2] scripts: Show a hint the first time some commands are run as root. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57031 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" , <57031@debbugs.gnu.org> Received: via spool by 57031-submit@debbugs.gnu.org id=B57031.16598713651826 (code B ref 57031); Sun, 07 Aug 2022 11:23:02 +0000 Received: (at 57031) by debbugs.gnu.org; 7 Aug 2022 11:22:45 +0000 Received: from localhost ([127.0.0.1]:36063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKeMm-0000TO-LK for submit@debbugs.gnu.org; Sun, 07 Aug 2022 07:22:44 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKeMl-0000TG-3S for 57031@debbugs.gnu.org; Sun, 07 Aug 2022 07:22:43 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7704044F71; Sun, 7 Aug 2022 13:22:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BMc5quHDxtvw; Sun, 7 Aug 2022 13:22:41 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659871361; bh=n8+989l7TlR7dcmumOS3J0LGbhOv2e80OxniX/nZynQ=; h=Date:Subject:From:To:References:In-Reply-To; b=QIrQ+HFKmJ2qhSxmuNsyoH1TiCn6yUPzV67U77xMXbt2wIt0us9P4Na7kJJFYnMJw vR6ZO2RUc4PKcyusDy9UKornwpmzsPU9nzombvOEPN1Ka/GxX5FWlqiuHlN1KMHd5T 2cOUkDWofo52NttaoLQdZC3CGGoU0MQUtVxYKRIkHbVO8yXxFbC38cfoetGfcCh7ZR 54IzA9BBnkSvFn/1VJqJN8w/ni6NU/Hi/GFA45P4csKJVIW7nuty/wY+6TBDW89I5j NbRav3SKWfNuplaqim5Pat25BDHeZ3ZiDB6mQKQLNj1OpdCvrJxw5W+23d9ilayaTS W1SsC4vEW3FFw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 07 Aug 2022 12:22:41 +0100 Message-Id: References: <20220807111929.15617-1-paren@disroot.org> In-Reply-To: <20220807111929.15617-1-paren@disroot.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659871419; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+VBqwSo4EZQTuET8kmm+2qY0566Yfmf+FSaP4ET3C+0=; b=JGPTF3R5Wwjsi5TT8E0eQBF5MHFfDiBq37V9ZT0Mjzyti/bR29YRKPFAn6lqJn/bBQAgN7 iQ/IOPO7dnzrpT+OiYWMCC/OoaJPi7hcwafoq1Y5hYdDgYY8Lez99v4q4myBRc8O11B5Ww HpLXniyKTxXd515Nctqn/2ufligo3J2OzJtqwDKYxfMRSXgRQcMAovn79r4qjb20uqEOp1 NYqLslzdca3M+SAXBjVSG4b/H1L4dO1bzp4XFL2+okqkAcvnPi+iU2IOd9kTV4Q+/1oMFZ ASxoIrnDejf3JiRmS73g0/3+JIusv+oar13mSrJ5GCM2UyxYtDXhUPSCki7pTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659871419; a=rsa-sha256; cv=none; b=nqc1fpSonzPiXK/z6MYqOP4Fukn9LTQS1uYo98m9BO3svw1o5Pkwrc5r7yqd0X5yoSZU1B OuT4tHmlk3qJ3bGrWqxP5SBeXgx6jdN3KiX25iZGWt+4VfaMcNEF+bXAPxyKidoD3C4pCw rkJFdD1/yD7VP5rES5EmIzOoBRNsVbGZr9YJt2+tppBBKmZXR9VfU4tD1YPOuP5VDS5knA 5G1MGkJIdZnh+rizyH3yCsP2kcGqVK35Zjk92HlyjUhFCfnSL7KB0u+UgnhomE22Tb9ePg tzEjvuYsEd1/1+AAJeVgM+ozm/VbcX8hFDm9F/3zPNpr9bHXST9YHf1AyKU/kQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=QIrQ+HFK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=QIrQ+HFK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E429217D7 X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6sjFqf2NwC4C This patch tries to solve the same problem as #57016, except instead of bailing out on `sudo guix pull`, `sudo guix package`, or similar, it displays a hint the first time they are run advising users that Guix's package management is per-user. -- (