From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29787 invoked from network); 17 Nov 2023 22:45:18 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 17 Nov 2023 22:45:18 -0000 Received: (qmail 45073 invoked by uid 89); 17 Nov 2023 22:45:43 -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 45066 invoked from network); 17 Nov 2023 22:45:43 -0000 X-Sender-Id: 21tnwsjmfw|x-authuser|slitt@troubleshooters.com ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1700261112; a=rsa-sha256; cv=none; b=yL3DO0NPzsakNQInLnur09vUIEQZsyPKL2Skq6MFMk+PtJSXBSzZD1xA/9TDbD7MqxPofJ AQ37pYRLFJpBLTeER298U51q7hVwQZm60ViO8OF6fwFVNbACic4zRKB4v5VZ/exkOo+9tF kfqUwqBRIFv0Dw6PsxMkRaHtt17PoRYa7G2LuOwdLsMBNkNInUIZYMEhL1+yoa32FLBGxF VJ2bKyj4Mj21XA2a1pBB0c/7ZDb6fGE7pZxtEr/3j7CsZbUmSCsVVoP9Tz9SbbN8F1BDB1 5ih3sKJ9DsB/6KnkwbOV6RM9F0lvu3y7pOKu1om1k4pMf2SrMIYZJat68vF5Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1700261112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=pYUoaXqxUKgsrc27GKCzuNqpOI8Av4Px3fS0RBZADz0=; b=8eHSa+AZXRzMjw9iu6c8PqrI36braJVO55lAgBacVdaeXcLAI6VX1gmCO78UjWDqppyNAc Rl1UaBmWB7kPA8T/flh67XVylwnH1KHC+IlaANAlMXjeMJR8IePoCxXcf3wMZih8jd2Zsi OYX2RbSGiiHhMVvSnoj2LjMAwPyoEQ60UI7LKH4YCceb3tzwJdL5j3wDy7H6beYSadCY2a hxYcnEBeYPVHvgR4JSumpkMe98PrbiALKL4uu5/zAc8266GdPd0xBFVyC96DZVgGBkLnbd 4FTK20rfrAlZPcytwS00z5LgKaEgJtaTyA9erMP8u8zr3t3xKtBmbLh5MGnPQg== ARC-Authentication-Results: i=1; rspamd-7f8878586f-2rr6m; auth=pass smtp.auth=21tnwsjmfw smtp.mailfrom=slitt@troubleshooters.com X-Sender-Id: 21tnwsjmfw|x-authuser|slitt@troubleshooters.com X-MC-Relay: Neutral X-MailChannels-SenderId: 21tnwsjmfw|x-authuser|slitt@troubleshooters.com X-MailChannels-Auth-Id: 21tnwsjmfw X-Occur-Grain: 3f0bebd903573738_1700261113101_1294489678 X-MC-Loop-Signature: 1700261113101:3936735078 X-MC-Ingress-Time: 1700261113101 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=troubleshooters.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pYUoaXqxUKgsrc27GKCzuNqpOI8Av4Px3fS0RBZADz0=; b=AQYJCYxwCHjaRhLnw2e38Jj4mR hOnpGi5K3OwpVJB4nrBCPTGhYmhRwV+WJor2oEGAlfx4Fx3Cou8FXooOQqWEzKrQ0fLiGxyozXGAI p04J3wp98LdJNiUcVuBzkePZoJF1lqP2a7PO5GOISu9cwnKynukzXd8EBfABPpoMbNjfH0PREba40 SJGJmJyLRK22FPx5uPP/l7hyXPs3/u5gwtRSFI37yaKcYKaqI4dn14PrHyHK0klTp7qkw4anaaqHM IZiOLnPCWJ8LlyKXgitQ2Cuy2P8/+a6A9WVeSfThYTeRiHZBt3K1Q/OFXln39Rv8d2wa9WaQM7Mfr 5UFF4sxA==; Date: Fri, 17 Nov 2023 17:45:09 -0500 From: Steve Litt To: supervision@list.skarnet.org Subject: Re: restarting s6-svscan (as pid 1) Message-ID: <20231117174509.44742047@mydesk.domain.cxm> In-Reply-To: <871qco81jj.fsf@telent.net> References: <871qco81jj.fsf@telent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: slitt@troubleshooters.com dan@telent.net said on Fri, 17 Nov 2023 22:20:32 +0000 >I was thinking I could use the .svscan/finish script to check for the >existence of the "maintenance mode" ramfs, remount it onto / >and then `exec /bin/init` as its last action, though it seems a bit >cheesy to have a file called `finish` that actually sometimes performs >`single-user-mode` instead. Would that work? I don't know if it would work. Why not try it. Also, you might need to make changes to the 3 script. As far as "cheesy", the only disadvantage is self-documentation, and self-documentation could be preserved by adding a properly named script and calling or exec'ing it. SteveT Steve Litt Autumn 2023 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21