From owner-freebsd-current@freebsd.org Sat Oct 17 19:09:37 2020 Return-Path: Delivered-To: freebsd-current@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 9EBF843FE83 for ; Sat, 17 Oct 2020 19:09:37 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from mail.macktronics.com (coco.macktronics.com [209.181.253.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CDCJ05757z4Wdr for ; Sat, 17 Oct 2020 19:09:36 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from olive.macktronics.com (unknown [209.181.253.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.macktronics.com (Postfix) with ESMTPS id 79D5C18B6B for ; Sat, 17 Oct 2020 14:09:30 -0500 (CDT) Date: Sat, 17 Oct 2020 14:09:29 -0500 (CDT) From: Dan Mack X-X-Sender: mack@localhost.local To: freebsd-current@freebsd.org Subject: bug in motd service / documentation Message-ID: User-Agent: Alpine 2.20 (GSO 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4CDCJ05757z4Wdr X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.48 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.948]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.181.253.64/29]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.96)[-0.959]; NEURAL_SPAM_SHORT(0.23)[0.231]; DMARC_POLICY_ALLOW(-0.50)[macktronics.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:209.181.252.0/23, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2020 19:09:37 -0000 I've been away for a while and missed the change and complexity added to /etc/motd. I figured it out but I was led astray by not knowing that it was converted into a service that only runs at boot time. If you just follow the instructions in the template file, you will nothing changes. As a suggestion, maybe change this line in the /etc/motd.template file: Edit /etc/motd.template to change this login announcement. to: Edit /etc/motd.template to change this login announcement and reboot or manually restart the motd service in /etc/rc.d/motd as in: /etc/rc.d/motd restart and also add an entry to the man page for motd. This was on: FreeBSD boxolox 13.0-CURRENT FreeBSD 13.0-CURRENT #1 r366790: Sat Oct 17 08:57:56 CDT 2020 Dan