The command line argument for chronyd specifying pidfile /dev/null, which had 
not been problematic in previous versions, actually leaves /dev/null an empty 
plain file
afterwards when run on rhel9.2.

Patch to avoid the problem:
*** /tmp/setupntp       2019-03-29 03:19:06.000000000 -0400
--- setupntp    2023-10-16 17:09:43.000000000 -0400
***************
*** 166,171 ****
--- 166,172 ----
  
  # Synchronize and set the system clock once
  logger -t $log_label -p local4.info "Syncing the clock ..."
+ cp /dev/null /tmp/chrony.pid
  chronyd -f /dev/null -q "$(
        if [ "${#NTP_SERVERS[@]}" -gt "0" ]
        then
***************
*** 173,179 ****
        else
                echo "pool pool.ntp.org iburst"
        fi
! )" "pidfile /dev/null"
  
  rm -f /etc/adjtime
  # Set the hardware clock from the system clock
--- 174,180 ----
        else
                echo "pool pool.ntp.org iburst"
        fi
! )" "pidfile /tmp/chrony.pid"
  
  rm -f /etc/adjtime
  # Set the hardware clock from the system clock



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to