From owner-freebsd-questions@freebsd.org Sun Aug 8 16:49:44 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 562966602A9 for ; Sun, 8 Aug 2021 16:49:44 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjQDR1Ptwz3FQG for ; Sun, 8 Aug 2021 16:49:43 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id E198253590; Sun, 8 Aug 2021 17:49:27 +0100 (BST) Subject: Re: motd service (FreeBSD 13) To: Roderick , FreeBSD Mailing List References: <610fe5e3.1c69fb81.732e3.890a@mx.google.com> From: Arthur Chance Message-ID: <6efedfd1-26e3-fd8a-30f2-a9372a3788d1@qeng-ho.org> Date: Sun, 8 Aug 2021 17:49:26 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GjQDR1Ptwz3FQG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[qeng-ho.org]; NEURAL_HAM_MEDIUM(-0.80)[-0.798]; NEURAL_SPAM_SHORT(0.10)[0.097]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RBL_AMI_RCVD_FAIL(0.00)[2a02:8010:64c9:1::2:server fail] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2021 16:49:44 -0000 On 08/08/2021 16:12, Roderick wrote: > > On Sun, 8 Aug 2021, Kyle Evans wrote: > >> Nope, it just generates the motd at boot-time from a template. One >> time action at boot. > > And for what did now become necessary to generate a motd from a template? A wild guess on my part, but maybe this is part of a move to make /etc read only under normal circumstances. I've had various attempts at making jails with the base system read only and the pre-13 in place editing of motd to ensure the first line reflects the current OS doesn't sit well with that. -- Nothing teaches one not to try to stamp out burning thermite quite like real-life experience. — James Davis Nicoll