On 27 Dec 2018, Gabriel F. T. Gomes wrote: >On Fri, Dec 28, 2018 at 01:46:30AM +0530, shirish शिरीष wrote: > >I don't see anything wrong with this snippet, however, I'm looking into >the packaging files for ifupdown2 and I see that it ships (or used to >ship) a completion file for ifup. > >> I am willing to investigate but have no idea about bash-completion >> except that it makes my life easier. > >What is the version of ifupdown2 that you have installed in your >machine? Do you know if you updated it recently?
I just found that the previous version of ifupdown2 used to ship a completion file for ifup (I built it from the .dsc file): dpkg-deb --contents /var/cache/pbuilder/result/ifupdown2_1.0~git20170314-1_all.deb | grep compl drwxr-xr-x root/root 0 2017-03-14 19:06 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2017-03-14 19:06 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 383 2017-03-14 19:06 ./usr/share/bash-completion/completions/ifup So, maybe, this has something to do with the problem... I'll try to reproduce it by installing the older version of ifupdown2.

