Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-17 Thread Mike Frysinger
On Friday 16 February 2007, Daniel Robbins wrote: OK, I did not understand how it was supposed to work. Is there documentation anywhere that explains how it works and why? other than the comment in /etc/conf.d/clock, nope ... the init script will warn you at boot if you still havent set it

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Daniel Robbins
I think the easiest approach then would be to have an /etc/timezone directory that should have a single file in it with the current timezone. This file could be copied from /usr and keep the original name. example: /etc/timezone/MST7MDT Pretty easy to understand and deal with. What do you

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Daniel Robbins
Um, alternatively you could just copy /usr/share/zoneinfo/foo to /etc/localtime rather than having a symlink. Since the zoneinfo file has the name of the timezone in it already, it is probably not necessary to preserve the filename of the timezone file. -Daniel On 2/16/07, Daniel Robbins [EMAIL

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Daniel Robbins
Well, sure, but the timezone-data ebuild could be upgraded to check to see if /etc/localtime is old or not and inform the user or even take appropriate steps to automatically fix this (dangerous?) This may not be possible with a direct copy to /etc/localtime, but it should work with the

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Ciaran McCreesh
On Fri, 16 Feb 2007 16:47:10 -0700 Daniel Robbins [EMAIL PROTECTED] wrote: | Well, sure, but the timezone-data ebuild could be upgraded to check to | see if /etc/localtime is old or not and inform the user or even take | appropriate steps to automatically fix this (dangerous?) Not doable with a

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Mike Frysinger
On Friday 16 February 2007, Daniel Robbins wrote: Well, sure, but the timezone-data ebuild could be upgraded to check to see if /etc/localtime is old or not and inform the user or even take appropriate steps to automatically fix this (dangerous?) as Ciaran said, this is plain not doable the

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-16 Thread Daniel Robbins
OK, I did not understand how it was supposed to work. Is there documentation anywhere that explains how it works and why? -Daniel On 2/16/07, Mike Frysinger [EMAIL PROTECTED] wrote: On Friday 16 February 2007, Daniel Robbins wrote: Well, sure, but the timezone-data ebuild could be upgraded to

[gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Caleb Cushing
I see a timezone variable was added. good idea! how is it implemented exactly? seeing as I have a symlink in /etc/localtime what will this change if I set it? -- gentoo-dev@gentoo.org mailing list

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Raymond Lewis Rebbeck
On Thursday, 15 February 2007 23:11, Caleb Cushing wrote: I see a timezone variable was added. good idea! how is it implemented exactly? seeing as I have a symlink in /etc/localtime what will this change if I set it? AFAIK it currently does nothing and will be used in the future. -- Raymond

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Roy Marples
On Thu, 15 Feb 2007 23:16:18 +1030 Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote: On Thursday, 15 February 2007 23:11, Caleb Cushing wrote: I see a timezone variable was added. good idea! how is it implemented exactly? seeing as I have a symlink in /etc/localtime what will this change if I

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Caleb Cushing
which most probably aren't since that was changed in the handbook (wonders why it was). On 2/15/07, Roy Marples [EMAIL PROTECTED] wrote: On Thu, 15 Feb 2007 23:16:18 +1030 Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote: On Thursday, 15 February 2007 23:11, Caleb Cushing wrote: I see a

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Anders Bruun Olsen
On Thu, Feb 15, 2007 at 08:01:11AM -0500, Caleb Cushing wrote: which most probably aren't since that was changed in the handbook (wonders why it was). It might have something to do with the fact that FHS specifies that /usr does not have to be on the root partition and thus using a symlink in

Re: [gentoo-dev] Timezone /etc/conf.d/clock

2007-02-15 Thread Caleb Cushing
never thought of that. thx for the info. On 2/15/07, Anders Bruun Olsen [EMAIL PROTECTED] wrote: On Thu, Feb 15, 2007 at 08:01:11AM -0500, Caleb Cushing wrote: which most probably aren't since that was changed in the handbook (wonders why it was). It might have something to do with the fact