Usage of rules_[dev] in /etc/conf.d/net doesn't work Reproducible: Always Steps to Reproduce: 1. use rules_eth0="some ip rule" in /etc/conf.d/net 2. /etc/init.d/net.eth0 start Actual Results: /lib/rc/net/iproute2.sh: line 224: trim: command not found. Expected Results: ip rules added --- iproute2.sh 2011-02-07 19:59:01.715475128 +0100 +++ iproute2_fix.sh 2011-02-11 19:53:35.486692863 +0100 @@ -221,7 +221,7 @@ _ip_rule_runner() { local IFS="$__IFS" for ru in $rules ; do unset IFS - ruN="$(trim "${ru}")" + ruN="$(_trim "${ru}")" [ -z "${ruN}" ] && continue vebegin "${cmd} ${ruN}" ip rule ${cmd} ${ru}
This is fixed in git, commit 7bc920a. Also, in the future, please post patches as attachments. If you put them inline in the comments, bugzilla corrupts them and makes it impossible to apply them to the tree. Thanks for the report.