Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14762

[BUG] Bad call to dircolors in /etc/bash.bashrc on LMDE

Path csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Philip Hudson <phil.hudson@iname.com>
Newsgroups gnu.bash.bug
Subject [BUG] Bad call to dircolors in /etc/bash.bashrc on LMDE
Date Thu, 1 Nov 2018 04:51:57 +0000
Lines 45
Approved bug-bash@gnu.org
Message-ID <mailman.3235.1541096392.1284.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1541096392 22362 208.118.235.17 (1 Nov 2018 18:19:52 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org, bash@packages.debian.org
Envelope-to bug-bash@gnu.org
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZcPOj6BFYeNNQbi9n5CmQSWXfP7/4BZatPMOaCNtRFw=; b=Df9O/aPK/XhBb08uUjrytK0O77TVbkjNcQQiU8D8eq43YuHUu6gQYoFYfeOc6BQYw/ GTmPigBKAogcFdbGfK9ZV4aKNEoLz1DHrWcdOWm8IHZU1r2K1NLHI4WyWB2WtgDxeBCw XUgVaGV/kHvGRqZMks/Ce8Z11EKc25ShOmrasn170/hc0iR5pgZlSqK/YtMUmUeD4zWt 167MadiskR8v1JTxyZ6kd6TqtODOPsTIMkt7dspnaBWUWjAiXKIpbbm+4vaL5ivhjQ7Y DxP734e2h84y610dUAWY3yN588S7gV+XiBY2788bpF4IkODfOypkTxBewj1tgB41N+od YOGw==
X-Gm-Message-State AGRZ1gJrVbDXbHA0FXQk686XvcOtNHW7+hnIENcNpNKstObb6vOLVKo2 KewyxYnAFIc66DQkMhQA33po3Q/vIRcKZZuA98gGnzvP
X-Google-Smtp-Source AJdET5cPBFOU/h9VlJD8qw+XVTba5Iip4i6QmX0Uh+rzKGICZKM9riVa4JhBTaqJn6B0Ry+VlVJC4xaChpBpstOBC5A=
X-Received by 2002:a62:5d49:: with SMTP id r70-v6mr6363576pfb.123.1541047932349; Wed, 31 Oct 2018 21:52:12 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From 209.85.210.170
X-Mailman-Approved-At Thu, 01 Nov 2018 14:19:50 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14762

Show key headers only | View raw


Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.  -I../. -I.././include -I.././lib
-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall
uname output: Linux asdf 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1
(2018-10-03) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.3
Patch Level: 30
Release Status: release

Description:
At line 44 of /etc/bash.bashrc the line

   eval $(dircolors)

is incorrect: it errors if $SHELL is tcsh. All other calls correctly
specify 'dircolors -b'.

Note: Arises on Linux Mint Debian Edition 2. I have not been able to
determine whether this report is more properly addressed to GNU, or
downstream to Debian or Linux Mint. Apologies if it's not you.

Repeat-By:
In a tcsh interactive shell session, invoke 'bash' or 'bash -i'.

Fix:
Change line 44 to:

   eval $(dircolors -b)

Consistent with all the other calls to dircolors.


-- 
Phil Hudson                  http://hudson-it.ddns.net
Pretty Good Privacy (PGP) ID: 0x4E482F85

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

[BUG] Bad call to dircolors in /etc/bash.bashrc on LMDE Philip Hudson <phil.hudson@iname.com> - 2018-11-01 04:51 +0000

csiph-web