Bug 1099581

Summary: 'pyanaconda.timezone.TimezoneConfigError' after completing initial-setup
Product: [Fedora] Fedora Reporter: Paul Whalen <pwhalen>
Component: initial-setupAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, robatino, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Unspecified   
Whiteboard:
Fixed In Version: initial-setup-0.3.21-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-09 18:02:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418, 1043119    

Description Paul Whalen 2014-05-20 16:05:57 UTC
Description of problem:
After completing initial-setup system returns an error and changes are not applied. 

Version-Release number of selected component (if applicable):
anaconda-core-21.36-1.fc2

Steps to Reproduce:
1. Boot recent Minimal ARM Disk image
2. After completing initial-setup error is returned, changes not saved. 

Actual results:
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/initial_setup/__main__.py", line 126, in <module>
    section.execute(None, data, None)
  File "/usr/lib/python2.7/site-packages/pyanaconda/kickstart.py", line 1501, in execute
    timezone.write_timezone_config(self, iutil.getSysroot())
  File "/usr/lib/python2.7/site-packages/pyanaconda/timezone.py", line 142, in write_timezone_config
    raise TimezoneConfigError(msg)
pyanaconda.timezone.TimezoneConfigError: Error while writing /etc/adjtime file: No such file or directory

Expected results:
initial-setup saved.

Additional info:

Comment 1 David Shea 2014-05-20 16:50:40 UTC
Looks like the ROOT_PATH -> getSysroot change in anaconda breaks initial-setup.

Comment 2 Paul Whalen 2014-05-28 16:40:40 UTC
Thank you! Verified working on ARM minimal image.

Comment 3 Martin Kolman 2014-05-28 16:55:47 UTC
Nice! Good to hear that it's working now. :)