| Summary: | app-shells/bash-completion-2.1-r2 - error message on new shell: "bash: /etc/bash_completion.d/mount.linux: no such file or directory" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | i.Dark_Templar <idarktemplar> |
| Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | admwiggin, ap, bertrand, chris, israel.lugo, mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
i.Dark_Templar
2014-10-12 10:57:47 UTC
Sorry, I've written wrong package name. equery b filename shows that these files belong to 'app-shells/bash-completion-2.1-r2' Confirm on app-shells/bash-completion-2.1-r2.
I believe it may be related to the following lines:
$ head /usr/share/bash-completion/mount
# mount(8) completion -*- shell-script -*-
if [[ $OSTYPE == *linux* ]]; then
. "$BASH_SOURCE.linux"
return
fi
I haven't looked at the contents of BASH_SOURCE, but if it's /etc/bash_completion.d/mount, that explains why it's looking for /etc/bash_completion.d/mount.linux.
Doing eselect bashcomp enable mount.linux causes the error message to disappear; however, that's an ugly hack. The implementation detail of there being mount vs mount.linux should remain hidden.
This bug is INVALID any more. mount* are not included in app-shells/bash-completion. See bug #579766. |