Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 204907

Summary: sys-apps/baselayout-1.12.10-r5: /etc/init.d/clock: Repeated error message if no RTC
Product: Gentoo Linux Reporter: Fabio Correa <facorread>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED FIXED    
Severity: trivial CC: roy
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabio Correa 2008-01-08 14:14:31 UTC
For some months, the script /etc/init.d/clock has presented the following message when starting in my AMD64 box with no RTC clock drivers compiled in the kernel:

 * Setting system clock using the hardware clock [UTC] ...
 * No se puede acceder al reloj de hardware por ningún método conocido.
Utilice la opción --debug para ver los detalles de la búsqueda para un método de acceso.No se puede acceder al reloj de hardware por ningún método conocido.
Utilice la opción --debug para ver los detalles de la búsqueda para un método de acceso.
 * Failed to set clock You will need to set the clock yourself

The (very trivial) point here is that the error message is presented twice, generated by lines 91 & 92 of the script.
Comment 1 Roy Marples 2008-01-08 15:02:07 UTC
With baselayout-2.0.0_rc6 and OpenRC, you should only see one error message with the shipped default configuration as we don't default to using the adjustment file anymore.

However, if you use an adjustment file AND have a non UTC system or special options then you could see this message twice still as we need to make two hwclock calls. This should be kept as the error messages could be different, and your output shows this is the case even though I don't understand that language.
Comment 2 SpanKY gentoo-dev 2008-05-31 10:47:08 UTC
should be fixed with openrc ... not much point in fixing in baselayout-1 since the warning is cosmetic (and you shouldnt run clock anyways if you dont have an rtc)