man page has bad paths

Bug #4893 reported by Chris Moore
6
Affects Status Importance Assigned to Milestone
knockd (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

The 'knockd' man page gives example config files.

In several places it has "/usr/sbin/iptables" but in ubuntu the correct path is "/sbin/iptables". This should be fixed so that people copy/pasting the examples won't get unexpected results.

Changed in knockd:
assignee: nobody → motu
Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote : Wonderful patch.

Result of.

cat knockd.1.in | sed "s/\/usr\/sbin/\/sbin/" > knockd.1.in.new

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Usually, "diff -u" (context diff) is the preferred way to make patches. The patches are then less vulnerable to line number changes.

Revision history for this message
Chuck Short (zulcss) wrote :

Created patch and uploaded.

Changed in knockd:
status: Unconfirmed → 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.