[Bug 1361902] Re: 14.04 /etc/network/interfaces is always overwritten by Preseed
Launchpad Bug Tracker
1361902 at bugs.launchpad.net
Thu Aug 28 21:04:14 UTC 2014
This bug was fixed in the package netcfg - 1.119ubuntu1
---------------
netcfg (1.119ubuntu1) utopic; urgency=medium
* Resynchronise with Debian. Remaining changes:
- Set default hostname to 'ubuntu'.
- Set priority for get_domain to high for static configurations.
- Set priority for get_domain to medium for non-static configurations.
- Use 'auto <interface>' for all interfaces, dropping allow-hotplug
which doesn't work with current udev.
- Set DHCP and DHCPv6 timeout to 30s.
- Use isc-dhcp-client-udeb on all architectures.
- Flush all addresses and routes before configuring interfaces
(LP: #848072)
- Don't copy /etc/resolv.conf to target if resolvconf is installed. (We
already write resolvconf configuration to /etc/network/interfaces.)
- Add a post-base-install hook to detect resolvconf and copy
/run/resolvconf/resolv.conf to outside the target so that when /run is
bind-mounted DNS resolving continues to work. (LP: #926447)
- Apply patch from Alec Warner making netcfg respect
netcfg/dhcpv6_timeout and running dhclient in one-shot mode (-1).
(LP: #917905)
- Fix FTBFS by checking the return value of fgets and fscanf.
- Fix nm-conf to generate a valid NetworkManager static configuration
file.
netcfg (1.119) unstable; urgency=medium
[ Colin Watson ]
* Don't copy /etc/network/interfaces to /target if
netcfg/target_network_config=ifupdown; it's already been copied by the
base-installer hook earlier, and copying it again makes it hard to
modify /target/etc/network/interfaces in a preseed file (closes:
#709017, LP: #1361902).
* Fix BOOTIF detection to handle the newline at the end of a line read
from /proc/cmdline (LP: #1350302).
[ Updated translations ]
* Estonian (et.po) by Mattias Põldaru
netcfg (1.118) unstable; urgency=high
* Fix support for entering an ESSID manually, it was previously
getting ignored (Closes: #757478). Thanks to James Cowgill for the
report and the patch!
netcfg (1.117) unstable; urgency=low
* Add lintian overrides for untranslatable debconf templates. I like
when packages are lintian-clean...
[ Updated translations ]
* Bosnian (bs.po) by Amila Valjevčić
-- Colin Watson <cjwatson at ubuntu.com> Thu, 28 Aug 2014 12:42:06 -0700
** Changed in: netcfg (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1361902
Title:
14.04 /etc/network/interfaces is always overwritten by Preseed
Status in “netcfg” package in Ubuntu:
Fix Released
Bug description:
I'm having trouble with my /etc/network/interfaces file that is
overwritten by every Preseed install.
I have found out that when I let the late_command crash and I manually
enter some identifier in:
/etc/network/interfaces
and
/target/etc/network/interfaces
the one in /etc/network/interfaces stays there, so no overwriting from
the target version in that case.
the fix to place the following in the late_command doesn't fix it
either:
cp /target/etc/network/interfaces /etc/network/interfaces
Any idea on how to fix this ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1361902/+subscriptions
More information about the foundations-bugs
mailing list