[Bug 901700] Update Released
    Stéphane Graber 
    stgraber at stgraber.org
       
    Mon Dec  2 15:59:53 UTC 2013
    
    
  
The verification of this Stable Release Update has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regresssions.
-- 
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 “ubiquity” package in Ubuntu:
  Fix Released
Status in “netcfg” source package in Precise:
  Fix Released
Status in “ubiquity” source package in Precise:
  In Progress
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