public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] timezone and other moving rc variables.
@ 2009-03-16  3:45 Caleb Cushing
  2009-03-16  3:56 ` Daniel Verkamp
  2009-03-18  4:37 ` Donnie Berkholz
  0 siblings, 2 replies; 6+ messages in thread
From: Caleb Cushing @ 2009-03-16  3:45 UTC (permalink / raw
  To: gentoo-dev

 * You have an invalid TIMEZONE setting in /etc/timezone
 * Your /etc/localtime has been reset to Factory; enjoy!
 * Updating /etc/localtime with /usr/share/zoneinfo/Factory

cat /etc/timezone
TIMEZONE="EST5EDT"

I can't figure out what this file wants. I've tried several settings
and I don't seem to be able to get it right. (maybe a bug?)

so maybe timezone-data should install the file with a default, and
some examples. because updating documentation is always a good thing.
It's getting hard to keep track of where things are moving to.

like where I'm supposed to set things like EDITOR, and XSESSION with
openrc moving everything around, could we please put these things in
one place? /etc/env.d or /etc/conf.d? also could all the necessary
files be created for us? I think this should apply to
/etc/env.d/02locale as well. I don't see why this isn't created with
some comments by default.
-- 
Caleb Cushing

http://xenoterracide.blogspot.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] timezone and other moving rc variables.
  2009-03-16  3:45 [gentoo-dev] timezone and other moving rc variables Caleb Cushing
@ 2009-03-16  3:56 ` Daniel Verkamp
  2009-03-16  6:46   ` Ben de Groot
  2009-03-18  4:37 ` Donnie Berkholz
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Verkamp @ 2009-03-16  3:56 UTC (permalink / raw
  To: gentoo-dev

On Sun, Mar 15, 2009 at 11:45 PM, Caleb Cushing <xenoterracide@gmail.com> wrote:
>  * You have an invalid TIMEZONE setting in /etc/timezone
>  * Your /etc/localtime has been reset to Factory; enjoy!
>  * Updating /etc/localtime with /usr/share/zoneinfo/Factory
>
> cat /etc/timezone
> TIMEZONE="EST5EDT"

I believe the entire file contents should be "EST5EDT" sans quotes; I
don't know if this is documented anywhere... the only entry for 'man
timezone' is for the function in time.h.

>
> I can't figure out what this file wants. I've tried several settings
> and I don't seem to be able to get it right. (maybe a bug?)
>
> so maybe timezone-data should install the file with a default, and
> some examples. because updating documentation is always a good thing.
> It's getting hard to keep track of where things are moving to.
>
> like where I'm supposed to set things like EDITOR, and XSESSION with
> openrc moving everything around, could we please put these things in
> one place? /etc/env.d or /etc/conf.d? also could all the necessary
> files be created for us? I think this should apply to
> /etc/env.d/02locale as well. I don't see why this isn't created with
> some comments by default.
> --
> Caleb Cushing
>

Thanks,
-- Daniel Verkamp



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] timezone and other moving rc variables.
  2009-03-16  3:56 ` Daniel Verkamp
@ 2009-03-16  6:46   ` Ben de Groot
  2009-03-17  1:18     ` Caleb Cushing
  0 siblings, 1 reply; 6+ messages in thread
From: Ben de Groot @ 2009-03-16  6:46 UTC (permalink / raw
  To: gentoo-dev

Daniel Verkamp wrote:
> On Sun, Mar 15, 2009 at 11:45 PM, Caleb Cushing <xenoterracide@gmail.com> wrote:
>>  * You have an invalid TIMEZONE setting in /etc/timezone
>>  * Your /etc/localtime has been reset to Factory; enjoy!
>>  * Updating /etc/localtime with /usr/share/zoneinfo/Factory
>>
>> cat /etc/timezone
>> TIMEZONE="EST5EDT"
> 
> I believe the entire file contents should be "EST5EDT" sans quotes; I
> don't know if this is documented anywhere... the only entry for 'man
> timezone' is for the function in time.h.
> 

As per http://www.gentoo.org/doc/en/openrc-migration.xml under the
"Clock" heading. I know, reading documentation is an acquired taste... ;-)

-- 
Ben de Groot
Gentoo Linux developer (lxde, media, qt, desktop-misc)
Gentoo Linux Release Engineering PR liaison
______________________________________________________




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] timezone and other moving rc variables.
  2009-03-16  6:46   ` Ben de Groot
@ 2009-03-17  1:18     ` Caleb Cushing
  2009-03-17 13:11       ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Caleb Cushing @ 2009-03-17  1:18 UTC (permalink / raw
  To: gentoo-dev

On Mon, Mar 16, 2009 at 2:46 AM, Ben de Groot <yngwin@gentoo.org> wrote:
> As per http://www.gentoo.org/doc/en/openrc-migration.xml under the
> "Clock" heading. I know, reading documentation is an acquired taste... ;-)

I've never seen this documentation before, didn't know it existed.
maybe things like the timezone-data ebuild could refer to it in the
'info' message (the kernel used to do this with the kernel migration
guide)

-- 
Caleb Cushing

http://xenoterracide.blogspot.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] timezone and other moving rc variables.
  2009-03-17  1:18     ` Caleb Cushing
@ 2009-03-17 13:11       ` Mike Frysinger
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2009-03-17 13:11 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

On Monday 16 March 2009 21:18:16 Caleb Cushing wrote:
> On Mon, Mar 16, 2009 at 2:46 AM, Ben de Groot <yngwin@gentoo.org> wrote:
> > As per http://www.gentoo.org/doc/en/openrc-migration.xml under the
> > "Clock" heading. I know, reading documentation is an acquired taste...
> > ;-)
>
> I've never seen this documentation before, didn't know it existed.
> maybe things like the timezone-data ebuild could refer to it in the
> 'info' message (the kernel used to do this with the kernel migration
> guide)

openrc spams it every time you upgrade.  i can tweak the timezone-data ebuild 
as well though.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] timezone and other moving rc variables.
  2009-03-16  3:45 [gentoo-dev] timezone and other moving rc variables Caleb Cushing
  2009-03-16  3:56 ` Daniel Verkamp
@ 2009-03-18  4:37 ` Donnie Berkholz
  1 sibling, 0 replies; 6+ messages in thread
From: Donnie Berkholz @ 2009-03-18  4:37 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

On 23:45 Sun 15 Mar     , Caleb Cushing wrote:
>  * You have an invalid TIMEZONE setting in /etc/timezone
>  * Your /etc/localtime has been reset to Factory; enjoy!
>  * Updating /etc/localtime with /usr/share/zoneinfo/Factory
> 
> cat /etc/timezone
> TIMEZONE="EST5EDT"
> 
> I can't figure out what this file wants. I've tried several settings
> and I don't seem to be able to get it right. (maybe a bug?)
> 
> so maybe timezone-data should install the file with a default, and
> some examples. because updating documentation is always a good thing.
> It's getting hard to keep track of where things are moving to.
> 
> like where I'm supposed to set things like EDITOR, and XSESSION with
> openrc moving everything around, could we please put these things in
> one place? /etc/env.d or /etc/conf.d? also could all the necessary
> files be created for us? I think this should apply to
> /etc/env.d/02locale as well. I don't see why this isn't created with
> some comments by default.

Because env.d isn't under CONFIG_PROTECT so your modifications to any 
package-installed file are overwritten on every update.

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-18  4:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16  3:45 [gentoo-dev] timezone and other moving rc variables Caleb Cushing
2009-03-16  3:56 ` Daniel Verkamp
2009-03-16  6:46   ` Ben de Groot
2009-03-17  1:18     ` Caleb Cushing
2009-03-17 13:11       ` Mike Frysinger
2009-03-18  4:37 ` Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox