From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 346F12E090 for ; Sun, 1 Dec 2024 08:41:49 +0100 (CET) Received: (qmail 46723 invoked by uid 89); 1 Dec 2024 07:42:15 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 46715 invoked from network); 1 Dec 2024 07:42:15 -0000 From: "Laurent Bercot" To: "Ian Macdonald" , supervision@list.skarnet.org Subject: Re: Rebuilding s6 Date: Sun, 01 Dec 2024 07:41:44 +0000 Message-Id: In-Reply-To: <20241201170232.2c67c699@Naked.joffre.net> References: <20241201170232.2c67c699@Naked.joffre.net> Reply-To: "Laurent Bercot" User-Agent: eM_Client/10.1.4588.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >Is there a trick to re installing the s6 programs or have I just made >an obvious mistake? Generally speaking, --enable-absolute-paths is a bad idea, except in very specific situations. Things will likely work better without that option; I suggest you rebuild the packages again without it. The step you're missing is probably running s6-linux-init-maker again, after rebuilding/reinstalling the packages. Be aware that the default PATH set by s6-linux-init-maker is /usr/bin:/bin, and that's what all the services will inherit. If you have a service that needs a binary in /usr/sbin, make sure to update the PATH in the run script for the service. Alternatively, if your whole infrastructure relies on binaries in /usr/sbin, you might find it easier to adjust the default PATH for the supervision tree, via the -p option to s6-linux-init-maker. HTH, and good luck, -- Laurent