Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #83410
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | наб <nabijaczleweli@nabijaczleweli.xyz> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start |
| Date | Sat, 10 Aug 2024 14:30:07 +0200 |
| Message-ID | <J9Tor-43OB-67@gated-at.bofh.it> (permalink) |
| References | <HocYy-fpDh-5@gated-at.bofh.it> <J9SVj-43nu-3@gated-at.bofh.it> <HocYy-fpDh-5@gated-at.bofh.it> <J9SVj-43nu-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Sat Aug 10 12:27:08 2024 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -1.699 |
| Reply-To | наб <nabijaczleweli@nabijaczleweli.xyz>, 1053860@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 1053860 |
| X-Debian-Pr-Package | ethtool |
| X-Debian-Pr-Keywords | unreproducible |
| X-Debian-Pr-Source | ethtool |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qto75hsiblv7kslx" |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20231221-2-4202cf-dirty |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1851707 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 66 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 1053860@bugs.debian.org |
| X-Original-Date | Sat, 10 Aug 2024 14:24:32 +0200 |
| X-Original-Message-ID | <cjl7w5j554uqxu3si7bmt5zok3khu222fjluffazfwnrje5rvk@tarta.nabijaczleweli.xyz> |
| X-Original-References | <k3bmmn3bpbrhfpuoaleiyspw2yuxxiipu6xhhm3sngbqf42xlz@5lxays46zlku> <ZrdUf6F_RZ81kAGD@eldamar.lan> <k3bmmn3bpbrhfpuoaleiyspw2yuxxiipu6xhhm3sngbqf42xlz@5lxays46zlku> <ZrdUf6F_RZ81kAGD@eldamar.lan> |
| Xref | csiph.com linux.debian.bugs.dist:1207819 linux.debian.kernel:83410 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Control: reassign -1 bash-completion 1:2.11-8
Control: close -1 1:2.14.0-1
On Sat, Aug 10, 2024 at 01:52:31PM +0200, Salvatore Bonaccorso wrote:
> JFTR, I cannot reproduce this behaviour right now.
I can (bash 5.2.21-2.1, TERM=st-256color and TERM=dumb),
no ethtool-related aliases.
/usr/share/bash-completion/completions/ethtool uses
_available_interfaces(),
/usr/share/bash-completion/bash_completion
which runs
COMPREPLY=($({
# ...
ifconfig -a || ip link show
# ...
} 2>/dev/null | awk \
'/^[^ \t]/ { if ($1 ~ /^[0-9]+:/) { print $2 } else { print $1 } }'))
and thus
$ ip link show | cat -A
1: ^[[36mlo: ^[[0m<LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000$
link/loopback ^[[33m00:00:00:00:00:00^[[0m brd ^[[33m00:00:00:00:00:00^[[0m$
2: ^[[36mcard1: ^[[0m<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond1 state ^[[32mUP ^[[0mmode DEFAULT group default qlen 1000$
link/ether ^[[33m00:0a:f7:63:d5:12^[[0m brd ^[[33mff:ff:ff:ff:ff:ff^[[0m permaddr ^[[33m00:0a:f7:63:d5:10^[[0m$
because I have alias ip='ip -c'.
This means this is bash-completion bug,
and after updating to 1:2.14.0-1 from 1:2.11-8 this no longer happens.
Can't find a specific debbug to merge with or a specific changelog line
ofr this, so reassigning and closing at this granularity.
Best,
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start наб <nabijaczleweli@nabijaczleweli.xyz> - 2023-10-13 01:10 +0200
Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start Salvatore Bonaccorso <carnil@debian.org> - 2024-08-10 14:00 +0200
Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-08-10 14:30 +0200
Processed: Re: Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-10 14:00 +0200
Processed: Re: Bug#1053860: /usr/share/bash-completion/completions/ethtool: completes with ^[[36m at the start "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-10 14:30 +0200
csiph-web