[Bug 901700] Re: netcfg segfauts when preseeding Precise Alpha 1

Brian Murray brian at ubuntu.com
Sat Dec 15 14:38:14 UTC 2012


** Description changed:

+ [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.
+ 
+ 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/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?

-- 
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 Precise Alpha 1

Status in “netcfg” package in Ubuntu:
  Fix Released
Status in “netcfg” source package in Precise:
  Triaged
Status in “netcfg” package in Debian:
  Fix Released

Bug description:
  [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.

  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