FS#36142 - [gnome-control-center] should depend on ntp

Attached to Project: Arch Linux
Opened by Jiehan Zheng (jiehanzheng) - Saturday, 13 July 2013, 23:51 GMT
Last edited by Jan de Groot (JGC) - Sunday, 16 February 2014, 10:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
GNOME Shell has a "Network Time" features which starts NTP daemon to synchronize local time with a NTP server. However, ntp is not a dependency of gnome-shell, thus this feature will silently fail until the user choose to install ntp package.

Steps to reproduce:
* Run "journalctl -f" in a shell
* (GNOME Shell) Settings -> Date & Time
* Enable "Network Time"
* You get the following message from journalctl:

Could not set system to use NTP: GDBus.Error:org.freedesktop.DBus.Error.FileNotFound: No such file or directory
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 16 February 2014, 10:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  Added ntp to optdepends
Comment by Jan Alexander Steffens (heftig) - Tuesday, 23 July 2013, 11:23 GMT
GNOME Control Center just makes use of the timedate1 interface provided in systemd, and `timedatectl set-ntp` controls the same setting.

The problem is the silent failure, not the dep. Failure to set the NTP status should be reported. Upstream it, please.
Comment by Jan de Groot (JGC) - Tuesday, 23 July 2013, 11:30 GMT
This is basically a wrapper around the "timedatectl set-ntp" interface as exposed by systemd. This interface can wrap any NTP service that installs systemd files in the correct directory, which means it could depend on either ntp, chrony or openntpd.

The real bug here is that gnome doesn't report failure to the user when you don't have ntp installed.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 13 February 2014, 00:43 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
status? upstream report?

Loading...