Josef Reidinger changed bug 1234423
What Removed Added
CC   jreidinger@suse.com

Comment # 3 on bug 1234423 from Josef Reidinger
Yeah, there is definitively sanitization error. Whole important log content is 

2024-12-11 15:06:45 <1> dyn-3-136(3894) [Ruby] client/finish.rb(write):41 NTP
pools added during installation {"1.opensuse.pool.ntp.org"=>{"iburst"=>nil}}
2024-12-11 15:06:45 <1> dyn-3-136(3894) [Ruby] client/finish.rb(write):43 NTP
servers added during installation {"ntp "=>{"iburst"=>nil}}
2024-12-11 15:06:45 <3> dyn-3-136(3894) [Ruby] modules/NtpClient.rb(rescue in
write_ntp_conf):818 Failed to write /etc/chrony.d/pool.conf: Augeas serializing
error: Unexpected node '/store/server': can not match tree

     { "server" = "ntp " }

 with pattern
   (    { }
      | { /#comment/ = /[^\t\n\r ].*[^\t\n\r ]|[^\t\n\r ]/ }
      | { /server|peer|pool/ =
/(25[0-5]?|2[0-4][0-9]|1[0-9]{2,2}|[1-9]?[0-9])\\.(25[0-5]?|2[0-4][0-9]|1[0-9]{2,2}|[1-9]?[0-9])\\.(25[0-5]?|2[0-4][0-9]|1[0-9]{2,2}|[1-9]?[0-9])\\.(25[0-5]?|2[0-4][0-9]|1[0-9]{2,2}|[1-9]?[0-9])|([0-9A-Fa-f]{1,4}:){7,7}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){6,6}:[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){5,5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){4,4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){3,3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){2,2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){6,6}((25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})\\.){3,3}(25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})|([0-9A-Fa-f]{1,4}:){0,5}:((25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})\\.){3,3}(25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})|::([0-9A-Fa-f]{1,4}:){0,5}((25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})\\.){3,3}(25[0-5]|1[0-9]{2,2}|2[0-4][0-9]|[0-9]{1,2})|[0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4}|::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,7}:|(([0-9A-Za-z]|[0-9A-Za-z][0-9A-Z\\a-z-]*[0-9A-Za-z])\\.)*(\n
                 [0-9A-Za-z]|[0-9A-Za-z][0-9A-Z\\a-z-]*[0-9A-Za-z])/ }
      | { /allow|deny|cmdallow|cmddeny/ = /((al((l[^\t\n\r !#%;]|[^\t\n\r
!#%;l])[^\t\n\r !#%;]*|)|(a[^\t\n\r !#%;l]|[^\t\n\r !#%;a][^\t\n\r
!#%;])[^\t\n\r !#%;]*|a|[^\t\n\r !#%;a]))?/ }
      | { /log/ }
      | { /broadcast/ }
      | { /fallbackdrift/ }
      | { /initstepslew/ }
      | { /local/ }
      | { /mailonchange/ }
      | { /makestep/ }
      | { /maxchange/ }
      | { /refclock/ }
      | { /smoothtime/ }
      | { /(conf|source)dir/ }
      | { /hwtimestamp/ }
      | { /(cmd|nts)?ratelimit/ }
      | { /tempcomp/ }
      | {
/acquisitionport|authselectmode|bindacqaddress|bindaddress|bindcmdaddress|bindacqdevice|bindcmddevice|binddevice|clientloglimit|clockprecision|combinelimit|commandkey|cmdport|corrtimeratio|driftfile|dscp|dumpdir|hwclockfile|include|keyfile|leapsecmode|leapsectz|linux_freq_scale|linux_hz|logbanner|logchange|logdir|maxclockerror|maxdistance|maxdrift|maxjitter|maxsamples|maxslewrate|maxntsconnections|maxupdateskew|minsamples|minsources|nocerttimecheck|ntsdumpdir|ntsntpserver|ntsport|ntsprocesses|ntsrefresh|ntsrotate|ntsservercert|ntsserverkey|ntstrustedcerts|ntpsigndsocket|pidfile|ptpport|port|reselectdist|rtcautotrim|rtcdevice|rtcfile|sched_priority|stratumweight|user/
= /[^\t\n\r !#%;]+/ }
      | {
/dumponexit|generatecommandkey|lock_all|manual|noclientlog|nosystemcert|rtconutc|rtcsync/
})*
 for /etc/chrony.d/pool.conf with lens
/usr/share/augeas/lenses/dist/chrony.aug:405.10-.41:
2024-12-11 15:06:45 <3> dyn-3-136(3894) [Ruby] modules/NtpClient.rb(Write):404
Cannot write settings to '/etc/chrony.conf'


that trailing space after ntp is wrong...and also its content as I do not think
that ntp can be resolved to correct ntp server

2024-12-11 15:06:45 <1> dyn-3-136(3894) [Ruby] client/finish.rb(write):43 NTP
servers added during installation {"ntp "=>{"iburst"=>nil}}

so pools are correct, but server key is wrong and cause augeas failure


You are receiving this mail because: