Bug 895900 - [LiveCD] Configuring wired network device in panel before launching installation causes traceback (IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/sysconfig/network-scripts/ifcfg-p5p1')
Summary: [LiveCD] Configuring wired network device in panel before launching installat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:93a728d6dbf826cc20646ae0131...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-16 09:01 UTC by Antoine Prats
Modified: 2013-05-30 01:26 UTC (History)
16 users (show)

Fixed In Version: anaconda-19.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-30 01:26:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (718.17 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: anaconda.log (70.27 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: environ (868 bytes, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: ifcfg.log (1.07 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: messages (306.83 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: packaging.log (144 bytes, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: program.log (95.80 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
File: storage.log (282.92 KB, text/plain)
2013-01-16 09:01 UTC, Antoine Prats
no flags Details
Comment (1.41 MB, text/plain)
2013-01-26 21:31 UTC, shahaji
no flags Details

Description Antoine Prats 2013-01-16 09:01:02 UTC
Description of problem:
The installer crashed while installing Fedora 18 x86-64
I configured a few parameters before launching the installation:
- network static configuration (we dont have a DHCP server)
- language, keyboard layout...
I launched the installer, choose a manual partition
- 2 partitions for Linux, replacing an existing 90Gio partition (with Fedora 17):
    - A 20Gio partition for / 
    - A 70 Gio partition for /home
- No modification to the existing NTFS partition (3 partitions for boot, system and recovery)
The installation started, I configured the root password... and got an error.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/simpleconfig.py", line 77, in read
    with open(filename) as f:
  File "/usr/lib64/python2.7/site-packages/pyanaconda/simpleconfig.py", line 187, in read
    SimpleConfigFile.read(self, self.path)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 311, in loadIfcfgFile
    IfcfgFile.read(self)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 840, in write_sysconfig_network
    dev.loadIfcfgFile()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 929, in write_network_config
    write_sysconfig_network(rootpath, ksdata, overwrite=flags.livecdInstall)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 759, in execute
    network.write_network_config(storage, ksdata, instClass, ROOT_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 72, in doConfiguration
    ksdata.network.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
IOError: [Errno 2] Aucun fichier ou dossier de ce type: '/etc/sysconfig/network-scripts/ifcfg-p5p1'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-18-x86_64-Live-Desktop.is rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: python-libs-2.7.3-13.fc18.x86_64
package:        anaconda-18.37.11-1.fc18.x86_64
product:        Fedora
release:        Fedora release 18 (Spherical Cow)
type:           libreport
version:        18

Comment 1 Antoine Prats 2013-01-16 09:01:09 UTC
Created attachment 679418 [details]
File: anaconda-tb

Comment 2 Antoine Prats 2013-01-16 09:01:23 UTC
Created attachment 679419 [details]
File: anaconda.log

Comment 3 Antoine Prats 2013-01-16 09:01:31 UTC
Created attachment 679420 [details]
File: environ

Comment 4 Antoine Prats 2013-01-16 09:01:34 UTC
Created attachment 679421 [details]
File: ifcfg.log

Comment 5 Antoine Prats 2013-01-16 09:01:38 UTC
Created attachment 679422 [details]
File: messages

Comment 6 Antoine Prats 2013-01-16 09:01:40 UTC
Created attachment 679423 [details]
File: packaging.log

Comment 7 Antoine Prats 2013-01-16 09:01:42 UTC
Created attachment 679424 [details]
File: program.log

Comment 8 Antoine Prats 2013-01-16 09:01:45 UTC
Created attachment 679425 [details]
File: storage.log

Comment 9 Miguel Armas 2013-01-16 12:25:45 UTC
Installing with default partition options.

Earliar I had problems because laptop has an internal wwan card. But I could proceed with update posted by Radek Vykydal in Bug 893892


Package: anaconda-18.37.11-1.fc18.x86_64
OS Release: Fedora release 18

Comment 10 John Selmys 2013-01-16 12:37:05 UTC
Downloaded new fedora x86_64 live cd
Tried to install to hard drive
Partitions formatted ok
System copied to HD ok
Then crash

Tried to install a second time and got the same error.

So I can't install fedora 18


Package: anaconda-18.37.11-1.fc18.x86_64
OS Release: Fedora release 18

Comment 11 Radek Vykydal 2013-01-16 13:49:59 UTC
This bug is triggered by editing (saving) network configuration of a wired device before starting installation on Live CD (happens both for static and dhcp).

A workaround is to configure the newtork after launching the installation, e.g. when on welcome screen.

Comment 12 John Selmys 2013-01-16 14:04:30 UTC
(In reply to comment #11)
> This bug is triggered by editing (saving) network configuration of a wired
> device before starting installation on Live CD (happens both for static and
> dhcp).
> 
> A workaround is to configure the newtork after launching the installation,
> e.g. when on welcome screen.

(In reply to comment #10)
> Downloaded new fedora x86_64 live cd
> Tried to install to hard drive
> Partitions formatted ok
> System copied to HD ok
> Then crash
> 
> Tried to install a second time and got the same error.
> 
> So I can't install fedora 18
> 
> 
> Package: anaconda-18.37.11-1.fc18.x86_64
> OS Release: Fedora release 18

Thanks - this was the problem. My Fedora is now installed and works correctly - John

Comment 13 John Selmys 2013-01-16 14:06:25 UTC
(In reply to comment #10)
> Downloaded new fedora x86_64 live cd
> Tried to install to hard drive
> Partitions formatted ok
> System copied to HD ok
> Then crash
> 
> Tried to install a second time and got the same error.
> 
> So I can't install fedora 18
> 
> 
> Package: anaconda-18.37.11-1.fc18.x86_64
> OS Release: Fedora release 18

I changed the name of the network config file to ifcfg-em1 and that solved my problem - John

Comment 14 Radek Vykydal 2013-01-16 14:30:23 UTC
(In reply to comment #13)
 
> I changed the name of the network config file to ifcfg-em1 and that solved
> my problem - John

Yes, changing the name of the ifcfg file to ifcfg-<interface name>, or the name of the connection in Connection Editor to name of the interface is another possible workaround.

Comment 15 Miguel Armas 2013-01-16 14:47:08 UTC
I was seeing the same error, but I think it was triggered for a different reason.

The file that anaconda complained that it didn't exist was /etc/sysconfig/network-scripts/ifcfg-ttyUSB1 that did NOT exist in any form.

It may be triggered because my laptop has an internal wwan card and I don't know if it's detected as ttyUSB1 (I also suffered bug 893892 that was corrected with the update)

I could finish the installation manually creating a minimal /etc/sysconfig/network-scripts/ifcfg-ttyUSB1

Comment 16 choudhury.manojendu 2013-01-22 07:52:03 UTC
While installing Fedora 18 from live cd.

Package: anaconda-18.37.11-1.fc18.i686
Architecture: i686
OS Release: Fedora release 18

Comment 17 shahaji 2013-01-26 21:26:23 UTC
this is buggy os

Package: anaconda-18.37.11-1.fc18.i686
Architecture: i686
OS Release: Fedora release 18

Comment 18 shahaji 2013-01-26 21:31:41 UTC
Created attachment 915663 [details]
Comment

(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).

Comment 19 Radek Vykydal 2013-01-28 11:20:51 UTC
(In reply to comment #18)
> pls what can i do now tell me

Please see

http://fedoraproject.org/wiki/Common_F18_bugs#Live_installation_on_machines_with_WWAN_network_card_freezes

The updates image should fix your issue.

Comment 20 wlongdonstudio 2013-03-16 18:12:50 UTC
happened while installing fedora 18

Package: anaconda-18.37.11-1.fc18.i686
Architecture: i686
OS Release: Fedora release 18

Comment 21 Adam Williamson 2013-05-30 01:26:54 UTC
Fixed long ago for F19 and we have had no dupe reports; let's close this. If anyone sees this on F19, please re-open.


Note You need to log in before you can comment on or make changes to this bug.