[Bash-completion-devel] Bug#563871: Bug#563871: should not provide completion for invoke-rc.d

David Paleino dapal at debian.org
Wed Jan 6 08:44:07 UTC 2010


severity 563871 minor
tags 563871 wontfix
thanks

On Wednesday 06 January 2010 01:51:20, Steve Langasek wrote:
> Package: bash-completion
> Version: 1:1.1-1
> Severity: important

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

> 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.

Yes.

> 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.

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

> Please drop the tab completion for this command from
> /etc/bash_completion.d/sysv-rc.

If it's in $PATH, we (tend to) provide 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

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100106/94c7bca7/attachment-0003.pgp>


More information about the Bash-completion-devel mailing list