From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 IL3MD2LYMGcGSAEA62LTzQ:P1 (envelope-from ) for ; Sun, 10 Nov 2024 15:59:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IL3MD2LYMGcGSAEA62LTzQ (envelope-from ) for ; Sun, 10 Nov 2024 16:59:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="U/0FrSoJ"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=kP2Hgmtl; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731254370; a=rsa-sha256; cv=none; b=fBLNoe//m5OrQflPaZsVvbHXllL7ctyWkiSD9/YXJ2HttsPSrE7TKszrqrCgExXweMnTds ONn82YoR6+IQ7aB3kNmoSd0mzQSLpK7WqenCvB3nBX6m1TeF+BduTD0LOD1IgYiMy3hFdv vmvqGx++Jtm+qMLFnbNnmR4gInsG5EBlOA342t4ol/HPn0AAWWq+pM3jBdOCtbIGRFk71g 4lNPLTqebhxyjR3vOrwWwOFArZnz0sV7vhnRLo95skgnG940hUlpC1XHvJtOAk/u73s9HK uqBFDew/rcrKGRTW96DAmZUTJplZ1e+XU/0/qRazAwuuVQ0JlQ2XJGP7tHr8Gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="U/0FrSoJ"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=kP2Hgmtl; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731254370; 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: 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=Y60ObMVKlzZ64CjYMznBiJNBc7Y0BGE1dKhdmR2jXdU=; b=V+8fCepN11RRINYvmBibP1BH2z+tilaN35yXHf/JGruVUBUSVtVaoyEB1MoV0XF/50vX46 wST8gLPEGFg5nZ5y/1ePe1t5Nvx2ROOjXMKrNH6RXVk4Vc9RVL1Plp7f7PwA8076IO0lcE uGf1oS80uadsg9ePcQyAXcGn8HkykSZZzSjiBotDNDMy7hSvnYVOQnrnmypD0Oon0PChrR gqFiSjLTnfEmbF+Wx2OcEdzZKOL8jX7aQkocpwv1m0Re11yy/297n7SFaxgbrAZMfHB/Wk ZB/SN3xC5KqOrFXNELd1z+uJsqMwvyLX6bFocQA3O0pGe9n9hqcR7C9/i/HKrg== 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 0C8B41F88B for ; Sun, 10 Nov 2024 16:59:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAALB-00078j-59; Sun, 10 Nov 2024 10:59: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 ) id 1tAAL9-00078E-2N for bug-guix@gnu.org; Sun, 10 Nov 2024 10:59:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAAL8-0007LH-2U for bug-guix@gnu.org; Sun, 10 Nov 2024 10:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=Y60ObMVKlzZ64CjYMznBiJNBc7Y0BGE1dKhdmR2jXdU=; b=U/0FrSoJy5z29PwRWCHs4/HiQqtwbhmAIeUO8OPbuuH6zySWs6F5lFHpUo6+ZsSK44lRm3JXHeZCufRRMfSiz1/rY5+aiJXnAgAR3XTZeg2CTHaAeI7Wys48BeLwfTFvoEOC5AFbUNLaSjbO2+r1lWh659Ln0tRfFwZS/vsPaNYfvVN/DLQW4cb49R+ABrmGU5yJ2ooOngfJJIyGwFmoxYdmWYQ0JD0E6KaBC8Z0pHkzoxHBNmtp3N6q7BDVwOYgYITxAisb80Bk1p6h/cU5XW3wCP8qCDbJKrUH+ffGoyQtAyPsrMH/kIarAJGJzGTZEPqFbunY4XzutQSiQ6ypjQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAAL7-00007z-K5 for bug-guix@gnu.org; Sun, 10 Nov 2024 10:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73903: [shepherd]: Guix Home's shepherd masks shutdown/reboot on foreign distribution Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 10 Nov 2024 15:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73903 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 73903@debbugs.gnu.org Received: via spool by 73903-submit@debbugs.gnu.org id=B73903.1731254296425 (code B ref 73903); Sun, 10 Nov 2024 15:59:01 +0000 Received: (at 73903) by debbugs.gnu.org; 10 Nov 2024 15:58:16 +0000 Received: from localhost ([127.0.0.1]:56357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAAKL-00006j-P6 for submit@debbugs.gnu.org; Sun, 10 Nov 2024 10:58:16 -0500 Received: from mout01.posteo.de ([185.67.36.65]:33681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAAKI-00006T-WD for 73903@debbugs.gnu.org; Sun, 10 Nov 2024 10:58:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 89DF3240027 for <73903@debbugs.gnu.org>; Sun, 10 Nov 2024 16:58:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731254284; bh=A+EFj7k2hS4UwFWBCafDv4qjYdvsPCs8aTzLZ5XuKDc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=kP2HgmtlnF4GFyyr7ExE1L7YWcj/5pNISOjwVRv2xOaLDLonqa6qtHsWVBGZBAx70 Ef220qfcHzutibT3h2jKtXy+Rlasjthbw6MyPNLK2OO5tvOTp0a3uOfXtUCxHYHKx2 afuWkL9CO8aX5+p6ZC/bCkitvyliUcCipGIlO7pnmd6+nH/QjpKdKpCAShTvT/AM8n iiQg2NUkQGXnUq1UodBU4CBv47vXGA0DoW2AVYaPdh4I38eHyAm3IdKB4BquDAJcwN qLVrMY10cjvB6626X6imsDWHZAEm+9aw0wFPuLwPk4KFtrKchJw8HsndIm51XO9MOW GwjDG7dauzWkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XmclZ4q6Sz6twH; Sun, 10 Nov 2024 16:58:02 +0100 (CET) Message-ID: Date: Sun, 10 Nov 2024 15:57:54 +0000 MIME-Version: 1.0 References: <7869edcc-d4a4-48a1-9a76-e0e67752d806@posteo.net> <87a5e7wbmf.fsf@gnu.org> Content-Language: en-US From: Dariqq In-Reply-To: <87a5e7wbmf.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.34 X-Spam-Score: -1.34 X-Migadu-Queue-Id: 0C8B41F88B X-Migadu-Scanner: mx12.migadu.com X-TUID: eMWijP/CIJyn Hi Ludo, On 10.11.24 12:51, Ludovic Courtès wrote: > Hi, > > Dariqq skribis: > >> When using guix home to manage shepherd services on a foreign >> distribution the shepherd package is also added to the home-profile. >> >> This then makes the home profile provide 'halt', 'shutdown' and >> 'reboot' (and their manpages) masking the system ones. > > Oh, indeed. I’m not sure how to address that though. Ideas? > Not sure if this is something that should be addressed by shepherd or the default shepherd package used for guix home. Initially I had the idea to add a configure flag to shepherd to disable "building" and installing these 5 files (which is why I reported against shepherd). I threw something together that works but I am not really happy with it because imo such an option should disable *all* things that are not required when only using it for user level services and not just the entrypoints. That would be a lot more work though. Another (simpler solution) would be to just solve the problem in guix by using a shepherd variant that deletes sbin and share/man/man8. Wdyt? > Ludo’.