DST
DAve
dave.list at pixelhammer.com
Fri Mar 16 16:13:37 UTC 2007
Jean-Paul Natola wrote:
> Hi everyone,
>
> I'm still having an issue with the new daylight saving-
>
> I ran tzsetup entered the appropriate zone- but when I reboot the machine it
> still in the old time zone-
>
> Is there a patch for freebsd 5.4
Dan Busarow posted an excellent step by step earlier. I used it with
success on version 4.8 to 6.2 with no problems (Except the AMD64 port
which has a zdump problem).
See below,
DAve
----------------------------------------------
> Grant,
>
> Search for an email I sent to the list on 2/22 with Subject
>
> Determining daylight savings changes on BSD
>
> It has the steps needed to update manually from source.
>
> Here's the steps
>
> If you can't use the ports to update your time zone files here is the manual procedure.
>
> 1. create a new directory and cd into it
> e.g. # mkdir myzoneinfo; cd myzoneinfo
>
> 2. # fetch ftp://elsie.nci.nih.gov/pub/tzdata2007c.tar.gz
>
> 3. # tar -zxvf tzdata2007c.tar.gz
>
> 4. you will now have a bunch of files in the directory extracted from tzdata2007b.
> you need to edit zone.tab and comment out these lines
>
> #AX +6006+01957 Europe/Mariehamn
> #GG +4927-00232 Europe/Guernsey
> #IM +5409-00428 Europe/Isle_of_Man
> #JE +4912-00207 Europe/Jersey
> #ME +4226+01916 Europe/Podgorica
> #RS +4450+02030 Europe/Belgrade
> #TL -0833+12535 Asia/Dili
>
> 5. run this command
> # zic -d ./zoneinfo -p America/Los_Angeles -m 0644 -y ./yearistype \
> africa antarctica asia australasia etcetera europe \
> factory northamerica southamerica systemv
>
> that's all one long line
> the zic command will create a new directory named zoneinfo and
> fill it with the new zoneinfo files. You can compare it to
> /usr/share/zoneinfo
>
> 6. install the new files by running
> # cp -R -p ./zoneinfo/ /usr/share/zoneinfo
> # cp ./zone.tab /usr/share/zoneinfo
> # tzsetup
>
> 7. to verify that all went well run
> # zdump -v /etc/localtime | grep 2007
> your should get
>
> /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 PST isdst=0 gmtoff=-28800
> /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 PDT isdst=1 gmtoff=-25200
> /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 PDT isdst=1 gmtoff=-25200
> /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 PST isdst=0 gmtoff=-28800
>
>
> I've done this on 1/2 dozen older 4.x and 5.x servers and it works fine.
>
>
>
> Dan
----------------------------------------------
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.
More information about the freebsd-questions
mailing list