Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204907 - sys-apps/baselayout-1.12.10-r5: /etc/init.d/clock: Repeated error message if no RTC
Summary: sys-apps/baselayout-1.12.10-r5: /etc/init.d/clock: Repeated error message if ...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 14:14 UTC by Fabio Correa
Modified: 2009-08-01 13:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)