[Bash-completion-devel] Bug#871965: [bash-completion] Command "sudo fsck /dev/sd" tab infinity

Sergey Nikitin serg1982 at ngs.ru
Sun Aug 13 03:54:37 UTC 2017


Package: bash-completion
Version: 1:2.1-4.3
Severity: normal

--- Please enter the report below this line. ---

sudo fsck /dev/sd
then press TAB and it will produce infinity loop of:
find -L /dev/ -type b
with 100% CPU load

if run "sudo find -L /dev/ -type b" manually it says: "find: File system 
loop detected; '/dev/fd/3' is part of the same file system loop as '/dev/'.
find: '/dev/fd/4': No such file or directory"

In the other side if use fsck.ext4 instead of fsck is everything is 
fine. So problem in completion of fsck only...

--- System information. ---
Architecture:
Kernel: Linux 4.9.0-3-amd64

Debian Release: 9.1
999 stable deb.debian.org
900 testing deb.debian.org
800 unstable deb.debian.org
700 experimental deb.debian.org
100 stretch-backports deb.debian.org

--- Package information. ---
Depends (Version) | Installed
======================-+-===========
bash (>= 3.2) | 4.4-5


Package's Recommends field is empty.

Package's Suggests field is empty.



More information about the Bash-completion-devel mailing list