Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473912

Summary: net-misc/mininet - an instant virtual network
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoolinux, mudler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://mininet.org/
Whiteboard: https://github.com/mininet/mininet
Package list:
Runtime testing required: ---
Attachments: proposal ebuild
Mount /sys as MS_SLAVE|MS_REC
ebuild proposal, includes /sys mount fix

Description Andreis Vinogradovs ( slepnoga ) 2013-06-20 09:50:32 UTC
Mininet creates a realistic virtual network, running real kernel, switch and application code, on a single machine (VM, cloud or native)
Usecase - test openvswitch ( or sflow ) network's.
Comment 1 pierigno 2015-11-16 21:09:44 UTC
Created attachment 417152 [details]
proposal ebuild

The proposal ebuild just install the mininet binaries, I've tried to generate the doxygen documentation but it gives me an error about xtab.sty and doxypy.
Comment 2 pierigno 2015-11-28 18:38:12 UTC
Created attachment 418078 [details, diff]
Mount /sys as MS_SLAVE|MS_REC

Systemd's default is to mark the root mount as shared and it is inherited as
 such by the new mount namespace. Mininet, to behave correctly, should mount /sys as MS_SLAVE or MS_PRIVATE. MS_SLAVE is more permissive, so we go the MS_SLAVE route for now. See also https://cloudrouter.atlassian.net/browse/CR-126 and https://github.com/mininet/mininet/issues/509 for upstream bug
Comment 3 pierigno 2015-11-28 18:39:39 UTC
Created attachment 418080 [details]
ebuild proposal, includes /sys mount fix