From owner-freebsd-bugs@freebsd.org Sun Jan 5 23:16:06 2020 Return-Path: Delivered-To: freebsd-bugs@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 156BF1E9D8F for ; Sun, 5 Jan 2020 23:16:06 +0000 (UTC) (envelope-from kama410@twc.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout007aa.msg.pkvw.co.charter.net [47.43.26.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47rZJP0QWdz3PgS for ; Sun, 5 Jan 2020 23:16:04 +0000 (UTC) (envelope-from kama410@twc.com) Received: from [192.168.1.20] ([173.88.171.57]) by cmsmtp with ESMTPA id oF7li8c1b9CDVoF7liM2X3; Sun, 05 Jan 2020 23:15:57 +0000 X-Authority-Analysis: v=2.3 cv=Q8+sHL+a c=1 sm=1 tr=0 a=3ylP7gBjdaoA1SP+lxpCrg==:117 a=3ylP7gBjdaoA1SP+lxpCrg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=7FOY3IH6W1uKcOCPl-oA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 Subject: Re: [Bug 243094] reboot problem To: freebsd-bugs@freebsd.org References: From: Kelly Alger Message-ID: <8e97a67b-539c-623a-0fa4-545a1a0bf6b5@twc.com> Date: Sun, 5 Jan 2020 18:15:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-CMAE-Envelope: MS4wfEg0Ivwh3qSF3TLYXR4HEtH5/MNSISpIJ0A3OAYHuaXk3OC3Cut5+JXiqLvZBudMn3ki32cdThB8SIxdDqKjf/WG39cLpi/4X8oKYjVZzINi3VhJDKZk qQxErp1W0Vb4BjTSoLwwb90s/8FUPfUo8nrQMmvdyEyXm2rHci64C4UB X-Rspamd-Queue-Id: 47rZJP0QWdz3PgS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kama410@twc.com designates 47.43.26.138 as permitted sender) smtp.mailfrom=kama410@twc.com X-Spamd-Result: default: False [-2.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[57.171.88.173.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; FREEMAIL_FROM(0.00)[twc.com]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.971,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[twc.com]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; IP_SCORE(0.00)[asn: 40294(0.99), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2020 23:16:06 -0000 Call me crazy, but it seems like the real question is why you would want a command called, "reboot," to NOT execute /etc/rc.shutdown, no? Sure, maybe with some extra param. it would just force a shutdown without executing /etc/rc.shutdown, but certainly not as the default. Of course, if it's specified in the man page for the command that it doesn't then there's really nothing to complain about. If it isn't in the man page then it ought to be, right? I have to agree, however, that, "threatening," to use some other OS is really no threat at all. (Particularly when the, "threat," is to start using Windoze... "If you don't make this work the way I want you to I'm going to whack my thumb with this hammer! And I'll continue whacking my own thumb until you capitulate!" "Well... I guess... You can do that. It's your thumb, after all. Do what you like with it.") (Yes, for those who don't understand, I don't really think there is no place is the world for Windoze. There just isn't any place for it on my LAN. Do what you want with your own thumbs.) On 1/5/20 4:31 PM, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243094 > > --- Comment #8 from Bernhard Berger --- > (In reply to Conrad Meyer from comment #7) > > I'll give you an example: > If it says "bread" on the package, then any reasonable person would assume that > there is bread inside. > This is also the case with the "reboot" program, so even if called without > parameters, the "reboot" function should be executed in a system-compliant > manner, and that includes executing /etc/rc.shutdown. > But it's not the error that upsets me, it's that you don't even try to fix it. > I am very outraged by this. > Maybe it wasn't so serious "before" and therefore not noticeable. But with the > arrival of bhyve, it takes on a whole new meaning. Therefore, the program > reboot should definitely be revised and adapted to the new requirements (this > has obviously been missed). > Since it is not part of the Posix standard, you can also move it into the ports > and remove it from the ports with notice. > > There are solutions, you just have to want it. >