Bug 3068

Summary: systemd - drakclock gui fails to display ntp server status
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: D Morgan <dmorganec>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, marja11, richard.j.walker
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: OK
Source RPM: drakxtools-13.63-1.mga2.src.rpm CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 2120    

Description Barry Jackson 2011-10-16 12:44:50 CEST
Description of problem: When setting the ntp server the following errors are written to /var/log/daemons/errors

Oct 16 09:23:35 jackodesktop systemd[1]: [/etc/rc.d/init.d/iptables:18] Failed to add LSB Provides name firewall.service, ignoring: File exists
Oct 16 09:23:35 jackodesktop systemd[1]: [/lib/systemd/system/single.service:26] Failed to parse kill mode, ignoring: process-group


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


How reproducible:
Always

Steps to Reproduce:
1. Boot using systemd
2. Right click the clock and open drakclock
3. Set the ntp time server
4. Dialog closes without error, but on re-opening it the ntpd check box is unchecked and the above error is logged.
Manuel Hiebel 2011-10-17 17:55:12 CEST

Blocks: (none) => 2120

Comment 1 D Morgan 2011-10-22 23:32:05 CEST
can you test with systemd + initscripts from testing to tell if this is still valid ?

CC: (none) => dmorganec

Comment 2 D Morgan 2011-10-24 01:14:03 CEST
btw just tested un cauldron and it works.

Please test with drakclock started in a terminal and paste here the complete output.
Comment 3 Marja Van Waes 2011-12-16 10:36:06 CET
(In reply to comment #2)
> btw just tested un cauldron and it works.
> 
> Please test with drakclock started in a terminal and paste here the complete
> output.

@ Barry

Closing as worksforme, because you didn't reply

Feel free to reopen this bug and give the required information, if you think this bug is still valid

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => WORKSFORME

Comment 4 Barry Jackson 2011-12-16 21:20:14 CET
Sorry Marja I missed the request.
Re-opening and changing summary.

In both systemd and sysvinit the ntpd service is now starting correctly in Cauldron on boot.
The current problem is more to do with the GUI.

In sysvinit the GUI displays the correct status i.e. the ntpd check box is checked and the correct time server is displayed - even after re-boot.

In systemd if I set a particular server in the GUI, OK it and wait for it to close, then re-open the GUI - the ntpd checkbox is blank and the server selected earlier is not shown.

Slightly OT:-
The delay after OK-ing this dialog is too long to wait without a "please wait" sub-dialog BTW - most people would assume it had crashed.

Status: RESOLVED => REOPENED
Resolution: WORKSFORME => (none)
Summary: systemd - drakclock fails to set ntp server => systemd - drakclock gui fails to display ntp server status

Comment 5 D Morgan 2012-01-26 07:48:04 CET
reproduced today

Assignee: bugsquad => dmorganec
Whiteboard: (none) => OK

Comment 6 D Morgan 2012-01-26 07:50:43 CET
ok found "why", i will try to patch soon
Comment 7 D Morgan 2012-01-26 12:51:48 CET
Fixed in svn, will be part of next draktools update.

thank your for the bugreport.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 8 Manuel Hiebel 2012-02-05 11:02:49 CET
another related bug can be appeared, see bug 4412
Comment 9 Richard Walker 2012-02-12 23:40:07 CET
*** Bug 4412 has been marked as a duplicate of this bug. ***

CC: (none) => richard.j.walker