Re: Multiple Fedora Desktop edition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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=""

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
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux