Summary: | clock should not complain about Factory when TIMEZONE is set to UTC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | celso.fernandes |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
DEMAINE Benoît-Pierre, aka DoubleHP
2007-01-17 05:50:54 UTC
TIMEZONE="UTC" --- clock 2007-04-05 08:27:06.000000000 -0300 +++ clock.orig 2007-04-05 08:26:49.000000000 -0300 @@ -57,7 +57,7 @@ # Make sure people set their timezone ... we do it here # even though we don't actually use the variable so that # people see the warning on boot. - if [[ ${CLOCK:-Factory} == "Factory" ]] ; then + if [[ ${TIMEZONE:-Factory} == "Factory" ]] ; then ewarn "Your TIMEZONE in /etc/conf.d/clock is still set to Factory!" fi } I made this to solve the problem, because init.d/clock make sure you aren't using rc.conf and using conf.d/clock, and in this conf file the comments is to you set your timezone at CLOCK variable, that's why I prefered changed my init.d/clock cya. your system is out of date, current baselayout's clock init.d does not look like that (In reply to comment #3) > your system is out of date, current baselayout's clock init.d does not look > like that > I gave a emerge --sync right now, than emerge -uD world -pv doesn't show me any update on clock.. I always put the update of init.d scripts in the place of my olds one, doesn't know what happened. Sorry for this inconvenience with this bug, I'll use this init.d modified till next update, than I post what happened here. Thanks. |