[Bug 1188897] [NEW] Completion for "service" only looks up /etc/init.d/

Ma Xiaojun damage3025 at gmail.com
Sat Jun 8 04:56:51 UTC 2013


Public bug reported:

sudo service net TAB gives me "sudo service networking", i.e., no other
candidates.

But at least sudo service network-manager restart is also valid and it
is useful to workaround some NM bug.

$ ll /etc/init.d/net*
-rwxr-xr-x 1 root root 4322 May 18 13:37 /etc/init.d/networking*

$ ll /etc/init/net*
-rw-r--r-- 1 root root 2078 Dec 12 05:03 /etc/init/networking.conf
-rw-r--r-- 1 root root  803 Dec 12 05:03 /etc/init/network-interface.conf
-rw-r--r-- 1 root root  523 Dec 12 05:03 /etc/init/network-interface-container.conf
-rw-r--r-- 1 root root 1756 Dec 12 05:06 /etc/init/network-interface-security.conf
-rw-r--r-- 1 root root  568 Jan 22 07:59 /etc/init/network-manager.conf

I guess we should look up /etc/init/ also.

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: saucy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1188897

Title:
  Completion for "service" only looks up /etc/init.d/

Status in “bash-completion” package in Ubuntu:
  New

Bug description:
  sudo service net TAB gives me "sudo service networking", i.e., no
  other candidates.

  But at least sudo service network-manager restart is also valid and it
  is useful to workaround some NM bug.

  $ ll /etc/init.d/net*
  -rwxr-xr-x 1 root root 4322 May 18 13:37 /etc/init.d/networking*

  $ ll /etc/init/net*
  -rw-r--r-- 1 root root 2078 Dec 12 05:03 /etc/init/networking.conf
  -rw-r--r-- 1 root root  803 Dec 12 05:03 /etc/init/network-interface.conf
  -rw-r--r-- 1 root root  523 Dec 12 05:03 /etc/init/network-interface-container.conf
  -rw-r--r-- 1 root root 1756 Dec 12 05:06 /etc/init/network-interface-security.conf
  -rw-r--r-- 1 root root  568 Jan 22 07:59 /etc/init/network-manager.conf

  I guess we should look up /etc/init/ also.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1188897/+subscriptions




More information about the foundations-bugs mailing list