From owner-svn-src-all@freebsd.org Fri Nov 16 20:09:52 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E42A1103500; Fri, 16 Nov 2018 20:09:52 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B661C8D56F; Fri, 16 Nov 2018 20:09:51 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wr1-x42e.google.com with SMTP id u9-v6so26080286wrr.0; Fri, 16 Nov 2018 12:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CcZ5O5elEwJLGO6MNOWhXc9CvGl17p0vR9M+IAmzYoA=; b=cTQ8ZCjT+2B6x1KkfKV2ZTDOv9XIqqTav425CDYz2UThNHet+Dl3YMgvIqF+uJwZtb suhAtQfsFxK2MMfFN2G3ws174aV7mw0d7/OrFpLtwNS/9ks6q5TwFqN7jp4zMOgysrnW hXZYLOXg+o0+9hxkOzLruV9pl0E+Nnkj7NlrgD8Nt/8wVyLElGvoWf1m0KdLtR7OzLRE OJfQnoo47XSikLduSWsg8Zh/OlzqcAE4gSsJz6TZmbm/TPLZxvTBu1sV+TQi6rupk+PX cOFdcb3S4h8bPkBlGTxMiMjjtxty9FNM31pZfejg2vbeeIrhpTCt8eEV5uxHyYaRWYb8 EWAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=CcZ5O5elEwJLGO6MNOWhXc9CvGl17p0vR9M+IAmzYoA=; b=l/Cl4ZJXKzLnIRC1vkpJg10/RQ/mm1F/mmg5kTAJ3biRykJRrACbEoB1T4HkE5fAR3 nqMjA9CuU1y0DWdMZGViTm/MT3gOL/fbPCd5pxw2ItP3hJyq2jqycYJaQsYWYRnS+apK GIOwSKBa+mq5PqGMhdSHSdIz46Yb9XcjQsUYrPNMxTbDewBGYIFsy7Pimv2ISwmf0N5F T6SHwHxSAaksUY/GuAP7E0RYd3zfrL0qHG0lG4Fn96hIKs7EZetA4sqq1gLmEZRT+MXR VD0kVuMoFB0iNsGbyBhseLHm6SxetRTFvJAma/T150zLDFLdMca2cYEcjfF8GIhoEH1A rC3w== X-Gm-Message-State: AGRZ1gKF9E6yaGgHv0+ws9jVv/FjvJqasbZas7fNtQ2WHYjB59IC7IKF 6qKjrk/gkKHHPaiLWGzvsxImmq44 X-Google-Smtp-Source: AJdET5faNHtqXv5e3HK0+88brBBIUJNM9iclouzjgHMgosISM5Q70CG7r0Xs18Y+33L+Bq6YRm/Fxw== X-Received: by 2002:adf:b253:: with SMTP id y19-v6mr10396802wra.213.1542398989685; Fri, 16 Nov 2018 12:09:49 -0800 (PST) Received: from [192.168.0.10] (cpc92302-cmbg19-2-0-cust461.5-4.cable.virginm.net. [82.1.209.206]) by smtp.gmail.com with ESMTPSA id y34sm5856770wrd.68.2018.11.16.12.09.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 12:09:48 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r340478 - head/share/man/man7 From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= X-Mailer: iPhone Mail (16B92) In-Reply-To: <201811161840.wAGIeqdQ090908@slippy.cwsent.com> Date: Fri, 16 Nov 2018 20:09:44 +0000 Cc: rgrimes@freebsd.org, Warner Losh , 0mp@freebsd.org, src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201811161840.wAGIeqdQ090908@slippy.cwsent.com> To: Cy Schubert X-Rspamd-Queue-Id: B661C8D56F X-Spamd-Result: default: False [-3.35 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.88)[-0.880,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_IN_DNSWL_NONE(0.00)[e.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.76)[ipnet: 2a00:1450::/32(-1.91), asn: 15169(-1.82), country: US(-0.10)]; FORGED_SENDER(0.30)[trasz@FreeBSD.org,etnapierala@gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@FreeBSD.org,etnapierala@gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 20:09:52 -0000 > On 16 Nov 2018, at 18:40, Cy Schubert 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)?