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.
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 lib/x86_ 64-linux- gnu/libnss_ sss.so. 2", O_RDONLY|O_CLOEXEC) = 3 var/lib/ sss/mc/ passwd" , O_RDONLY|O_CLOEXEC) = 3 AF_LOCAL, sun_path= "/var/lib/ sss/pipes/ nss"}, 110) = 0
open("/
open("/
connect(4, {sa_family=
The /usr/share/ bash-completion /bash_completio n file are identical on 14.04 and 14.10 so the patch installs without any problem and the workaround works as expected.