Completion for "service" only looks up /etc/init.d/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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.
$ ll /etc/init/net*
-rw-r--r-- 1 root root 2078 Dec 12 05:03 /etc/init/
-rw-r--r-- 1 root root 803 Dec 12 05:03 /etc/init/
-rw-r--r-- 1 root root 523 Dec 12 05:03 /etc/init/
-rw-r--r-- 1 root root 1756 Dec 12 05:06 /etc/init/
-rw-r--r-- 1 root root 568 Jan 22 07:59 /etc/init/
I guess we should look up /etc/init/ also.
Status changed to 'Confirmed' because the bug affects multiple users.