From: Darrick H. <dha...@dj...> - 2007-03-11 20:47:12
|
As you probably know several areas recently changed their start of daylight savings time to supposedly help conserve energy. We won't go into that whole discussion, but suffice it to say that we've had to make some changes. I'll provide a little history on the zoneinfo files and how they tie into Astlinux along with the TZ variable, then give you a link where you can grab some replacement files. Astlinux is built on uclibc. uclibc it self does not use the information in the zoneinfo files usually found in /usr/share/zoneinfo and linked from /etc/localtime. Asterisk however DOES read these files directly rather than access this data via the *libc. This is how we ended up with two variables in rc.conf referring to timezones. TZ sets the timezone for the system, TIMEZONE sets it for Asterisk. If you don't mind the time on your voicemails being off by the daylight savings time offset, you don't need to do anything. For the foreseeable future, the TZ variable will need to be adjusted as mentioned in my previous email. Again, this is for the system time. The TIMEZONE variable can stay as is, but the zoneinfo files need to be updated. I have a tar.gz file available which has updated timezone data. This has not been fully tested, but it works on my test system. I will be creating new images based on 0.4 branch which will have the updated files. You can either update to these images or grab the file and overwrite the files on your current image. I only recommend doing this if you really know what you are doing. http://www.djhsolutions.com/astlinux/tzdata.tar.gz To overwrite the current files, you will need to mount your system read-write. Remove the existing files in /usr/share/zoneinfo Replace them with the files in that tar.gz file. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Kristian K. <kri...@gm...> - 2007-03-11 21:18:17
|
On 3/11/07, Darrick Hartman <dha...@dj...> wrote: > As you probably know several areas recently changed their start of > daylight savings time to supposedly help conserve energy. We won't go > into that whole discussion, but suffice it to say that we've had to make > some changes. I'll provide a little history on the zoneinfo files and > how they tie into Astlinux along with the TZ variable, then give you a > link where you can grab some replacement files. > > Astlinux is built on uclibc. uclibc it self does not use the > information in the zoneinfo files usually found in /usr/share/zoneinfo > and linked from /etc/localtime. Asterisk however DOES read these files > directly rather than access this data via the *libc. This is how we > ended up with two variables in rc.conf referring to timezones. TZ sets > the timezone for the system, TIMEZONE sets it for Asterisk. > > If you don't mind the time on your voicemails being off by the daylight > savings time offset, you don't need to do anything. > > For the foreseeable future, the TZ variable will need to be adjusted as > mentioned in my previous email. Again, this is for the system time. > > The TIMEZONE variable can stay as is, but the zoneinfo files need to be > updated. I have a tar.gz file available which has updated timezone > data. This has not been fully tested, but it works on my test system. > I will be creating new images based on 0.4 branch which will have the > updated files. You can either update to these images or grab the file > and overwrite the files on your current image. I only recommend doing > this if you really know what you are doing. > > http://www.djhsolutions.com/astlinux/tzdata.tar.gz > > To overwrite the current files, you will need to mount your system > read-write. > Remove the existing files in /usr/share/zoneinfo > Replace them with the files in that tar.gz file. > > Darrick > Darrick, I see the commit for 0.4. I am merging that into trunk right now. Thanks a lot! I am thinking that it probably makes more sense to have these as a package - glibc-tzdata, for instance. Either the user could compile it themselves (similar to Lonnie's method) or we could just offer a binary tarball to download and install. What do you think? -- Kristian Kielhofner |
From: Darrick H. <dha...@dj...> - 2007-03-11 21:35:24
|
Kristian Kielhofner wrote: > On 3/11/07, Darrick Hartman <dha...@dj...> wrote: > >> As you probably know several areas recently changed their start of >> daylight savings time to supposedly help conserve energy. We won't go >> into that whole discussion, but suffice it to say that we've had to make >> some changes. I'll provide a little history on the zoneinfo files and >> how they tie into Astlinux along with the TZ variable, then give you a >> link where you can grab some replacement files. >> >> Astlinux is built on uclibc. uclibc it self does not use the >> information in the zoneinfo files usually found in /usr/share/zoneinfo >> and linked from /etc/localtime. Asterisk however DOES read these files >> directly rather than access this data via the *libc. This is how we >> ended up with two variables in rc.conf referring to timezones. TZ sets >> the timezone for the system, TIMEZONE sets it for Asterisk. >> >> If you don't mind the time on your voicemails being off by the daylight >> savings time offset, you don't need to do anything. >> >> For the foreseeable future, the TZ variable will need to be adjusted as >> mentioned in my previous email. Again, this is for the system time. >> >> The TIMEZONE variable can stay as is, but the zoneinfo files need to be >> updated. I have a tar.gz file available which has updated timezone >> data. This has not been fully tested, but it works on my test system. >> I will be creating new images based on 0.4 branch which will have the >> updated files. You can either update to these images or grab the file >> and overwrite the files on your current image. I only recommend doing >> this if you really know what you are doing. >> >> http://www.djhsolutions.com/astlinux/tzdata.tar.gz >> >> To overwrite the current files, you will need to mount your system >> read-write. >> Remove the existing files in /usr/share/zoneinfo >> Replace them with the files in that tar.gz file. >> >> Darrick >> >> > > Darrick, > > I see the commit for 0.4. I am merging that into trunk right now. > Thanks a lot! > > I am thinking that it probably makes more sense to have these as a > package - glibc-tzdata, for instance. > > Either the user could compile it themselves (similar to Lonnie's > method) or we could just offer a binary tarball to download and > install. > > What do you think? > > > I almost have the package ready... -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Tom L. <the...@gm...> - 2007-03-12 02:03:48
|
File replacement works well for Pacific Daylight time. FYI. Voicemail timestamps are accurate. On 3/11/07, Darrick Hartman <dha...@dj...> wrote: > As you probably know several areas recently changed their start of > daylight savings time to supposedly help conserve energy. We won't go > into that whole discussion, but suffice it to say that we've had to make > some changes. I'll provide a little history on the zoneinfo files and > how they tie into Astlinux along with the TZ variable, then give you a > link where you can grab some replacement files. > > Astlinux is built on uclibc. uclibc it self does not use the > information in the zoneinfo files usually found in /usr/share/zoneinfo > and linked from /etc/localtime. Asterisk however DOES read these files > directly rather than access this data via the *libc. This is how we > ended up with two variables in rc.conf referring to timezones. TZ sets > the timezone for the system, TIMEZONE sets it for Asterisk. > > If you don't mind the time on your voicemails being off by the daylight > savings time offset, you don't need to do anything. > > For the foreseeable future, the TZ variable will need to be adjusted as > mentioned in my previous email. Again, this is for the system time. > > The TIMEZONE variable can stay as is, but the zoneinfo files need to be > updated. I have a tar.gz file available which has updated timezone > data. This has not been fully tested, but it works on my test system. > I will be creating new images based on 0.4 branch which will have the > updated files. You can either update to these images or grab the file > and overwrite the files on your current image. I only recommend doing > this if you really know what you are doing. > > http://www.djhsolutions.com/astlinux/tzdata.tar.gz > > To overwrite the current files, you will need to mount your system > read-write. > Remove the existing files in /usr/share/zoneinfo > Replace them with the files in that tar.gz file. > > Darrick > > -- > Darrick Hartman > DJH Solutions, LLC > http://www.djhsolutions.com > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > |