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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9414 invoked from network); 19 Nov 2023 01:46:28 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 19 Nov 2023 01:46:28 -0000 Received: (qmail 49335 invoked by uid 89); 19 Nov 2023 01:46:51 -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 49328 invoked from network); 19 Nov 2023 01:46:50 -0000 From: "Laurent Bercot" To: "Daniel Barlow" , supervision@list.skarnet.org Subject: Re: restarting s6-svscan (as pid 1) Date: Sun, 19 Nov 2023 01:46:23 +0000 Message-Id: In-Reply-To: <87wmue7fdc.fsf@telent.net> References: <871qco81jj.fsf@telent.net> <87wmue7fdc.fsf@telent.net> Reply-To: "Laurent Bercot" User-Agent: eM_Client/9.2.2093.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > I believe (have not yet tested) that I can relatively simply create=20 the >maintenance system on the fly by copying a subset of the root fs into a >ramdisk, so it doesn't take any space until it's needed. The problem with that approach is that your maintenance system now depends on your production system: after a rootfs change, you don't have the guarantee that your maintenance system will be identical to the previous one. Granted, the subset you want in your maintenance fs is likely to be reasonably stable, but you never know; imagine your system is linked against glibc, you copy libc.so.6, but one day one of the coreutils grows a dependency to libpthread.so, and voil=C3=A0, your maintenance fs doesn't work anymore. You probably think the risk is small, and you're probably correct. I just have a preference for simple solutions, and I believe that a small, stable, statically-linked maintenance squashfs would be worth the space it takes on your drive. :) -- Laurent