Bug 1766785

Summary: Anaconda should not adjust the host system time when running in directory or image installation modes
Product: Red Hat Enterprise Linux 7 Reporter: Brian Lane <bcl>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: atodorov, jikortus, ovasik, pvlasin, rvykydal, tbowling, vponcova, zveleba
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-21.48.22.159-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1766801 (view as bug list) Environment:
Last Closed: 2020-09-29 20:15:25 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: 1670032, 1766801    

Description Brian Lane 2019-10-29 21:43:10 UTC
Description of problem:

Anaconda is running 'hwclock --hctosys' when called using anaconda --image=... mode, this unexpectedly adjusts the host's time and depending on the kickstart timezone setting can cause the time to jump a large amount (eg. using --localtime on a --utc based hwclock).

This may be the root cause of some problems observed in bug #1670032

Comment 3 Brian Lane 2019-12-02 18:01:12 UTC
PR for this is here - https://github.com/rhinstaller/anaconda/pull/2203

Comment 13 Radek Vykydal 2020-04-15 10:05:14 UTC
https://github.com/rhinstaller/anaconda/pull/2203

Comment 17 Zdenek Veleba 2020-06-09 12:44:14 UTC
Verified with anaconda-21.48.22.159 in RHEL-7.9-20200422.0

Comment 19 errata-xmlrpc 2020-09-29 20:15:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3974