Summary: | baselayout-1.12.0_pre11-r1 multiple routes problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | petre rodan (RETIRED) <kaiowas> |
Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
verbose start
Fixed the issue |
Description
petre rodan (RETIRED)
![]() Could you add RC_VERBOSE="yes" to /etc/conf.d/rc and attach the full output of it starting and failing please. Also, could you attach your full /etc/conf.d/net as I cannot reproduce the error with your config. Thanks hi, if I install pre11 and change the following 3 lines from functions, it works as it should. those lines were changed between pre10 (that works) and pre11 (that breaks) my system uses stable keywording per default, but I do have a quite long package.keywords file. both bash and baselayout are ~x86. --- pre11/lib/rcscripts/net.modules.d/helpers.d/functions 2005-11-26 21:18:00.000000000 +0200 +++ pre10/lib/rcscripts/net.modules.d/helpers.d/functions 2005-11-26 22:02:39.000000000 +0200 @@ -566,9 +568,9 @@ is_function ${mod}_variables || continue for v in $(${mod}_variables) ; do x="" - [[ -n ${option2} ]] && x="${v}_${option2}[@]" - [[ -z ${!x} ]] && x="${v}_${option1}[@]" - [[ -n ${!x} ]] && eval "${v}_${ifvar}=( \"${!x}\" )" + [[ -n ${option2} ]] && eval x=( \"\$\{${v}_${option2}\[@\]\}\" ) + [[ -z ${x} ]] && eval x=( \"\$\{${v}_${option1}\[@\]\}\" ) + [[ -n ${x} ]] && eval "${v}_${ifvar}=( "\"\$\{x\[@\]\}\"" )" done done if you still need my conf.d/net, please say so and I will send it by mail to your private inbox. thanks Created attachment 73712 [details]
verbose start
Created attachment 73714 [details, diff]
Fixed the issue
Please test the above patch
works like a charm thanks |