Project

General

Profile

Actions

Bug #6772

closed

clockConfiguration is not compatible with systemd-based systems

Added by Alexis Mousset over 9 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Regression:

Description

/etc/sysconfig/clock does not exist anymore.

2015-06-18T11:27:48+0200    error: /default/check_clock_configuration/files/'/etc/sysconfig/clock'[0]: Promised to edit '/etc/sysconfig/clock', but file does not exist

We could use timedatectl instead.

We also need proper package and service management.

CentOS 7 also generally uses chrony as default ntp service.


Related issues 7 (1 open6 closed)

Related to Rudder - Bug #6737: Make all techniques compatible with systemd changesRejected2015-05-06Actions
Related to Rudder - Bug #14369: timezone technique does not support systemdNewNicolas CHARLESActions
Has duplicate Rudder - Bug #8457: Timezone correction on RHEL-7Rejected2016-06-03Actions
Has duplicate Rudder - Bug #9086: Generic setup time not OK on Centos7RejectedActions
Has duplicate Rudder - Bug #9696: Time settings technique (still) cannot set timezone on Red HatRejectedAlexis MoussetActions
Has duplicate Rudder - Bug #8199: Use ncf in clockConfiguration to make it compatible with recent OSesRejectedAlexis MoussetActions
Has duplicate Rudder - Bug #9678: clockConfiguration does not work properly on SLES12/systemdRejectedActions
Actions #1

Updated by Alexis Mousset over 9 years ago

  • Subject changed from clockConfiguration non compatble with RHEL7 to clockConfiguration is not compatible with RHEL7
Actions #2

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.0.7 to 3.0.8
Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.0.8 to 3.0.9
Actions #4

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.0.9 to 3.0.10
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.0.10 to 3.0.11
Actions #6

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 3.0.11 to 3.0.12
Actions #7

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 3.0.12 to 3.0.13
Actions #8

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 3.0.13 to 3.0.14
Actions #9

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.0.14 to 3.0.15
Actions #10

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.0.15 to 3.0.16
Actions #11

Updated by Alexis Mousset over 8 years ago

  • Related to Bug #8199: Use ncf in clockConfiguration to make it compatible with recent OSes added
Actions #12

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.0.16 to 3.0.17
Actions #13

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.0.17 to 302
Actions #14

Updated by Alexis Mousset over 8 years ago

  • Target version changed from 302 to 3.1.12
Actions #15

Updated by Alexis Mousset over 8 years ago

  • Has duplicate Bug #8457: Timezone correction on RHEL-7 added
Actions #16

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.1.12 to 3.1.13
Actions #17

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.13 to 3.1.14
Actions #18

Updated by Florian Heigl about 8 years ago

Please could you fix this?
RHEL7 beta has ended quite a while ago :-)

The fix is likely easier than the EL6 implementation was:
http://serverfault.com/questions/666979/why-do-i-need-to-use-systemd-to-set-my-timezone-in-rhel7
It is probably best to just adjust the symlink!

Actions #19

Updated by Florian Heigl about 8 years ago

  • Translation missing: en.field_tag_list set to Quick and important
Actions #20

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #21

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #22

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #23

Updated by Alexis Mousset about 8 years ago

  • Related to Bug #9086: Generic setup time not OK on Centos7 added
Actions #24

Updated by Alexis Mousset about 8 years ago

  • Parent task set to #6737
Actions #25

Updated by François ARMAND about 8 years ago

  • Related to Bug #9696: Time settings technique (still) cannot set timezone on Red Hat added
Actions #26

Updated by François ARMAND almost 8 years ago

  • Related to Bug #9678: clockConfiguration does not work properly on SLES12/systemd added
Actions #27

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #28

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #29

Updated by Alexis Mousset over 7 years ago

  • Subject changed from clockConfiguration is not compatible with RHEL7 to clockConfiguration is not compatible with systemd-based systems
Actions #30

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #9086: Generic setup time not OK on Centos7)
Actions #31

Updated by Alexis Mousset over 7 years ago

  • Has duplicate Bug #9086: Generic setup time not OK on Centos7 added
Actions #32

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #9696: Time settings technique (still) cannot set timezone on Red Hat)
Actions #33

Updated by Alexis Mousset over 7 years ago

  • Has duplicate Bug #9696: Time settings technique (still) cannot set timezone on Red Hat added
Actions #34

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #8199: Use ncf in clockConfiguration to make it compatible with recent OSes)
Actions #35

Updated by Alexis Mousset over 7 years ago

  • Has duplicate Bug #8199: Use ncf in clockConfiguration to make it compatible with recent OSes added
Actions #36

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #9678: clockConfiguration does not work properly on SLES12/systemd)
Actions #37

Updated by Alexis Mousset over 7 years ago

  • Related to Bug #9678: clockConfiguration does not work properly on SLES12/systemd added
Actions #38

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #9678: clockConfiguration does not work properly on SLES12/systemd)
Actions #39

Updated by Alexis Mousset over 7 years ago

  • Has duplicate Bug #9678: clockConfiguration does not work properly on SLES12/systemd added
Actions #40

Updated by Alexis Mousset over 7 years ago

  • Description updated (diff)
Actions #41

Updated by Jonathan CLARKE over 7 years ago

  • User visibility set to Getting started - demo | first install | level 1 Techniques
Actions #42

Updated by Jonathan CLARKE over 7 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
Actions #43

Updated by Benoît PECCATTE over 7 years ago

  • Priority set to 45
Actions #44

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #45

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #46

Updated by Benoît PECCATTE over 7 years ago

  • Translation missing: en.field_tag_list deleted (Quick and important)
Actions #47

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #48

Updated by Florian Heigl over 7 years ago

Hey!

This bug just gets to celebrate it's second birthday!

Actions #49

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 45 to 58
Actions #50

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #51

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #52

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #53

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #54

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #55

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #56

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #57

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #58

Updated by Vincent MEMBRÉ over 6 years ago

  • Parent task deleted (#6737)
Actions #59

Updated by Vincent MEMBRÉ over 6 years ago

  • Related to Bug #6737: Make all techniques compatible with systemd changes added
Actions #60

Updated by Vincent MEMBRÉ over 6 years ago

  • Effort required set to Medium
  • Priority changed from 58 to 44

Two solutions here:

Easy way would be to only use ntp, but that would be really strange behavior for a chrony user ( uninstall chrony, install and configure ntp ...)

other way is to rewrite completely the technique to detect correctly which clock management tool is used, and configure it ... but that would be the correct way!

setting effort to medium

Actions #61

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #62

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
  • Priority changed from 44 to 45
Actions #63

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
  • Priority changed from 45 to 46
Actions #64

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #65

Updated by Florian Heigl about 6 years ago

Hi,

could we soon find a way to properly support and RHEL/CentOS with config management using Rudder? O_o

Actions #66

Updated by François ARMAND about 6 years ago

  • Translation missing: en.field_tag_list set to Sponsored
  • Priority changed from 46 to 74

I increased the priority of that one.

Actions #67

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 74 to 0
Actions #68

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #69

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #70

Updated by François ARMAND over 5 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #71

Updated by Nicolas CHARLES over 5 years ago

  • Related to Bug #14369: timezone technique does not support systemd added
Actions #72

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from New to Rejected

implemented in 14369

Actions #73

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Rejected to New
  • Target version changed from 4.1.21 to 6.0.8

Reopening thin #14369 was never merged

Actions #74

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #75

Updated by Vincent MEMBRÉ over 4 years ago

  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1613
Actions #76

Updated by Anonymous over 4 years ago

  • Status changed from In progress to Pending release
Actions #77

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.8 to 6.0.7
Actions #78

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.7 and 6.1.1 which were released today.

Actions

Also available in: Atom PDF