From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id KFqIDhHEeGd3JwEAqHPOHw:P1 (envelope-from ) for ; Sat, 04 Jan 2025 05:16:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KFqIDhHEeGd3JwEAqHPOHw (envelope-from ) for ; Sat, 04 Jan 2025 06:16:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cHyAnIU6; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735967761; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=spmEhMlSJkpNsZGRkOeWoK8zSHkrPzL59tfeSyDzGDU=; b=pRdEwjJfNPqypSopyPX9oSFyKNT9NyIoIwDHrqfwQT2mUdUF3v5MeoTINVRjzKi3/W5bl1 h2RovFC/fLZKZ8EJR1d6B6ocH+9jKPJcR1u86Jb7WWa7bceqZ5ddf/qa9RYWkUkbslctvS WxLwriNf/0VJfaB+d+VTBgwiZ6leeGeRDL+nEAGLHKmgzjombHmiuuWRlqZv9TWMpuaL2I ZQ/H1Zxp8onj+mpwKb/dQkkt7khJ3WOcOypnL3oBCVFfSF0FLBnythYGnhSOROCUuuwahB qM+SOJmRy8Z2g5kjkYTyMhZA4Zu6LnkmLOQ80/QFB0MHW5GnCd1c4OYu9zzuPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=cHyAnIU6; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735967761; a=rsa-sha256; cv=none; b=ZU1VaP4zwQ83Dlvjz7EF3r19+H6zvaB5i+YY/lGhXBHG98KJZLR65ADPdbjHd/1JxWCBwi cQRyxJm1GkQl1HfVw2H8JKjfWc2Nd+9hV7oHjgtz9xJL4PpcRa75gvx/eVuZHlBnut+EZ8 pYyJ9rAuC1E53XpajGEF+UvnCE0DfRuvjvkO9OnB7TrDP3kDvzDZyYsI6MGZdAIHyjSsHd i1iVPFkLoekQybd8UBjIYslDbHDD8rbEiUVfC5T/vnBHzk9LtIjB1PCZlnOOtwWXr6SXjU UNwI35XAiHi+k+AzGEIlsGspC5E4wnmXinPgrbY9vH8H0do3IFh4F1Py/ifH6w== 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 C6DC03488C for ; Sat, 04 Jan 2025 06:16:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTwV7-0005u0-8O; Sat, 04 Jan 2025 00:15:05 -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 <45mg.writes@gmail.com>) id 1tTwV6-0005tq-7J for guix-devel@gnu.org; Sat, 04 Jan 2025 00:15:04 -0500 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <45mg.writes@gmail.com>) id 1tTwV4-0002H3-Oi for guix-devel@gnu.org; Sat, 04 Jan 2025 00:15:03 -0500 Received: by mail-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-2ee8aa26415so18248997a91.1 for ; Fri, 03 Jan 2025 21:15:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735967700; x=1736572500; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=spmEhMlSJkpNsZGRkOeWoK8zSHkrPzL59tfeSyDzGDU=; b=cHyAnIU69UOmmSXnSw/QPyD3mw/me0ruZzee2+4O8Percu5UJf4jR7uHjvjoZtWG0U UzkdlNX34eQ+1zkmPmITAtGiviakRzNXtPGh+TEPn/ueVbszvEC3ECL9gZmsa9KBy3LP PK+oY4vkjOZ/Y0gIKyoGu3ADsP7P8+71nlCdCRjYAsOI32LrUytN1S0+l8t35Nu3Mz5G nkIb0vdrjTzLYpMJElyHw9UnSd7cj2SVRBkQasIArwoXf2XSgtUornFVEXfbFMWFrM1r rJHu9jC0UDxaIQFOp5CJoTjeP6SpR+wyOtxG8h8+Hf9teM3UQdMr9/1aQqUtcbvV9eMM Zb0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735967700; x=1736572500; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=spmEhMlSJkpNsZGRkOeWoK8zSHkrPzL59tfeSyDzGDU=; b=u4fxCkbC2p7QE1nPv6W7T+heczXo7/usDV/oupJ6iOco9Ackx7pB2URf9A5UIzQCCo x8f0DLwykWp1+b/Wr5kyhdunLN4+PSjWzP4jU9LuEwy4Rywi3jDlTjAdnLzzzMuoUTBn +jqcpvcc6CseAnDZXV2WlNyHWwG3/ZrSBt1osWVS3TzZ6Idf83Bfr9fXhqC+k72B3KLB C0Wv7iLdvN0VxI22r51OTcrqUfaspUYiySC1jOeISzEzHsuQ1BNvJxJNb+6UKxMYg34z U79R30yHVUcKhTyzAlDVUve7dOiBVwszgyOO/lMRUD5KdCWTaxDSidTC1PQzq+ATslvk 81tQ== X-Gm-Message-State: AOJu0Yxr9yf4dsxpo/nuej8MLoFAFiWRmwdS7GO4SqXZO6Ub7wTetvu3 b8l45VR7qgGL/aq4hXJ2e/p5zaoGM5kJS+Q2RunkE9grzfHYl0mq4zgIoe+f X-Gm-Gg: ASbGnctYjRd+RutuhkYCWf2DJhHxWth9t0AW7pG7Aky1W1PtzU15JhF+aAVdegifGBi ulXHFPbpK72dssQCW2tDaE9arieNQk6NqqFFD2aaWcWNJh2JSdDeeKZLqPDlikn1IF0m5lxsOGw /Q9eZ4BEXe301WFBlj8wqfs0DYvz2ghEbu3/4MgSc7mmDqX2s28J8et+nirNJ3cqKMJxZ+lNA5i zgLrIIJO/ySXitBPLgK4GEBzswm710frR4Q8794Ou1Uvr/FoJZzHIo= X-Google-Smtp-Source: AGHT+IHYNGTV1qOzukICVWIBX5F/6IT4S+zhuUjyAC2o3cdMmylDCVOTdNo/Y74N/nCSM4kWXE+Faw== X-Received: by 2002:a05:6a00:398a:b0:725:d1d5:6d86 with SMTP id d2e1a72fcca58-72abde989a6mr70498639b3a.19.1735967700325; Fri, 03 Jan 2025 21:15:00 -0800 (PST) Received: from guix0 ([2401:4900:1cb8:a2d3:f4aa:1246:d469:678a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8fd4e2sm27139964b3a.169.2025.01.03.21.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2025 21:15:00 -0800 (PST) From: 45mg <45mg.writes@gmail.com> To: Tomas Volf <~@wolfsden.cz> Cc: Guix Devel Subject: Re: handling package tests requiring root? In-Reply-To: <875xmy2kef.fsf@wolfsden.cz> References: <878qru6dvb.fsf@gmail.com> <875xmy2kef.fsf@wolfsden.cz> Date: Sat, 04 Jan 2025 00:14:48 -0500 Message-ID: <87sepzf9dj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1041; envelope-from=45mg.writes@gmail.com; helo=mail-pj1-x1041.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, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.06 X-Spam-Score: -0.06 X-Migadu-Queue-Id: C6DC03488C X-TUID: 71aqplz0YUrg Hi Tomas, I was curious how Nix handles this, so I asked about it on the #nixos IRC. It looks like they run such tests in a VM. These are called NixOS tests, and they seem to be the equivalent of our system tests - they have to be run manually, separately from regular package tests. So unless someone comes up with something innovative, it looks like that's the best answer to this question - figure out a minimal `operating-system` declaration that works for whatever you're testing, and use it to add a test in `(gnu tests ...)`.