[Bash-completion-devel] [bash-completion-Bugs][313461] [module-init-tools] Follow symlinks while looking for kernel modules

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Wed Apr 25 21:22:31 UTC 2012


Bugs item #313461, was changed at 2011-12-02 08:23 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313461&group_id=100114

>Status: Open
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: [module-init-tools] Follow symlinks while looking for kernel modules 
Distribution: None
Originally reported in: None
Milestone: None
Status: Fix Committed
Original bug number: 


Initial Comment:
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=blob;f=bash_completion;h=eaee91e0fee3d48406c53bc7cb7eae637ef49639;hb=HEAD#l1137

Actually all symlinks in /lib/modules/$(uname -r) are not followed, so any relative module located in a external linked path is not listed.

This can be fixed using the -L flag too, so line #1137 would be:
    COMPREPLY=( $( compgen -W "$( command ls -RL $modpath | \

Thanks

- speps -

----------------------------------------------------------------------

>Comment By: Igor Murzov (garik-guest)
Date: 2012-04-26 01:22

Message:
Can you provide more information on which symlinks you would like to be followed. The problem with following all symlinks is that /lib/modules/$(uname -r)/ directory contains symlinks to build and source directories, which we don't want to traverse.

----------------------------------------------------------------------

Comment By: Igor Murzov (garik-guest)
Date: 2011-12-04 17:52

Message:
Fixed in commit: http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=98fe4713a3f006b47f697307a68acde6150ca110

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313461&group_id=100114



More information about the Bash-completion-devel mailing list