GnuTLS | timedatectl list the ntp ip/host it is using (#1760)

Read-only notification of GnuTLS library development activities <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.devel
Message-ID <[email protected]>

Johannes kingma created an issue: https://gitlab.com/gnutls/gnutls/-/work_items/1760



## Description of the feature:

Currently timedatectl shows it is using an ntp server. It is not telling which one. 

```
# timedatectl status
               Local time: Sun 2025-11-09 11:56:42 CET
           Universal time: Sun 2025-11-09 10:56:42 UTC
                 RTC time: Sun 2025-11-09 10:56:42
                Time zone: Europe/Zurich (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
```

## Applications that this feature may be relevant to:

It would be helpful in troubleshooting scenarios. Example output:

```
# timedatectl status
               Local time: Sun 2025-11-09 11:56:42 CET
           Universal time: Sun 2025-11-09 10:56:42 UTC
                 RTC time: Sun 2025-11-09 10:56:42
                Time zone: Europe/Zurich (CET, +0100)
System clock synchronized: yes
              NTP service: active (ntp.example.com:123)
          RTC in local TZ: no
```

## Is this feature implemented in other libraries (and which)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/work_items/1760
You're receiving this email because of your account on gitlab.com.

_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.