Bug #3153
Missing /etc/sysconfig/clock
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | ~FUTURE | |||
Security class: | Resolution: | WONTFIX | ||
Affected version: | NEEDINFO: | No |
Description
in /etc/e-smith/events/actions/nethserver-base-initialize-db line 89 I read:
source_bash('/etc/sysconfig/clock', \%config);
but in centos 6.2 and later this file do not exist.. right ?
Again in this script: $config{'zone'} where is defined ?
History
#1 Updated by Filippo Carletti about 6 years ago
I checked a CentOS 6.6 I have on Digital Ocean and the file '/etc/sysconfig/clock' is there.
On a CentOS 7 I installed from cd the file is missing.
Have you installed your CentOS 6 from cd? Or is it a vps or something similar?
#2 Updated by Franco Carinato about 6 years ago
I've installed Centos 6.6 from proxmox templates (VM)
#3 Updated by Giacomo Sanchietti about 6 years ago
- Target version set to ~FUTURE
#4 Updated by Filippo Carletti about 6 years ago
Franco Carinato wrote:
I've installed Centos 6.6 from proxmox templates (VM)
I found tihs:
http://kb.odin.com/en/123371
It seems that virtuozzo has a bug where clock is not present in the container and shoud be copied from the host.
Maybe proxmox has a similar problem.
#5 Updated by Franco Carinato about 6 years ago
I found this: clock (no clock setting is required/allowed in container) in https://openvz.org/Physical_to_container
I can't copy clock from the host (proxmox) is a debian based distribution..
Is possible to workaround the problem in nethserver installation ? Test if exists /etc/sysconfig/clock and bypass the problem ?
#6 Updated by Davide Principi about 6 years ago
- Status changed from NEW to CLOSED
- % Done changed from 0 to 100
- Resolution set to WONTFIX
WONTFIX
- This problem arise only on specific VPS installations.
- The workaround could be ignore the error and set the timezone again from "Date and Time" page
- It has been fixed on 7 (where /etc/sysconfig/clock does not exist).
Feel free to open again this bug if new informations are available.