------- Comment From [email protected] 2016-03-22 12:48 EDT------- OK, I found the cause. :-)
/lib/systemd/system/ubuntu-snappy.firstboot.service writes the file /etc/network/interfaces.d/encf5f0 on first reboot - and write the dhcp statement also. See the attached strace log, line 274-283: openat(AT_FDCWD, "/etc/network/interfaces.d", O_RDONLY|O_CLOEXEC) = 5 openat(AT_FDCWD, "/etc/network/interfaces.d/encf5f0.M1yTYCQL5bt5", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC|O_CLOEXEC, 0644) = 6 write(6, "allow-hotplug encf5f0\niface encf5f0 inet dhcp\n", 46) = 46 fsync(6) = 0 futex(0x2aa3b1d73b0, FUTEX_WAKE, 1) = 1 renameat(AT_FDCWD, "/etc/network/interfaces.d/encf5f0.M1yTYCQL5bt5", AT_FDCWD, "/etc/network/interfaces.d/encf5f0") = 0 fsync(5) = 0 futex(0x2aa3b1d73b0, FUTEX_WAKE, 1) = 1 close(6) = 0 close(5) ubuntu-snappy.firstboot.service must consider a static configuration of an interface, but it does not. Please fix this, if possible for the upcoming Beta version! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1556241 Title: installer sets "iface encf5f0 inet dhcp" although a static IP address was preseeded To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1556241/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
