very simple to fix racoon completion problem

Bug #88153 reported by Patrick Hetu
2
Affects Status Importance Assigned to Milestone
ipsec-tools (Ubuntu)
Fix Released
Undecided
Patrick Hetu

Bug Description

Binary package hint: racoon

The invoke-rc.d completion don't work good for the restart keyword because of the use
of bracket in /etc/init.d/racoon

For fix this you must modify the /etc/init.d/racoon file at the "Usage" line (87) like this:

echo "Usage: $0 {start|stop|reload|force-reload|restart}" >&2

instead of this:

echo "Usage: $0 (start|stop|reload|force-reload|restart)" >&2

or ask for modify the sed expression in /etc/bach_completion file

Related branches

Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

This debdiff should fix this bug report. (gutsy)
This is my first debdiff so don't be afraid to comment ;)

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your patch. How can I test and see what is broken and if it's fixed now?

Changed in ipsec-tools:
assignee: nobody → dholbach
status: New → Incomplete
Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

you just have to write:

    sudo invoke-rc.d racoon

and then hit tab twice
you should see:
  force-reload reload restart start stop
intead of:
  force-reload reload restart) (start stop

Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded.

Changed in ipsec-tools:
assignee: dholbach → patrick-hetu
status: Incomplete → Fix Committed
Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

ipsec-tools (1:0.6.6-3.1ubuntu3) gutsy; urgency=low

  * fix racoon.init to work with bash_completion (LP: #88153)

 -- Patrick Hetu <email address hidden> Tue, 10 Jul 2007 10:59:25 -0400

Changed in ipsec-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.