It is not immediately evident to a non-bash-programmer that having two module=( "something" ) lines in /etc/conf.d/net leads to all but the last such line being discarded. Consequently if someone wanted to do more than one thing from /etc/conf.d/net.examples they could naively copy the examples file and go uncommenting lines expecting it to work. In the same context, if every occurance of the array assignment "module=()" were substituted with the array append operator "module+=()" the right thing(s) would just happen. I would recommend s/module=/module+=/g on the whole network section, and the addition of a "note" near the first mention of modules that the user should use the append operator _or_ collect all the module configuration tidbits into one place. Reproducible: Always Steps to Reproduce: 1. module=( "dhclient" ) 2. module=( "iproute2" ) 3. Notice that dhclient module is not honored
grr... substitute "modules" for "module" in the whole of the above.
Created attachment 250605 [details, diff] UNTESTED patch of intended change This is a vim-created patch to the amd64 handbook. This is an example of potential replacement text. This patch is "untested" because I cannot display the handbook in icecat from the local xml file, I presume its because it is missing some doctype or css prefix when you save-as the link from the gentoo page.
We don't take patches against HTML, which is what you provided, sorry. Also, we're not going to use complicated bash expanders in the handbook, both for explanation's sake and because all the net arrays in that style are going away once we rewrite the docs for OpenRC/baselayout-2. Thanks for the ideas, though; it's proof that there's more than one way to do things in Gentoo!