FS#8437 - initscripts: hwclock crashes under VirtualBox because of --directisa parameter
Attached to Project:
Arch Linux
Opened by Ivan Todoroski (Grnch) - Saturday, 27 October 2007, 11:10 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 28 October 2007, 06:01 GMT
Opened by Ivan Todoroski (Grnch) - Saturday, 27 October 2007, 11:10 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 28 October 2007, 06:01 GMT
|
Details
Description:
rc.sysinit and rc.shutdown invoke "hwclock --directisa" which crashes under VirtualBox (don't know about other virtual machines). The workaround is to add "rtc" to the list of startup modules, and remove this parameter from the scripts, but they of course get overwritten with each upgrade. In short, under VirtualBox the rtc access method is supported but directisa is not. Reading the documentation, the --directisa parameter actually seems completely unnecessary, since hwclock will fall back to it anyway if the rtc module is not loaded. So, you can just remove --directisa and things will work the same on real hardware (since rtc is not loaded by default), yet VirtualBox users can simply enable rtc in rc.conf and hwclock will pick it up automatically. Additional info: initscripts 2007.11-2 Steps to reproduce: |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Sunday, 28 October 2007, 06:01 GMT
Reason for closing: Not a bug
Sunday, 28 October 2007, 06:01 GMT
Reason for closing: Not a bug
Comment by
Tobias Powalowski (tpowa) - Saturday,
27 October 2007, 11:12 GMT
Comment by
Tobias Powalowski (tpowa) - Sunday,
28 October 2007, 06:01 GMT
this one is such an old issue roman could you help me?
http://bugs.archlinux.org/task/7667