14.04 /etc/network/interfaces is always overwritten by Preseed
Bug #1361902 reported by
YamakasY
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netcfg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm having trouble with my /etc/network/
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/
and
/target/
the one in /etc/network/
the target version in that case.
the fix to place the following in the late_command doesn't fix it either:
cp /target/
Any idea on how to fix this ?
tags: | added: scale |
To post a comment you must log in.
This bug was fixed in the package netcfg - 1.119ubuntu1
---------------
netcfg (1.119ubuntu1) utopic; urgency=medium
* Resynchronise with Debian. Remaining changes: client- udeb on all architectures. interfaces. ) run/resolvconf/ resolv. conf to outside the target so that when /run is dhcpv6_ timeout and running dhclient in one-shot mode (-1).
- 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-
- 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/
- Add a post-base-install hook to detect resolvconf and copy
/
bind-mounted DNS resolving continues to work. (LP: #926447)
- Apply patch from Alec Warner making netcfg respect
netcfg/
(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 ] interfaces to /target if target_ network_ config= ifupdown; it's already been copied by the etc/network/ interfaces in a preseed file (closes:
* Don't copy /etc/network/
netcfg/
base-installer hook earlier, and copying it again makes it hard to
modify /target/
#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 <email address hidden> Thu, 28 Aug 2014 12:42:06 -0700