← Back to team overview

touch-packages team mailing list archive

[Bug 1432821] Re: something deleting /run/network after during boot

 

** Changed in: ubuntu
       Status: New => Confirmed

** Changed in: ubuntu
   Importance: Undecided => High

** Package changed: ubuntu => systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1432821

Title:
  something deleting /run/network after during boot

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  maas images utilize cloud-initramfs-dyn-netconf .  The way this works is basically:
   * /etc/network/interfaces in image is a link to ../../run/network/dynamic-interfaces
   * kernel command line 'ip=' convince the initramfs to bring up networking using 'ipconfig'
     example: ip=::::maas-enlist:BOOTIF
   * ipconfig writes files in /run/net-*.conf for each interface it configures.
   * cloud-initramfs-dyn-netconf module writes /run/network/dyanmic-interfaces based on /run/net-*.conf files that 'ipconfig' creates.

  end result is that after the move to real root,
  /etc/network/interfaces should be a symlink to /run/ that ends up
  having something like this:

   | ## This file is generated by cloud-initramfs-dyn-netconf
   | auto lo
   | iface lo inet loopback
   | manual eth0
   | iface eth0 inet dhcp
   |       dns-nameservers 192.168.64.3
   |       dns-search maas

  I'm seeing 2 different issues here.
  a.) something is specifcally deleting /run/network/
     I say specifically, because if I change '/run/network' above to '/run/xnetwork', including the symlink, then it works as designed.

  b.) resolvconf seems not to be working as well as it should be. (filed as bug 1432829)
     in all other supported ubuntu releases, doing the abovel results in functional resolv.conf via resolv.conf.

  I'm not sure what is doing the cleaning, but it is after the pivot
  root, and before I log in to look.

  Related Bugs:
   * bug 1432829: resolvconf not updated correctly for interfaces configured in initramfs

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