Date: Fri, 16 Nov 2018 20:09:44 +0000 From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@FreeBSD.org> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: rgrimes@freebsd.org, Warner Losh <imp@bsdimp.com>, 0mp@freebsd.org, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r340478 - head/share/man/man7 Message-ID: <D3D609B9-562B-416E-A776-A68B481B65D9@FreeBSD.org> In-Reply-To: <201811161840.wAGIeqdQ090908@slippy.cwsent.com> References: <201811161840.wAGIeqdQ090908@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 16 Nov 2018, at 18:40, Cy Schubert <Cy.Schubert@cschubert.com> wrote: >=20 > In message <201811161804.wAGI44WC047387@pdx.rh.CN85.dnsmgr.net>,=20 > "Rodney W. Gri > mes" writes: >>>> On Fri, Nov 16, 2018 at 7:29 AM Mateusz Piotrowski <0mp@freebsd.org> wr= ote: >>>>=20 >>>> A few years ago jilles@ proposed changing reboot's default to signalli= n >> g >>>> init (preserving reboot -q which just invokes the reboot system call),= >>>> but >>>> this was not accepted. Perhaps this can be tried again for 13.0. >>>>=20 >>>=20 >>> I didn't like it at the time, however I was wrong. Much of my reasoning f= or >>> doing it has become muted as well since then, and the need to do it has >>> become more amplified as more rc scripts have grown shutdown >>> functionality... >>>=20 >>> I think if we make what's now reboot 'fastreboot' or 'reboot -q' (both o= f >>> which are historic replacements), we can make 'reboot' what's now 'shutd= own >>> -r now'. >>=20 >> I support this position. >=20 > reboot(2) should be changed to signal init(8). RB_AUTOBOOT should=20 > signal init while a new RB_FASTBOOT or RB_LEGACY (or pick a name) would=20= > preserve traditional behavior. RB_POWEROFF, RB_POWERCYCLE and RB_HALT=20 > would also signal init except when RB_FASTBOOT flag is set. Wouldn=E2=80=99t this break rebooting when UID 1 is not init(8)?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D3D609B9-562B-416E-A776-A68B481B65D9>