#563871 should not provide completion for invoke-rc.d

#563871#5
Date:
2010-01-06 00:51:20 UTC
From:
To:
I noticed in the context of a conversation with a bug submitter that
bash-completion provides completion for invoke-rc.d using the contents
in /etc/init.d.  invoke-rc.d is an interface for maintainer scripts,
it is *not* an interface for admins, and therefore we should not be
encouraging its use by admins by providing tab completion for interactive
shells.  Please drop the tab completion for this command from
/etc/bash_completion.d/sysv-rc.

#563871#10
Date:
2010-01-06 08:44:07 UTC
From:
To:
severity 563871 minor
tags 563871 wontfix
thanks

An unwanted completion is not "important" in any way, sorry.

Yes.

I need an argument stronger than this; one could always read the manpage and
run it.

Remove invoke-rc.d from $PATH, remove its manpage from section 8 (namely:
"System administration commands (usually only for root)", so it seems to be an
administration command, after all), and I'll remove the completion.


David