Bug 849012 - IOError: [Errno 2] No such file or directory: '/etc/sysconfig/network-scripts/ifcfg-p2p1'
Summary: IOError: [Errno 2] No such file or directory: '/etc/sysconfig/network-scripts...
Keywords:
Status: CLOSED ERRATA
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:61675058b13f7c5bf75fac869b6...
: 849090 849360 849467 852255 (view as bug list)
Depends On:
Blocks: F18Alpha, F18AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2012-08-17 04:49 UTC by Pratyush Sahay
Modified: 2012-09-06 16:23 UTC (History)
12 users (show)

Fixed In Version: anaconda-18.7-1
Clone Of:
Environment:
Last Closed: 2012-09-06 16:23:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: program.log (33.48 KB, text/plain)
2012-08-17 04:49 UTC, Pratyush Sahay
no flags Details
Anaconda error screenshot - 1 (379.80 KB, image/png)
2012-08-17 04:59 UTC, Pratyush Sahay
no flags Details
Anaconda error screenshot - 2 (412.03 KB, image/png)
2012-08-17 05:00 UTC, Pratyush Sahay
no flags Details

Description Pratyush Sahay 2012-08-17 04:49:08 UTC
Description of problem:


Version-Release number of selected component:
anaconda-18.6

Additional info:
libreport version: 2.0.12
cmdline:        initrd=initrd.img  quiet BOOT_IMAGE=vmlinuz 
kernel:         3.6.0-0.rc1.git6.1.fc18.x86_64

Comment 1 Pratyush Sahay 2012-08-17 04:49:11 UTC
Created attachment 605072 [details]
File: program.log

Comment 2 Pratyush Sahay 2012-08-17 04:57:02 UTC
This was triggered by switching off ethernet in F18 Alpha TC3 installer option. Screenshot attached.

Comment 3 Pratyush Sahay 2012-08-17 04:59:35 UTC
Created attachment 605074 [details]
Anaconda error screenshot - 1

Comment 4 Pratyush Sahay 2012-08-17 05:00:09 UTC
Created attachment 605075 [details]
Anaconda error screenshot - 2

Comment 5 Jaroslav Reznik 2012-08-17 07:46:08 UTC
It's enough to enter "Network Configuration" not changing anything and clicking "Back".

Comment 6 Radek Vykydal 2012-08-17 09:09:55 UTC
Yeah, we are missing default ifcfg files.
I have a patch as part of set being reviewed/discussed.
https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-July/000290.html
I'll rework the patchset a bit and post it.

Quick fix:

diff --git a/anaconda b/anaconda
index a6bb720..1f12a21 100755
--- a/anaconda
+++ b/anaconda
@@ -935,6 +935,7 @@ if __name__ == "__main__":
     from pyanaconda.storage import storageInitialize
     from pyanaconda.packaging import payloadInitialize
     from pyanaconda.threads import initThreading, threadMgr, AnacondaThread
+    from pyanaconda.network import Network
 
     if anaconda.rescue:
         from pyanaconda.rescue import doRescue
@@ -943,6 +944,7 @@ if __name__ == "__main__":
     initThreading()
     threadMgr.add(AnacondaThread(name="AnaStorageThread", target=storageInitialize, args=(anaconda.storage, ksdata, anaconda.protected)))
     threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload)))
+    Network()
 
     atexit.register(exitHandler, ksdata.reboot, anaconda.storage)

Comment 7 Jaroslav Reznik 2012-08-17 13:36:15 UTC
Proposing as Alpha Blocker as not properly configured network may break "The installer must be able to use at least one of the HTTP or FTP remote package source options" and "The installer must be able to download and use an installer update image from an HTTP server ".

Btw. thanks Radek.

Comment 8 Jesse Keating 2012-08-18 20:22:53 UTC
*** Bug 849360 has been marked as a duplicate of this bug. ***

Comment 9 Radek Vykydal 2012-08-20 08:44:46 UTC
*** Bug 849467 has been marked as a duplicate of this bug. ***

Comment 10 Radek Vykydal 2012-08-20 10:29:54 UTC
We also need to adapt to change of SimpleConfigFile behaviour caused by commit 16a7c6e7af3df4816323a007f785155d307869bf, patch coming soon.

Comment 11 Radek Vykydal 2012-08-20 13:22:05 UTC
*** Bug 849090 has been marked as a duplicate of this bug. ***

Comment 12 Adam Williamson 2012-08-20 23:31:32 UTC
Discussed at 2012-08-20 QA meeting, acting as a blocker review meeting: http://meetbot.fedoraproject.org/fedora-meeting/2012-08-20/fedora-qa.2012-08-20-15.00.html . Accepted as a blocker as, in many cases, this may violate criterion "The installer must be able to use at least one of the HTTP or FTP remote package source options" (it would be impossible to do so if your network connection required any kind of configuration at all, as entering the network configuration dialog is sufficient to cause the installer ultimately to crash).

Comment 13 Fedora Update System 2012-08-22 22:58:49 UTC
anaconda-18.6.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6.1-1.fc18

Comment 14 Fedora Update System 2012-08-23 04:36:23 UTC
Package anaconda-18.6.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.6.1-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12550/anaconda-18.6.1-1.fc18
then log in and leave karma (feedback).

Comment 15 Radek Vykydal 2012-08-28 07:17:30 UTC
*** Bug 852255 has been marked as a duplicate of this bug. ***

Comment 16 Kamil Páral 2012-09-03 09:15:21 UTC
With F18 Alpha TC5 I can enter Network spoke and leave it just fine. I can also switch off the ethernet connection. I understand this is the reproducer, so I'm setting this to verified.

Comment 17 Adam Williamson 2012-09-06 16:23:00 UTC
18.6.5-1 was pushed stable, so closing.


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