https://bugzilla.novell.com/show_bug.cgi?id=764288
https://bugzilla.novell.com/show_bug.cgi?id=764288#c21
--- Comment #21 from Christian Boltz
/suse/werner> ll /mounts/dist/unpacked/head-i586.full/usr/share/bash-completion/ -rw------- 1 root root 64047 Dec 8 2011 bash_completion [...] for this does not look like readable.
Strange. Can you please check from which package (rpm -q) this comes and confirm with rpm -qlv that the permissions are indeed set that way by the package? (In reply to comment #19)
Ah, thanks for the explanation. It makes sense. But it also means we have several broken files in /etc/profile.d since they will get ignored in the same way for non-login shells (osc.sh, for instance). Hrm.
Nice[tm]. Do we need separate bugreports for them or one solution that works for all? (Basically everything that does more than "export foo" is probably broken for non-login shells.)
So I guess there's no best solution than sourcing the file from bash.bashrc?
Yes, for 12.2 sourcing from bash.bashrc is the best (only?) solution. (In reply to comment #20)
I think it's then anyway wrong to use /etc/profile.d for bash-completion setup. /etc/bash.bashrc is sourced from /etc/profile, so it should suffice to setup completions there.
Probably yes, but please test it ;-) On the longer term - what about a directory /etc/bash.d/ ? (similar to /etc/profile.d/, but sourced via bash.bashrc) Or would a more generic solution for all shells make more sense? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.