From owner-freebsd-questions@freebsd.org Thu Aug 20 18:37:55 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E89D3C5639 for ; Thu, 20 Aug 2020 18:37:55 +0000 (UTC) (envelope-from bob811183@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BXYLB65SQz3YYt for ; Thu, 20 Aug 2020 18:37:54 +0000 (UTC) (envelope-from bob811183@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id CF3B63C5638; Thu, 20 Aug 2020 18:37:54 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEFFE3C54D9 for ; Thu, 20 Aug 2020 18:37:54 +0000 (UTC) (envelope-from bob811183@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXYLB0DRmz3YWH for ; Thu, 20 Aug 2020 18:37:53 +0000 (UTC) (envelope-from bob811183@gmail.com) Received: by mail-pj1-x1035.google.com with SMTP id q93so1539546pjq.0 for ; Thu, 20 Aug 2020 11:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=reply-to:from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=Y+8L5wHH1eqmXXnfk9fRRUSe0atxCmGj8FZQ+Wn/xvc=; b=oHzG54b3ezfr+tKk50qfOgacI9wslbDuDLSewDStTJzdnnV2HztKc8R2Yes/mSgzdH SCxvcGqfpHTPHCcbexcJ3QyFMBW6bzdYNnvsxds6ThMMSoqEnHzt3LJ1XABtJw/c0IEL lECWepOCBNdJAAXJZj5bgi64i3NF5n5odvmo1X3xB8mZGevsJHlrDlSYQ3AZ9ChVYjFC Ne9BMyMRIT1ey+UfMgWJyV/J+nNLy/L0jT6oFq+aqMfV/3+qc/AR9JwfWH5U3shgjWaa ZglCVbxZ/cfbg+5Hp876IZW9ountE0zB5+dXwYvodEtq0blWxQ+EKKpzjTRcvrRIPCuJ 7rMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:from:to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=Y+8L5wHH1eqmXXnfk9fRRUSe0atxCmGj8FZQ+Wn/xvc=; b=HLrLfUabYX4tObFH5eqBYaJw/joAsqnzbqqZ/68hixajAosQ67SycgQ5OGkUF5CUzR aRdUB0ccKdvPJu0D5aYzzls9+EvygtcmhUEAH5rnypV5SoJ0M5yquupPWHwdgKeFAnlR 5v7OSlW2Es/QIrNgqoiFPON86yPEfWnElYNETqWisG3tk7HuDcJwYO76UCMZ0GURrWNu N5EdLkE2rtgrpKMpt9EUETKO2mTZEWugAm0CvsKuCd3MGSvQpT15ij+b8A6Cg1oR6v5t 9PdpggyXLcsgx115qRN0x50L87g4imF/aW+iVpm4YP15b7cP4DyDX3E0AD2wF7fHNOqr ia0g== X-Gm-Message-State: AOAM533Twyt7SJgQomBkeo9LQbTnNgLdRt92IuWuN9WkWPde3bzAZ8rz pyHl/9z2OuLv4p9aaJmab9kdonN63DT74tcasA== X-Google-Smtp-Source: ABdhPJztbaL5ndC3mQ8SguTYW8yss4wdKyt2JS0YyyNdKnR8a1tKT8HZoaZA+Wb6XOe3niSf1JoJ+w== X-Received: by 2002:a17:90a:2bc8:: with SMTP id n8mr71647pje.189.1597948672158; Thu, 20 Aug 2020 11:37:52 -0700 (PDT) Received: from NotATablet (c-67-182-180-101.hsd1.ca.comcast.net. [67.182.180.101]) by smtp.gmail.com with ESMTPSA id k8sm3459040pgt.54.2020.08.20.11.37.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2020 11:37:51 -0700 (PDT) Reply-To: From: "Drew Tomlinson" To: Subject: Bash Does Not Source /etc/profile Date: Thu, 20 Aug 2020 11:37:50 -0700 Message-ID: <0a5901d67721$02a62f80$07f28e80$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdZ3F3jRPJ3OI8zvRmiCxaHRgfxyAA== Content-Language: en-us X-Rspamd-Queue-Id: 4BXYLB0DRmz3YWH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=oHzG54b3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bob811183@gmail.com designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=bob811183@gmail.com X-Spamd-Result: default: False [-1.46 / 15.00]; HAS_REPLYTO(0.00)[drew@mykitchentable.net]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.60)[-0.603]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[67.182.180.101:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.15)[0.146]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1035:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 18:37:55 -0000 I performed an binary upgrade from 12.0-p3 to 12.1-p8 and recompiled all ports. My shell is set to /usr/local/bin/bash in /etc/passwd. One thing that's puzzling is that /etc/profile is no longer sourced when I log in. However, if I source /etc/profile after I log in, there are no errors. I have verified my shell is both login and interactive with these code snippets I found on the web: [drew@blackcloud ~]$ shopt -q login_shell && echo 'Login shell' || echo 'Not login shell' Login shell [drew@blackcloud ~]$ [[ $- == *i* ]] && echo 'Interactive' || echo 'Not interactive' Interactive What else should I check? Thanks, Drew