FS#31449 - [initscripts] System clock not set on boot
Attached to Project:
Arch Linux
Opened by Florian Zeitz (Florob) - Friday, 07 September 2012, 00:24 GMT
Last edited by Dave Reisner (falconindy) - Friday, 07 September 2012, 00:39 GMT
Opened by Florian Zeitz (Florob) - Friday, 07 September 2012, 00:24 GMT
Last edited by Dave Reisner (falconindy) - Friday, 07 September 2012, 00:39 GMT
|
Details
Description:
I noticed that as of recently my system time was always 2h off after boot. Since my TZ is Germany that means my system clock was set exactly to the time stored in the hardware clock. After some investigation it seems to me that this is due to the following lines from /etc/rc.sysinit: HWCLOCK_PARAMS="--systz" case $HARDWARECLOCK in "") ;; UTC) HWCLOCK_PARAMS+=" --utc --noadjfile";; localtime) HWCLOCK_PARAMS+=" --localtime --noadjfile";; *) HWCLOCK_PARAMS="";; esac Which means the system clock is never actually set when HARDWARECLOCK is not defined in rc.conf. However, setting this has been deprecated. I think the correct fix to this is to either remove the default case, or change it to: *) HWCLOCK_PARAMS+="";; Additional info: * package version: 2012.08.3-2 |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 07 September 2012, 00:39 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#31416
Friday, 07 September 2012, 00:39 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by
Dave Reisner (falconindy) - Friday,
07 September 2012, 00:26 GMT
Comment by Florian Zeitz (Florob) -
Friday, 07 September 2012, 00:29 GMT
Are you using testing?
Yes, I am. Sorry for not having said that before.