← Back to team overview

kernel-packages team mailing list archive

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

 

@Abhishek -- I am slightly confused, as the script invoked by the
hv_kvp_daemon is called 'hv_set_ifconfig' to allow distros to implement
it as they see fit in any language they wish.  For Ubuntu this is a
python script which gets installed into /usr/sbin/hv_set_ifconfig:

    $ md5sum /usr/sbin/hv_set_ifconfig
    168dcdf651e7d1d239f5ba3c9ceaf42c  /usr/sbin/hv_set_ifconfig

Where does this .sh come from you are testing with?  Does the installed
one work.

-- 
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