something deleting /run/network after initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
maas images utilize cloud-initramfs
* /etc/network/
* kernel command line 'ip=' convince the initramfs to bring up networking using 'ipconfig'
example: ip=::::
* ipconfig writes files in /run/net-*.conf for each interface it configures.
* cloud-initramfs
end result is that after the move to real root, /etc/network/
| ## This file is generated by cloud-initramfs
| 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
description: | updated |
Changed in ubuntu: | |
status: | New → Confirmed |
importance: | Undecided → High |
affects: | ubuntu → systemd (Ubuntu) |
summary: |
- something deleting /run/network after during boot + something deleting /run/network after initramfs |
tags: | added: patch |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1432821/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]