Bug 1375702 - FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/anaconda'
Summary: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sy...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:85e21d14fb72da768088afb761f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-13 19:04 UTC by Adam Williamson
Modified: 2017-12-12 10:13 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:13:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.19 MB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: anaconda.log (64.11 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: environ (482 bytes, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: lsblk_output (2.24 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: lvm.log (695.35 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: nmcli_dev_list (1.25 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: os_info (449 bytes, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: storage.log (164.48 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: syslog (78.21 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: ifcfg.log (2.41 KB, text/plain)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details
File: program.log (64.17 KB, application/octet-stream)
2016-09-13 19:04 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2016-09-13 19:04:04 UTC
Description of problem:
Run a default install with Fedora-Atomic-dvd-x86_64-25-20160912.n.0.iso . It crashes at post-install stage. This is fully and trivially reproducible.

Version-Release number of selected component:
anaconda-25.20.1-1

The following was filed automatically by anaconda:
anaconda 25.20.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/screen_access.py", line 82, in write_out_config_file
    with open(config_path, "wt") as f:
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 134, in doConfiguration
    screen_access.sam.write_out_config_file()
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/anaconda'

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-25-x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc4.git0.1.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 Adam Williamson 2016-09-13 19:04:11 UTC
Created attachment 1200573 [details]
File: anaconda-tb

Comment 2 Adam Williamson 2016-09-13 19:04:13 UTC
Created attachment 1200574 [details]
File: anaconda.log

Comment 3 Adam Williamson 2016-09-13 19:04:14 UTC
Created attachment 1200575 [details]
File: environ

Comment 4 Adam Williamson 2016-09-13 19:04:15 UTC
Created attachment 1200576 [details]
File: lsblk_output

Comment 5 Adam Williamson 2016-09-13 19:04:18 UTC
Created attachment 1200577 [details]
File: lvm.log

Comment 6 Adam Williamson 2016-09-13 19:04:19 UTC
Created attachment 1200578 [details]
File: nmcli_dev_list

Comment 7 Adam Williamson 2016-09-13 19:04:21 UTC
Created attachment 1200579 [details]
File: os_info

Comment 8 Adam Williamson 2016-09-13 19:04:22 UTC
Created attachment 1200580 [details]
File: storage.log

Comment 9 Adam Williamson 2016-09-13 19:04:24 UTC
Created attachment 1200581 [details]
File: syslog

Comment 10 Adam Williamson 2016-09-13 19:04:25 UTC
Created attachment 1200582 [details]
File: ifcfg.log

Comment 11 Adam Williamson 2016-09-13 19:04:27 UTC
Created attachment 1200583 [details]
File: program.log

Comment 12 Adam Williamson 2016-09-13 19:09:31 UTC
This would probably affect Rawhide too, only Rawhide is still running into https://bugzilla.redhat.com/show_bug.cgi?id=1331864 instead.

Comment 13 Chris Murphy 2016-09-15 01:05:59 UTC
Similar problem has been detected:

This is an Fedora-Atomic-dvd-x86_64-25-20160912.n.0.iso installation, using the Btrfs partition scheme in manual partitioning; that fails on bug 1289752 but lets me continue anyway, at which point during post-install scripts I get a crash.

addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-25-x86_64 elevator=noop
hashmarkername: anaconda
kernel:         4.8.0-0.rc4.git0.1.fc25.x86_64
package:        anaconda-25.20.1-1
packaging.log:  
product:        Fedora
reason:         FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/anaconda'
release:        Cannot get release name.
version:        25

Comment 14 Chris Murphy 2016-09-15 04:09:59 UTC
Yeah it works for me with a default autopart installation also. Fedora-Atomic-dvd-x86_64-24-20160914.0.iso installs OK.

Comment 15 Adam Williamson 2016-09-15 04:49:59 UTC
openQA does a default partitioning install. It hits this bug. 24 is different from 25.

Comment 16 Chris Murphy 2016-09-15 05:19:38 UTC
Yeah sorry Fedora-Atomic-dvd-x86_64-25-20160912.n.0.iso fails for me as described in this bug no matter what the layout is, including default.

Comment 17 Colin Walters 2016-09-23 14:52:34 UTC
This is https://github.com/rhinstaller/anaconda/pull/790

Comment 18 Chris Murphy 2016-11-16 22:00:36 UTC
Similar problem has been detected:

Installation to a single partition formatted XFS in a VM pointed at an LV.
1. 500G virtual LV
2. boot Fedora-Atomic-dvd-x86_64-25-20160912.n.0.iso
3. custom partition, create a single XFS volume (no swap, no lvm, nothing else)
4. install
crash

addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-25-x86_64 quiet
hashmarkername: anaconda
kernel:         4.8.0-0.rc4.git0.1.fc25.x86_64
package:        anaconda-25.20.1-1
packaging.log:  
product:        Fedora
reason:         FileNotFoundError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/anaconda'
release:        Cannot get release name.
version:        25

Comment 19 Chris Murphy 2016-11-16 22:04:46 UTC
Oh cute I've already been here before!

Comment 20 Martin Kolman 2016-11-17 00:54:34 UTC
Should be fixed by this:
https://github.com/rhinstaller/anaconda/pull/872
Testing welcome! :)

Comment 21 Fedora End Of Life 2017-11-16 18:36:27 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 22 Fedora End Of Life 2017-12-12 10:13:09 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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