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 18929 invoked from network); 9 Apr 2022 05:39:22 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 9 Apr 2022 05:39:22 -0000 Received: (qmail 8683 invoked by uid 89); 9 Apr 2022 05:39:46 -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 8676 invoked from network); 9 Apr 2022 05:39:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scolby.com; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; bh=Y b3ZbCZXGUY6Nv6JtmwBLyDnAKO08hNAXei1ZUaIU0E=; b=aH3d3lMcu4QGaN8zs tWQQz82zFfkur8j9ZYf8mOMcvUtvzxtnZMjrjcEPi0RA89LM61LykYAhHSnxz700 gwD54QA1T2fYixHQrBIMKF96aZwEu9F3PDXzO8N7SDXc0dA6btaqt3HErRTj/IbX 96zf3p++IxYl49qoRHFLsoR4BNQpiB3w4EfYl9GUZvu7zb5qQksYm2LaThyQmZN9 mE1Yv5GgYTIKpA4wYKXLpo0DDvDJSq+qpTSDCFK2VRMJfO+eeR59wMonXZbp8AIM A5n53mt/5dgovT9hS/cHmJSoS/7hurRqy4OotrYfBbijSi9ojksAEd+jF3fpxjSa ujwnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Yb3ZbCZXGUY6Nv6JtmwBLyDnAKO08hNAXei1ZUaIU 0E=; b=RkFhz+W2WNTpM4SjHsbPulHX68po6pUTA2XkMZMGjHHJHXZ6frnVx5bWz kc/jtY2FnEhDxSDq6usfyFm6CxlLPOLp3P1xNfiR9icOTOwFvNCvUyVQ/gj16fl7 PdkZxfVZGgExQ2DaUzn1/8LFbZPWJWLuMqy2i9vN1ksgFkjpS+GowY6Aqt+3TetR Yhv4iHQUTNZ5VKVZY51fN12jN8XR8T6sACPppCZHA1oo/n9a5QV/+4ZaqQ7ARe+/ P6tjf7OFECiaChMJZ5Cb5h1PS1853joNn3NvWztSPdMoQ48f1EMcsy41XIu5ogLk wU6KzAdwibGLZNGXEWdKN8YpxzsKQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekuddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkfffhvffutgesthdtredtreertdenucfhrhhomhepfdfutghothht ucevohhlsgihfdcuoehstghothhtsehstgholhgshidrtghomheqnecuggftrfgrthhtvg hrnhepvedvvefftedvteevfeethfekjefgvdetieeutdfgveeludffteejlefhleffjedt necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgtoh htthesshgtohhlsgihrdgtohhm X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-386-g4174665229-fm-20220406.001-g41746652 Mime-Version: 1.0 Message-Id: <0c1d24f1-fa0e-4c00-a94f-3173110b3800@www.fastmail.com> Date: Sat, 09 Apr 2022 01:38:56 -0400 From: "Scott Colby" To: "Alex Efros via supervision" Subject: Supervision on the BSD's Content-Type: text/plain Hello, I'm planning to set up a router on an old x86 box with a couple of NIC's for the fun/experience of it. I'm looking at using one of the BSD's as the operating system, since I haven't used those before. I started looking at how to configure daemons/services on OpenBSD and FreeBSD and am a little surprised at what I found. As far as I can tell, OpenBSD's rc assumes that services will background themselves and does no supervision at all. It seems like FreeBSD's daemon(8) has some supervision capabilities with the -r flag, but it is unclear to me how widely used that is. Given the apparently poor state of supervision, I'm considering using s6 when I configure this system. In searching, I found some messages on the Skaware lists about running s6 as PID 1 on FreeBSD; has that work been published anywhere? I'm not sure if I want to go so far as replacing PID 1 right out of the gate, but having some existing service directories would be nice. Have I correctly understood how daemons/services work on the BSD's? If not, what am I missing? Are the daemons included with the distributions so incredibly stable that they don't need supervision in order to keep the system functional? Finally, if you wanted to create a router that you could (metaphorically) put in a closet and forget about for 5 years, what approach would you take? My initial thought was OpenBSD + s6, but I worry now that there could be an impedance mismatch between these systems. Any thoughts people have on this will be greatly appreciated. Thanks, Scott Colby