From nobody Fri Nov 17 20:55:19 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SX8TW5PJpz51Mlg for ; Fri, 17 Nov 2023 21:01:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SX8TW3cWhz3Ysy for ; Fri, 17 Nov 2023 21:01:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-543923af573so3619515a12.0 for ; Fri, 17 Nov 2023 13:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1700254893; x=1700859693; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iUyafOj0w7j02fP65gmZbnRSkr2ohMm/mUBZF7QUo+8=; b=bTcBqhzkGykLyiWMTRH49UfBIqkb2glswRuXGI3Wxh6b8aaT7M7nuGcJvAGeKN5m/o fPh/ykFASyXl3pooGTfBLlwMj5JOIQfji9BgP6VxKKgc9GaSrdZX9tX4um0xsZNq0zpK mSE54jx3kf5EOGX40FZspe/u8rZD20q0hQgdhVej2EV9OY13U7Kt5lhSn4ztB+nzNgdt +DG5QGsry+NhXt0QIxAAE0DcRmOOjyVqR/LafJj2GKz2MgI1DP6T8zpBvX45RgQVfC0Z 0SZbfVBChUKck+NyXS2xDxOip+h6z7G7tA3oAn/wgRyFa0kJmR6+qw8v2AuI5S7iuaT5 rxmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700254893; x=1700859693; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iUyafOj0w7j02fP65gmZbnRSkr2ohMm/mUBZF7QUo+8=; b=mEkJ0Ra+EF3rKytwm8i9p24tfpMKi7z8o+8Xu8ar6oJCqJybHOT2wMsWK/fyKyYa0I PGgk+lCPZzo0XJjRMw44VtcNvslqWqwkoANg9F/ZwI1qv5WP3BO1ToX/aKSYDzaoxRjX u9QnpHGjjtqOuT3/Hb70X0AoGhhbz+GDSPhUA1QK/PhlMDUnY8hn1+wcyviHyslWydcc h88VsL3Gfx5f14gKUjLUiCvyJEfvEOYRZ/xw1RYpkNSu/IODdyuuHhgUL33JOaJ8XwPJ Qkd+MxpwkTzQl+4f9D43j3DUxfWnO5rbAf+9ljBHGAMl6QLylvk3UQbDM7VGcf1kwOBL zOfw== X-Gm-Message-State: AOJu0YzLH/k6+En3yKfDoyVZ4xjqIqV4vLeS2KJMMls7sC6F6DHVUmAD 60toyeXh9MCwH4bBzTb5zBuksKfuWqPA51lX0maF5g== X-Google-Smtp-Source: AGHT+IGCg3N2Xb7KYWyfmesFqduwcoUk3Eb1jl3RldqiPWUUQXs7IjlM/JScgr6KnmbpImxK9V02/b/vbACCMnmw908= X-Received: by 2002:aa7:d587:0:b0:540:194f:5781 with SMTP id r7-20020aa7d587000000b00540194f5781mr139567edq.33.1700254892751; Fri, 17 Nov 2023 13:01:32 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <6c6add3c-4a5e-4d84-9964-9a9448a36c95@sentex.net> <25943.49653.523313.53953@hergotha.csail.mit.edu> <25943.50480.709572.84563@hergotha.csail.mit.edu> In-Reply-To: <25943.50480.709572.84563@hergotha.csail.mit.edu> From: Warner Losh Date: Fri, 17 Nov 2023 13:55:19 -0700 Message-ID: Subject: Re: csh to sh migration for root in RELENG_14 To: Garrett Wollman Cc: mike tancsa , FreeBSD-STABLE Mailing List Content-Type: multipart/alternative; boundary="000000000000e90e2a060a5f7070" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4SX8TW3cWhz3Ysy --000000000000e90e2a060a5f7070 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 17, 2023, 12:55 PM Garrett Wollman wrote: > < said: > > > Thanks for the clarifications. With respect to changing root's shell, > > do I run the risk of breaking anything in, say, periodic that would rely > > on root's shell being one thing or another ? > > periodic(8) is a /bin/sh script and does not depend on any particular > user's shell. It executes each action as a separate process, and all > of the supplied actions are also /bin/sh scripts. > When we changed it to csh, we didn't change anything else. It hasn't been hazardous in 30 years since 4.4 had all the old school issues fixed. Warner > --000000000000e90e2a060a5f7070 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Nov 17, 2023, 12:55 PM Garrett Wollman <wollman@bimajority.org> wrote= :
<<On Fri, 17 Nov 2023 14:46= :53 -0500, mike tancsa <mike@sentex.net> said:

> Thanks for the clarifications.=C2=A0 With respect to changing root'= ;s shell,
> do I run the risk of breaking anything in, say, periodic that would re= ly
> on root's shell being one thing or another ?

periodic(8) is a /bin/sh script and does not depend on any particular
user's shell.=C2=A0 It executes each action as a separate process, and = all
of the supplied actions are also /bin/sh scripts.

When we changed it to csh,= we didn't change anything else. It hasn't been hazardous in 30 yea= rs since 4.4 had all the old school issues fixed.
Warner
--000000000000e90e2a060a5f7070--