[Bug 1172026] AutoYaST unable to set NTP client Configuration Source to Static via ntp_policy
http://bugzilla.suse.com/show_bug.cgi?id=1172026 http://bugzilla.suse.com/show_bug.cgi?id=1172026#c5 --- Comment #5 from Knut Alejandro Anderssen González <knut.anderssen@suse.com> --- (In reply to John Serock from comment #0)
Overview:
Setting ntp_policy to an empty string in the AutoYaST control file does not set the NTP client Configuration Source to Static.
Steps to Reproduce:
1) Create an AutoYaST control file with the following NTP Client configuration:
<ntp-client> <ntp_policy><![CDATA[]]></ntp_policy> <ntp_servers config:type="list"> <ntp_server> <address>us.pool.ntp.org</address> <iburst config:type="boolean">true</iburst> <offline config:type="boolean">false</offline> </ntp_server> </ntp_servers> <ntp_sync>systemd</ntp_sync> </ntp-client>
2) Install openSUSE Leap 15.2 using the AutoYaST control file.
3) Launch YaST NTP Configuration
Actual Results:
In YaST NTP Configuration, the Configuration Source is Dynamic. The value of NETCONFIG_NTP_POLICY in /etc/sysconfig/network/config is "auto".
Expected Results:
In YaST NTP Configuration, the Configuration Source should be Static. The value of NETCONFIG_NTP_POLICY in /etc/sysconfig/network/config should be "".
Build Date & Hardware:
Build 654.2 18-May-2020 Lenovo ThinkPad T520, model 4239CTO
Additional Information:
Adding the following to the AutoYaST control file produces the expected results:
<sysconfig config:type="list" > <sysconfig_entry> <sysconfig_key>NETCONFIG_NTP_POLICY</sysconfig_key> <sysconfig_path>/etc/sysconfig/network/config</sysconfig_path> <sysconfig_value><![CDATA[]]></sysconfig_value> </sysconfig_entry> </sysconfig>
Could you please provide the logs as described here https://en.opensuse.org/openSUSE:Report_a_YaST_bug ? The profile without sensible data would be nice to have too. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com