Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749855 - sys-apps/openrc-0.42.1: tap hotplug not working
Summary: sys-apps/openrc-0.42.1: tap hotplug not working
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-18 06:06 UTC by DaggyStyle
Modified: 2020-10-18 21:50 UTC (History)
2 users (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 DaggyStyle 2020-10-18 06:06:55 UTC
I have a home server running gentoo, within it there is a libvirt-kvm vm which is a router marked as autostart
additionally I defined a tap between the host and vm.
after hotplug and net config, I boot the system and the vm to host tap doesn't get ip on boot. if I run dhcpcd <iface> it gets ip.
I assume that because the vm isn't up yet, the hotplug bails out.

Reproducible: Always

Steps to Reproduce:
1. create a vm with router os in it (I use openwrt), define a host to vm virtual iface, mark the vm as autostart and make sure libvirt is starting at boot
2. make sure dhcpcd is installed.
3. add <iface>_br0="dhcp" to /etc/conf.d/net
4. run ln -s /etc/init.d/net.{lo,<iface>} 
5. update rc_hotplug in /etc/rc.conf to include net.<iface>
6. add net.<iface> to hotplugged runlevel
7. reboot
Actual Results:  
the vm boots, rc-status --all shows net.<iface> as started but no ip allocated.
running dhcpcd net.<iface> allocated ip to the vnic

Expected Results:  
the vm boots, net.<iface> is allocated a ip.
Comment 1 Jonas Stein gentoo-dev 2020-10-18 20:09:43 UTC
It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis.
We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. 

I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3].
I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4].
Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product.

[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://forums.gentoo.org/
[3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html
[4] https://www.gentoo.org/support/
Comment 2 DaggyStyle 2020-10-18 21:50:46 UTC
unfortunately, posting this bug is because other options have failed/rejected.

the forums is the first place I've tried, see https://forums.gentoo.org/viewtopic-t-1118792-highlight-.html
as no one answered, I went the mailing list way, see https://archives.gentoo.org/gentoo-user/message/e966299fd85a358dfa1109a65d8c8bed
there no one answered too...
irc wise, the mail chatroom is #gentoo and from past experience, such complicated issues aren't get advanced too much there.
channels with less traffic like #openrc are problematic to me as my online time doesn't match with the us online time resulting with "ping pong" chat (if anyone answers even) which will take ages to complete...