From nobody Thu Aug 17 19:32:12 2023 X-Original-To: freebsd-current@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 4RRZs45hZGz4q44d for ; Thu, 17 Aug 2023 19:32:24 +0000 (UTC) (envelope-from sr@genyosha.net) Received: from ns0.genyosha.net (ns0.genyosha.net [50.39.243.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "float.home.genyosha.net", Issuer "float.home.genyosha.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RRZs436gmz3ZCc for ; Thu, 17 Aug 2023 19:32:24 +0000 (UTC) (envelope-from sr@genyosha.net) Authentication-Results: mx1.freebsd.org; none Received: from dragon.home.genyosha.net (ops0.genyosha.net [50.39.243.219]) by ns0.genyosha.net (8.17.1/8.17.1) with ESMTPS id 37HJWH1r067640 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 17 Aug 2023 12:32:17 -0700 (PDT) (envelope-from sr@genyosha.net) Received: from dragon.home.genyosha.net (localhost [127.0.0.1]) by dragon.home.genyosha.net (8.14.7/8.14.7) with ESMTP id 37HJWC4D025867; Thu, 17 Aug 2023 12:32:12 -0700 Received: (from sr@localhost) by dragon.home.genyosha.net (8.14.7/8.14.7/Submit) id 37HJWCdA025866; Thu, 17 Aug 2023 12:32:12 -0700 Date: Thu, 17 Aug 2023 12:32:12 -0700 From: Steve Rikli To: Graham Perrin Cc: freebsd-current@freebsd.org Subject: Re: etcupdate -B, /.cshrc and /.profile Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: inspected by milter-greylist-4.6.4 (ns0.genyosha.net [50.39.243.220]); Thu, 17 Aug 2023 12:32:17 -0700 (PDT) for IP:'50.39.243.219' DOMAIN:'ops0.genyosha.net' HELO:'dragon.home.genyosha.net' FROM:'sr@genyosha.net' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.4 (ns0.genyosha.net [50.39.243.220]); Thu, 17 Aug 2023 12:32:17 -0700 (PDT) X-Rspamd-Queue-Id: 4RRZs436gmz3ZCc 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:27017, ipnet:50.39.128.0/17, country:US] On Thu, Aug 17, 2023 at 07:17:20PM +0100, Graham Perrin wrote: > If I recall correctly, a few hours ago etcupdate -B resulted in removal of > two files: > > /.cshrc > /.profile > > Is this degree of checking/removal a novelty? > > (I can't recall the files' contents, or when I created them. I guess that I > carelessly created them as dot files months ago without realising that I > wasn't at ~, I don't mourn their loss.) I suspect you didn't create them, at least not directly or manually; my system still has them at the moment, and they appear to be the same from /root/ : $ uname -mrv 13.2-STABLE FreeBSD 13.2-STABLE stable/13-n255938-fec383bb5385 GENERIC amd64 $ ls -lai /.profile /root/.profile /.cshrc /root/.cshrc 5 -rw-r--r-- 2 root wheel 1023 May 12 2022 /.cshrc 7 -rw-r--r-- 2 root wheel 507 May 12 2022 /.profile 5 -rw-r--r-- 2 root wheel 1023 May 12 2022 /root/.cshrc 7 -rw-r--r-- 2 root wheel 507 May 12 2022 /root/.profile I think they were installed by FreeBSD rather than created. My other systems which have been periodically upgraded over time have the same situation. Cheers, sr.