From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QGmwLXpeP2fzRwEA62LTzQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 16:23:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QGmwLXpeP2fzRwEA62LTzQ (envelope-from ) for ; Thu, 21 Nov 2024 17:23:22 +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=RY77Evx7; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=jgV4T7It; 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"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732206202; 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=1ADC7LkwLItRLLJoiLZ+wqjS+iDpRcrXKoqR3IAasf4=; b=IeUxG/JG/AxsA0mH6hqb+SgcIu38bXt4RW8JggaaPH0VYDNd/trBhfJZg8HO7P4IK+LXQj lHK32LQ5yPrWMnbqWxwLTxOw8Mow/tWF5SoUpoSEAOXC0goBUaaUhfeXr0IZ9fRxQ7+UxM k0ALyp1j1L1pQgYXTVAxwkrJtr6RxUFaYWYL2vxU1XXhMCqvJG91MYgT30mj7z5/a8bVHP o6ksMdNTJDPUJHpov58Jw58mWD+iWXO20hrJq2jPMevzYatMuP8BUN3zJXUZMQNddNZxhP po8kfnwE38n5qrC2u2fQqFD7rRs7l9g8ueTePjbPn6Lcu8nSCBmlAjiZZ5J+wQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=RY77Evx7; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=jgV4T7It; 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"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732206202; a=rsa-sha256; cv=none; b=rAv245V287zu4v07L7f0WWOSz2MoU65g/cuaob8iJC8Sp2MCQHyww5Qxh95UhcU6AajwOC mMjVyjCJEXVRQ+S0kxx9iydbkdOw3IOaGCl03nZcMcojESx1Lw1xkOF/sZdubMLq3pV+vh YShMCPUOGdXp1SQvG09PMsx7Fu/UizMLCYwo+0AFP+KwiQA1hD2G9qilj1yFwJt1279r1m w9GF/9RXj38/AxLuAXQos+IqxQLXyRBhkps5fDcvZFQrWsRdgmGT+CDUcbcg60/vTjozDV CrtW4WuLVfW2rNgioe7T3GNGBhDhcJ8Dlz9bHlA1I4VeeJGZ8H5M5/sLz4pWYA== 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 0AD9287E9E for ; Thu, 21 Nov 2024 17:23:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE9xT-00018t-OV; Thu, 21 Nov 2024 11:23:07 -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 1tE9xP-00014o-8M for bug-guix@gnu.org; Thu, 21 Nov 2024 11:23:04 -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 1tE9xO-0001Eq-Hy for bug-guix@gnu.org; Thu, 21 Nov 2024 11:23: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=1ADC7LkwLItRLLJoiLZ+wqjS+iDpRcrXKoqR3IAasf4=; b=RY77Evx79jhn5J535o1LtWz1h3eVf6VsZcx4sYNfDY0osNst+QpSI0MjhkLQLyqpRenrzN9aWKrtnxTjGUvqxiOl7riflhpDFZV75hrdT4gFsDAsixh6cSNLxJc5cd5MlghqAWLWuIIIqsmlTfbldgGg9jpQ4nom0Y0UbBFJ88ss9jxTdwIoldx+3fO+1Q6wRQmkBgCrRh3+odOfnoQvt0jE9MlN5m/tYZRUdqLgagOa053uxO78t+fIsvBJs0vulGv5yi7kYmJJK7JOf7wOFHpxV/IuT+ciFgVVrGKzxZ4N46cbf/vrDlhram2csvq5KN229sA52wRIO1eV7NRAMg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tE9xO-0002bf-Bu for bug-guix@gnu.org; Thu, 21 Nov 2024 11:23:02 -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: Thu, 21 Nov 2024 16:23:02 +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.17322061359961 (code B ref 73903); Thu, 21 Nov 2024 16:23:02 +0000 Received: (at 73903) by debbugs.gnu.org; 21 Nov 2024 16:22:15 +0000 Received: from localhost ([127.0.0.1]:51450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE9wd-0002aZ-EU for submit@debbugs.gnu.org; Thu, 21 Nov 2024 11:22:15 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE9wb-0002aM-3v for 73903@debbugs.gnu.org; Thu, 21 Nov 2024 11:22:14 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E072F240027 for <73903@debbugs.gnu.org>; Thu, 21 Nov 2024 17:22:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732206126; bh=yT69bsY/2YKZdJRHGXeiNifnXNJPSGfXf2GnqCwot5Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=jgV4T7ItnG78xDfUxIVFBue46QIcxA6bf6DLaCukzrsx3NqMjjaiuXFao3obafN3P ybLAQDsPX5xziMX3YJGXUAdUpYDOVIz1krd23z5t8qpo7YBf0kUQAd3UtQpfwY0/8J tHJo7W63i8dm6ZZXXs7yHMhI0y3TjU7xPZVSSBj/U09M3hAIkZM9EXBm5s2yw2GEDH LOnnh8aCMPGdssgVqYj1alw5Elh6FaSV6/gWT3+hLTAGu8rJ0a8Z0u2q/cJtgCCLtC XGJFPotICJg4xkE13ArKxnh1PaDr3cbxJFvJJd5F9Emq5WqiiMIAwJ+Du4XIwxZDh6 GBsTCsjcvEn+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XvNmF5jXFz9rxN; Thu, 21 Nov 2024 17:22:05 +0100 (CET) Message-ID: Date: Thu, 21 Nov 2024 16:21:55 +0000 MIME-Version: 1.0 References: <7869edcc-d4a4-48a1-9a76-e0e67752d806@posteo.net> <87a5e7wbmf.fsf@gnu.org> <87jzcyyygp.fsf@gnu.org> Content-Language: en-US From: Dariqq In-Reply-To: <87jzcyyygp.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.42 X-Spam-Score: -0.42 X-Migadu-Queue-Id: 0AD9287E9E X-TUID: YlusEriXJoP8 Hi, On 20.11.24 11:46, Ludovic Courtès wrote: > >> Another (simpler solution) would be to just solve the problem in guix >> by using a shepherd variant that deletes sbin and share/man/man8. > > Yes, this sounds like a reasonable solution to me. > > Ludo’. How should this work? should this be a (public?) procedure? Should it rebuild shepherd or just copy the output with trivial-build-system? I just thought of a more elegant solution, but this would be a lot harder to implement properly: - Move the sbin stuff into a seperate output - Home shepherd service only adds the main output to the profile and shepherd-root-service both - Will need adjustments some packages that currently reference shutdown/reboot ( -> lots of rebuilds because logind) and the same change for the shepherd packages in the shepherd module.