← Back to team overview

kernel-packages team mailing list archive

[Bug 1301019] Re: hyper-v: ifdown command not working due to bad ifstate

 

Abishek, can you give more information on how to duplicate this problem? 
What I did was: 
Installed ubuntu-14.04.1-server-amd64.iso as a VM under Hyper-V (Windows Server 2008R2SP1)
Installed  linux-cloud-tools-3.13.0-32-generic

hv_set_ifconfig seems to work OK.
/run/network/ifstate  seems to contain the correct information.

If you could let me know what environment you are using, where and how
you got the disk image, etc. I think we could dig into it deeper.

Thanks

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1301019

Title:
  hyper-v: ifdown command not working due to bad ifstate

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  It appears that ifdown command is not working because
  “/run/network/ifstate" does not contain eth0=eth0.

  This in turn causes hyper-v's script hv_set_ifconfig.sh to fail as
  follows:

  root@ubuntu:~# ./hv_set_ifconfig.sh /var/lib/hyperv/ifcfg-eth0
  ifdown: interface eth0 not configured
  RTNETLINK answers: File exists
  Failed to bring up eth0.

  It appears that something is wrong with your core networking files for trusty. Please could you help fix?
  Thanks,
  Abhishek

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1301019/+subscriptions