Comment 4 for bug 1390061

Revision history for this message
Ove Risberg (ove-risberg) wrote :

Ubuntu 14.10 have the same problem:

root@ubuntu1410:~# strace bash -c ". /etc/bash_completion; quote_readline '/something'; echo" 2>&1 | grep /etc/passwd
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3

root@ubuntu1410:~# strace bash -c ". /etc/bash_completion; quote_readline '/something'; echo" 2>&1 | grep sss
open("/lib/x86_64-linux-gnu/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/var/lib/sss/mc/passwd", O_RDONLY|O_CLOEXEC) = 3
connect(4, {sa_family=AF_LOCAL, sun_path="/var/lib/sss/pipes/nss"}, 110) = 0

The /usr/share/bash-completion/bash_completion file are identical on 14.04 and 14.10 so the patch installs without any problem and the workaround works as expected.