From nobody Tue Oct 18 13:07:25 2022 X-Original-To: dev-commits-src-main@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 4MsDfm10KCz4fWFt; Tue, 18 Oct 2022 13:07:28 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MsDfm0Dfrz481F; Tue, 18 Oct 2022 13:07:28 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666098448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=roGEaj0Q0JQ+GZcl8RaLTMdOOr7ne5z6n1C/3H3+BRY=; b=unUwvXScDoUkM7yAJ9O8QGPX7bAzCZsqQ7Kl7NgGn7Mg93k65g2Wu3Y3dR2IQDcYEosxoJ non/3CteqJ8C3lotRHx8tbAbAr/Du5rJUtI68xYAOeJufn6iu1O2bGW1Nvqor1cVF0DFO8 Jy8MX71rjIq+u6VCinb0p5qPhm7Dr0K5TULbBayddoW1eVHBKBnWWnV/fx7+T+REu4ORu3 Kq9AymbXnCBpNz0AD16B9dxS1jkJMhr05Et7VK+o0Yp676cKGpzxDradd1uyu+lPNEv+b7 drEhEuLo3jBGzpPP56Rt0uNvtTlYVe/8Pl+00t/jguPNeH+K721drYopnrjZ1A== Received: from ltc.des.no (ti0187a400-1167.bb.online.no [85.166.92.156]) (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 did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MsDfl5R6vz1Yhn; Tue, 18 Oct 2022 13:07:27 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.no (Postfix, from userid 1001) id 2BF2195DA1; Tue, 18 Oct 2022 15:07:25 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: FreeBSD User Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 497cdf9673ec - main - sh: read more profile files. In-Reply-To: <20221009091405.171bde4f@thor.intern.walstatt.dynvpn.de> (FreeBSD User's message of "Sun, 9 Oct 2022 09:13:38 +0200") References: <202210012131.291LVIY8044703@gitrepo.freebsd.org> <20221009091405.171bde4f@thor.intern.walstatt.dynvpn.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (berkeley-unix) Date: Tue, 18 Oct 2022 15:07:25 +0200 Message-ID: <8635blz3ea.fsf@ltc.des.no> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666098448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=roGEaj0Q0JQ+GZcl8RaLTMdOOr7ne5z6n1C/3H3+BRY=; b=Q94G0zrHtGkpnfpdiDOzpY3VP5KuKW6hDa0ZiALFHIbpEF1FAd467P+i/qlhUFNn3M6X+b vDHDHtHFTgw56CSvBpKGsUSfDLUUwfd4QRm2MlWv5dZrGJ0aFLE8twPaB+S8cMx3wlBRNO yymQ6JuFcWGBM//U8DQMQ0G+11wr5ysFZLoalZLFNekawXZ/NbJ5NVmatLCgbS1pzKisd8 +IsE6on3ZeGroX2p27uyTtuIcTqkcEqXar2zg2/n96V2wBY1Iqd0TUPGcwBI1S6VfjEjtO EHORStrtctDCaI0CbSrvUkWmhnkGDuKUiy6DJNAXNFsxEfwj2oOcQ8Cp/9Jk8g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666098448; a=rsa-sha256; cv=none; b=eU6xyQ5uL0BkRsi8d1VCRjcid14EVuvG87aSlRFK9S5Fagf7y74PEfelqt2BccExHBu7jF onb1ep1B+vwvHTVCqpCkFlnav3aBHxjR11C8VGOJiJFobvlFQVsYCIhlLgfsXJovouppgS pcLn8Dfa9kkY1XlmroRSfiSehIu3D96W+6Y2EBcPf2R633mvycsiOa7tqtBqN21bTo51kq Ae21tDs3sbPiF1uHVlzLJfjW4fVVxTUUar8yyhqw/brBki/YvRWZfXGAsArpXHSeuYR/N+ FEOqymKHfc6uyMRodi3PhEZUiEzQJ6SYjBuyR8CXVr3UMesqpLNz+LH8OHFoXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N FreeBSD User writes: > According to this commit, I took the liberty opening a PR (id=3D266913) b= ecause some ports, like > lang/gawk and x11-toolkits/vte3, install their SH and CSH set of shell co= nfiguration files into > ${LOCALBASE}/etc/profile.d/, i.e. vte.{sh|csh}.=20 > The proposed/commited /etc/profile includes also *.csh files, which trigg= ers some disturbing > error messages during a full login (i.e. su - ) and the list of those mes= sages increase with > the number of unfitting shell configuration files. > I do not have a general solution, maybe someone more enlighted can take a= look at this. I've been racking my brain over this because I can't think of another solution than to either explicitly skip *.csh, or only read *.sh. The Linux distros I was able to check easily (RHEL, Debian, Ubuntu, Alpine) do the latter, so I suppose we should too. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org