Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487624 - sys-apps/openrc: please add support startup vlan w/o need NIC restart
Summary: sys-apps/openrc: please add support startup vlan w/o need NIC restart
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-11 11:32 UTC by Alexandr Tiurin
Modified: 2013-10-11 16:49 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 Alexandr Tiurin 2013-10-11 11:32:37 UTC
Please add support startup vlan w/o need NIC restart.

Reproducible: Always

Steps to Reproduce:
1. Add to conf.d/net
config_eth0="dhcp"
2. # ./net.eth0 start

3. Add to conf.d/net
vlans_eth0="777"
eth0_vlan777_name="testvlan"
config_testvlan="null"

4. # ln -s net.lo net.testvlan
5. ./net.testvlan start



Actual Results:  
 * Caching service dependencies ...     [ ok ]
 * Bringing up interface testvlan
 *   ERROR: interface testvlan does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.testvlan failed to start


Expected Results:  
Workaround
# ip link add link eth0 name testvlan type vlan id 777
# ./net.testvlan start
 * Bringing up interface testvlan          [ ok ]

But IMHO this is ugly.