FS#35251 - [netctl] example files contain errors

Attached to Project: Arch Linux
Opened by iTanguy (itanguy) - Monday, 13 May 2013, 19:25 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 17 May 2013, 19:37 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The example configurtion file for bridges (/etc/netctl/examples/bridge) refers (in comments, yes, but still, ifou uncomment them, it does not work as expected) to parameters not properly spelled (case issue).
The problem may be present in other configuration files that I did not use.

Additional info:
* netctl 1.0-1

Steps to reproduce:
* install netcfg 1.0-1
* view the content of /etc/netctl/examples/bridge, it contans the following lines :
## sets forward delay time
#FWDDelay=0
* have a look at the man page for netctl.profile, in the "bridge" section, you may find the following :
FwdDelay=
Forward delay of the bridge. See brctl(8) for details.
* have a look at the code on git too :
user> git clone git://projects.archlinux.org/netctl.git
user> grep Delay -r netctl
netctl/docs/examples/bridge:#FWDDelay=0
netctl/docs/netctl.profile.5.txt:'FwdDelay='::
netctl/src/lib/connections/bridge: [[ "$FwdDelay" ]] && $BRCTL setfd "$Interface" "$FwdDelay"
user>
* also create a bridge using the template and check the result with "brctl showstp" to check the applied forward delay configuration : with the wrong case it does not work
* So a apparently the problem is the example file

PS: Sorry I did not find any documentation on the syntax to have a pretty output on this bugu tracking tool...
This task depends upon

Closed by  Jouke Witteveen (jouke)
Friday, 17 May 2013, 19:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  55adb

Loading...