[lxc-users] netifrc without /sys

Алексей fling at member.fsf.org
Fri Feb 6 06:22:52 UTC 2015


Looks like netifrc needs to be patched to not to use /sys at all.

On Thu, Feb 05, 2015 at 05:29:11PM +0600, fling wrote:
> I'm getting errors in netifrc when running without /sys mounted:
> 
> some-container ~ # /etc/init.d/net.eth0 start
>  * Bringing up interface eth0
>  *   ERROR: interface eth0 does not exist
>  *   Ensure that you have loaded the correct kernel module for your hardware
>  * ERROR: net.eth0 failed to start
> 
> Because it needs something in /sys to work. Probably /sys/devices/virtual/net
> 
> 1. Is it possible to only have /sys/devices/virtual/net without all the other
> things in /sys like /sys/block/sda/device/delete and other dangerous stuff?
> 
> 2. Or better is it possible to use netifrc completely without anything in /sys?


More information about the lxc-users mailing list