YaST clone_system module errors on ntp.conf changes
This document (7021385) is provided subject to the disclaimer at the end of this document.
Environment
Situation
server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
After running yast clone_system, the following error was observed:
Internal error. Please report a bug report with logs.The /root/autoinst.xml file does not get created after this error.
Run save_y2logs to get complete logs.
Details: Invalid value #<CFA::NtpConf::FudgeRecord:0x00000005a18308 @augeas={:key=>"fudge[]", :value=>#<CFA::AugeasTreeValue:0x000
Caller: /usr/lib64/ruby/vendor_ruby/2.1.0/yast/wfm.rb:206:in `call_builtin'
The issue cannot be duplicated on SLES12 SP2.
If the following changes are made in /etc/ntp.conf:
server 127.127.1.0 mode 5 prefer
fudge 127.127.1.0 stratum 10
No errors are observed, but /root/autoinst.xml does not get a valid <ntp-client><peers> section.
<ntp-client>
<ntp_policy>auto</ntp_policy>
<peers config:type="list"/>
<restricts config:type="list"/>
<start_at_boot config:type="boolean">false</start_at_boot>
<start_in_chroot config:type="boolean">false</start_in_chroot>
<sync_interval config:type="integer">5</sync_interval>
<synchronize_time config:type="boolean">false</synchronize_time>
</ntp-client>
Resolution
Currently you will need to leave the lines commented out and add the tags manually to the /root/autoinst.xml file.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7021385
- Creation Date: 13-Sep-2017
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com