|
From: | Dariqq |
Subject: | bug#73903: [shepherd]: Guix Home's shepherd masks shutdown/reboot on foreign distribution |
Date: | Sun, 10 Nov 2024 15:57:54 +0000 |
Hi Ludo, On 10.11.24 12:51, Ludovic Courtès wrote:
Not sure if this is something that should be addressed by shepherd or the default shepherd package used for guix home.Hi, Dariqq <dariqq@posteo.net> 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?
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’.
[Prev in Thread] | Current Thread | [Next in Thread] |