[Bug 901700] Re: netcfg segfauts when preseeding 12.04 LTS networkless
Adam Conrad
adconrad at 0c3.net
Thu Nov 21 10:17:51 UTC 2013
Hello Ralf, or anyone else affected,
Accepted netcfg into precise-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/netcfg/1.68ubuntu14.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: netcfg (Ubuntu Precise)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
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/901700
Title:
netcfg segfauts when preseeding 12.04 LTS networkless
Status in “netcfg” package in Ubuntu:
Fix Released
Status in “netcfg” source package in Precise:
Fix Committed
Status in “netcfg” package in Debian:
Fix Released
Bug description:
SRU Justification:
[Impact]
netcfg will segfault if users use this feature in the preseed file.
[Test Case]
1) Add the following lines to your preseed file of your Ubuntu installation target:
# Disable network configuration entirely. This is useful for cdrom
# installations on non-networked devices where the network questions,
# warning and long timeouts are a nuisance.
d-i netcfg/enable boolean false
d-i netcfg/get_hostname string BLABLABLA
d-i netcfg/get_hostname seen true
2) Start the installation that refers to this seed file.
3) Wait until netcfg will load.
=> When loading the netcfg module, the installer will report an error
(red message box). In the log console you will find a segfault message
in the netcfg execution as mentioned above.
[Regression Potential]
This change removes an extra hostname variable definition that is
defined in netcfg.c. This extra definition actually assigns NULL to
the pointer, causing a segfault when that memory location is accessed.
The hostname is defined externally to that file and is the correct
variable to reference.
Original Description
--------------------
I have built a USB-Stick to install Ubuntu Server Precise Alpha 1 64
Bit based on the precise-alpha-1-amd64 ISO image.
Installation works but the netcfg component segfaults!
The installer screen shows an error. The 4th console shows:
INFO: Menu item 'netcfg' selected
INFO: Starting netcfg v.1.68ubuntu7 (built 2011-08-0004)
WARNING **: Configuring 'netcfg' failed with error code 139
WARNING **: Menu item 'netcfg' failed.
netcfg[14152]: segfault at 0 ip 00007f8cc8e82572 sp 00007fffd1413bb8 error 6 in libc-2.13.so[7f8cc8d58000+195000]
The installation continues when choosing the next item on the menu.
These are the options used for preseeding netcfg:
d-i netcfg/enable boolean false
d-i netcfg/dhcp_options select Do not configure the network at this time
d-i netcfg/dhcp_failed note
d-i netcfg/network-manager boolean false
# netcfg will choose an interface that has link if possible. This makes it
#d-i netcfg/choose_interface select auto
#d-i netcfg/disable_dhcp boolean true
#d-i netcfg/get_nameservers string 192.168.1.1
#d-i netcfg/get_ipaddress string 192.168.1.42
#d-i netcfg/get_netmask string 255.255.255.0
#d-i netcfg/get_gateway string 192.168.1.1
#d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string lb-new
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
Any ideas?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/901700/+subscriptions
More information about the foundations-bugs
mailing list