Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293871

Summary: app-shells/bash-completion doesn't clean env after initialisation
Product: Gentoo Linux Reporter: Raphaël Droz <raphael.droz+floss>
Component: New packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raphaël Droz 2009-11-20 17:53:09 UTC
For sometimes the upstream files bash_completion and bash_completion.sh are splitted by gentoo in /etc/profile.d/bash-completion.sh, /usr/share/bash-completion/{.{pre,post},base}
But the .post file in charge of unsetting some helpers/variables is no more loaded what make the environment a bit bloated by those variables.

Reproducible: Always

Steps to Reproduce:
1. . /etc/profile.d/bash-completion.sh
2. echo $USERLAND/$UNAME $have

Actual Results:  
GNU/Linux yes
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-01 17:29:50 UTC
Thanks.

+  01 Dec 2009; Jeremy Olexa <darkside@gentoo.org>
+  -bash-completion-1.1-r3.ebuild, +bash-completion-1.1-r4.ebuild,
+  files/bash-completion.sh:
+  Revbump for minor ommision in bash-completion.sh file which didn't clean
+  up the env properly. bug 293871