Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360963 - sys-apps/openrc: inconsistent naming scheme for bonding and vlan interfaces: name_${IFACE} and {IFACE}_name
Summary: sys-apps/openrc: inconsistent naming scheme for bonding and vlan interfaces: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 295613
  Show dependency tree
 
Reported: 2011-03-28 17:31 UTC by Jorge Manuel B. S. Vicetto
Modified: 2011-03-29 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-28 17:31:40 UTC
As requested by Robin, here is the bug report.

17:23 < jmbsvicetto> robbat2: for the bonding configuration, should I use module_bonding_args_2_6="miimon=100 mode=802.3ad lacp_rate=slow"
in /etc/conf.d/modules or can it be set in the /etc/conf.d/net file? I only found the example on net.example for the arp ip target.
17:24 < jmbsvicetto> robbat2: is mode_bond0="802.3ad" valid on /etc/conf.d/net ?
17:25 <@robbat2> yes
17:25 <@robbat2> mode_bond0="802.3ad" miimon_bond0="100" lacp_rate_bond0="slow"
17:25 <@robbat2> but in doing so I realize we have an inconsistency now between bonding and the new vlan code
17:26 <@robbat2> bonding is "name_${IFACE}=value", vlan is "${IFACE}_name=value"
17:26 <@robbat2> which sucks
17:26 < jmbsvicetto> great, thanks (not the inconsistency)
17:26 <@robbat2> can you file a bug on the inconsistency for me, i'm running out the door
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-03-29 07:58:03 UTC
Ok, I also need more coffee in the morning....

The interface is meant to be different, because vlan stuff goes via iproute2, while bridge+bonding are via sysfs.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-03-29 07:58:42 UTC
I improved the set_name_type equiv documentation per hparker's request in #gentoo-infra anyway.