Debian Bug report logs -
#339406
coreutils: Bug in dircolors C-shell output
Reported by: Heimdall Midgard <heimdalle@gmail.com>
Date: Wed, 16 Nov 2005 01:48:04 UTC
Severity: normal
Merged with 339034,
340377
Found in version tcsh/6.14.00-1
Fixed in version tcsh/6.14.00-2
Done: godisch@debian.org (Martin A. Godisch)
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Michael Stone <mstone@debian.org>:
Bug#339406; Package coreutils.
(full text, mbox, link).
Acknowledgement sent to Heimdall Midgard <heimdalle@gmail.com>:
New Bug report received and forwarded. Copy sent to Michael Stone <mstone@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: coreutils
Version: 5.93-2
Severity: normal
There appears to be a bug the C-shell output option of the "dircolors"
utility. This can be seen in the following shell session extract (line
breaks may have been reformatted by the webmail service):
# ---BEGIN TCSH SHELL SESSION
aldebaran:~> eval `dircolors -c`
Unknown colorls variable `su'.
aldebaran:~> dircolors -c
setenv LS_COLORS
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:'
aldebaran:~> setenv LS_COLORS
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:'
Unknown colorls variable `su'.
# --END TCSH SHELL SESSION
The culprit appears to be the sequence
"su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44":
# ---BEGIN TCSH SHELL SESSION
aldebaran:~> setenv LS_COLORS 'su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44'
Unknown colorls variable
`su'
aldebaran:~> setenv LS_COLORS
'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:'
aldebaran:~>
# ---END TCSH SHELL SESSION
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.3-k7r1-custom
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages coreutils depends on:
ii libacl1 2.2.32-1 Access control list shared library
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libselinux1 1.26-1 SELinux shared libraries
coreutils recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#339406; Package coreutils.
(full text, mbox, link).
Acknowledgement sent to Michael Stone <mstone@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 339406@bugs.debian.org (full text, mbox, reply):
reassign 339406 tcsh
quit
On Wed, Nov 16, 2005 at 09:41:58AM +0800, Heimdall Midgard wrote:
>There appears to be a bug the C-shell output option of the "dircolors"
>utility. This can be seen in the following shell session extract (line
>breaks may have been reformatted by the webmail service):
>
># ---BEGIN TCSH SHELL SESSION
>aldebaran:~> eval `dircolors -c`
>Unknown colorls variable `su'.
That's because tcsh is attempting to parse the variable for its builtin
ls-F function. tcsh shouldn't try to restrict another program's
environment variable.
Mike Stone
Information forwarded to debian-bugs-dist@lists.debian.org, Michael Stone <mstone@debian.org>:
Bug#339406; Package coreutils.
(full text, mbox, link).
Acknowledgement sent to Joe Drew <joe@drew.ca>:
Extra info received and forwarded to list. Copy sent to Michael Stone <mstone@debian.org>.
(full text, mbox, link).
Message #15 received at 339406@bugs.debian.org (full text, mbox, reply):
reopen 339406
severity 339406 normal
thanks
tcsh should not rely on dircolors not being set, and it should
especially not barf on something it doesn't recognize.
Joe
Severity set to `normal'.
Request was from Joe Drew <joe@drew.ca>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Michael Stone <mstone@debian.org>:
Bug#339406; Package coreutils.
(full text, mbox, link).
Acknowledgement sent to Joe Drew <joe@sidefx.com>:
Extra info received and forwarded to list. Copy sent to Michael Stone <mstone@debian.org>.
(full text, mbox, link).
Message #22 received at 339406@bugs.debian.org (full text, mbox, reply):
My mistake - sorry. I didn't realize this was already assigned to tcsh,
and I thought I was reopening another bug on the same issue.
Bug reassigned from package `coreutils' to `tcsh'.
Request was from mstone@mathom.us (Michael Stone)
to control@bugs.debian.org.
(full text, mbox, link).
Reply sent to godisch@debian.org (Martin A. Godisch):
You have taken responsibility.
(full text, mbox, link).
Notification sent to Heimdall Midgard <heimdalle@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #33 received at 339034-close@bugs.debian.org (full text, mbox, reply):
Source: tcsh
Source-Version: 6.14.00-2
We believe that the bug you reported is fixed in the latest version of
tcsh, which is due to be installed in the Debian FTP archive:
tcsh-kanji_6.14.00-2_i386.deb
to pool/main/t/tcsh/tcsh-kanji_6.14.00-2_i386.deb
tcsh_6.14.00-2.diff.gz
to pool/main/t/tcsh/tcsh_6.14.00-2.diff.gz
tcsh_6.14.00-2.dsc
to pool/main/t/tcsh/tcsh_6.14.00-2.dsc
tcsh_6.14.00-2_i386.deb
to pool/main/t/tcsh/tcsh_6.14.00-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 339034@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin A. Godisch <godisch@debian.org> (supplier of updated tcsh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 30 Nov 2005 18:36:20 +0100
Source: tcsh
Binary: tcsh-kanji tcsh
Architecture: source i386
Version: 6.14.00-2
Distribution: unstable
Urgency: low
Maintainer: Martin A. Godisch <godisch@debian.org>
Changed-By: Martin A. Godisch <godisch@debian.org>
Description:
tcsh - TENEX C Shell, an enhanced version of Berkeley csh
tcsh-kanji - TENEX C Shell, an enhanced version of Berkeley csh
Closes: 339034
Changes:
tcsh (6.14.00-2) unstable; urgency=low
.
* Don't die on unknown LS_COLORS values, closes: #339034.
* Updated standards version, fixed debian/rules.
Files:
3a325c2b311fe413eace5d9dc9c917e1 630 shells standard tcsh_6.14.00-2.dsc
4fd8f3288ea2974fb8c18e222c30daeb 23293 shells standard tcsh_6.14.00-2.diff.gz
477319b46d99867b1f0a78376b950254 480336 shells standard tcsh_6.14.00-2_i386.deb
50f0a971be285f3d27754c18782486b5 483548 shells extra tcsh-kanji_6.14.00-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDjeO+mpGCHWjc1gYRAjEOAJ4tjB+qK+SE0UphWpvXxeAUwJwJCgCgt2h4
gIG3UxHBwraERMfphiU3hIQ=
=73rL
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 24 Jun 2007 11:27:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jul 3 05:36:52 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.