Bug 34664 - drakclock doesn't remember the ntp server
Summary: drakclock doesn't remember the ntp server
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-13 18:30 CEST by Bernard SIAUD
Modified: 2026-01-10 14:26 CET (History)
1 user (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments

Description Bernard SIAUD 2025-10-13 18:30:33 CEST
Description of problem: drakclock doesn't remember the ntp server


Version-Release number of selected component (if applicable):


How reproducible:
all time

Steps to Reproduce:
1. define a ntp server with drakclock.
2. click [OK]
3. come bach to drakclock => there is no server define

[root@localhost ~]# drakclock 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
Subroutine Gtk3::main redefined at /usr/share/perl5/vendor_perl/Gtk3.pm line 539.
Attempt to call undefined import method with arguments (":helpers" ...) via package "ugtk3" (Perhaps you forgot to load the package?) at /usr/lib/libDrakX/ugtk3.pm line 1501.
server does not have extension for -dpms option

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

try: 1, refid: 00000000, correction: 0.000000000, skew: 0.000
try: 2, refid: 6DBEB1C8, correction: 0.000026088, skew: 3.034
server does not have extension for +dpms option
[root@localhost ~]#
Comment 1 Lewis Smith 2025-10-13 20:20:57 CEST
Thank you for the report.
Assigning to Mageiatools.

Assignee: bugsquad => mageiatools
Source RPM: (none) => drakxtools

Comment 2 Mageia Robot 2026-01-04 22:52:24 CET
commit dd7c30bd6b30a6ac3cf23b5460e8337f147b13a2
Author: Martin Whitaker <mageia@...>
Date:   Sun Jan 4 15:30:25 2026 +0000

    drakclock: fix config file read/write for chrony and ntpsec (mga#34664)
    
    drakclock only supports selecting a server pool, not individual servers,
    so use the "pool" directive instead if the "server" directive. Rename
    the subroutines in timezone.pm for clarity.
    
    ntpsec overrides /etc/ntp.conf with settings found in /etc/ntp.d/, so
    we need to read/write /etc/ntp.d/use-pool.
    
    Both chrony and ntpsec support the iburst option, so we can write that
    unconditionally.
---
 Commit Link:
   https://gitweb.mageia.org/software/drakx/commit/?id=dd7c30bd6b30a6ac3cf23b5460e8337f147b13a2
Comment 3 Martin Whitaker 2026-01-10 14:26:41 CET
Fixed in drakxtools-18.71-1.mga10

Status: NEW => RESOLVED
Resolution: (none) => FIXED
CC: (none) => mageia


Note You need to log in before you can comment on or make changes to this bug.