On 22.7.2020 14:37, Michael Catanzaro wrote:
I think a change to remove chronyd in favor of timesyncd might be
accepted for Workstation.
Should be transparent change basically we are talking about something like
sudo dnf remove chrony
Enabling and starting systemd-timesyncd
sudo systemctl enable systemd-timesyncd.service
sudo systemctl start systemd-timesyncd.service
And perhaps have NM configure timesyncd to use the NTP servers provided
by DHCP on roaming wifi ( switching between work/home/uni/coffeeshop etc ).
sudo cat > /etc/NetworkManager/dispatcher.d/10-update-timesyncd << 'EOF'
#! /usr/bin/bash
[ -n "$CONNECTION_UUID" ] || exit
INTERFACE=$1
ACTION=$2
case $ACTION in
up | dhcp4-change | dhcp6-change)
[ -n "$DHCP4_NTP_SERVERS" ] || exit
exec > /etc/systemd/timesyncd.conf.d/$CONNECTION_UUID.conf
echo "[Time]"
echo "NTP=$DHCP4_NTP_SERVERS"
systemctl restart systemd-timesyncd
;;
down)
rm -f /etc/systemd/timesyncd.conf.d/$CONNECTION_UUID.conf
systemctl restart systemd-timesyncd
;;
esac
EOF
sudo chmod 0700 /etc/NetworkManager/dispatcher.d/10-update-timesyncd|Do people think
something more would be needed for the workstation to
switch to timesyncd? ||What's the paperwork for this change? ||would a ticket in the
workstation suffice or are we talking about
official change proposal ( which means I would have to act fast if the
deadline has not expired already for F33 )?|
||
||
||
|JBG |