Re: daylight savings time
> > The port misc/zoneinfo is what you need. > > I installed this port and ran 'tzsetup' afterwards. Everything works now. Thanks. I also edited /etc/make.conf to include the line "MK_ZONEINFO=no" as per the instructions in the file /usr/ports/misc/zoneinfo/pkg-descr. However, in my 5.5 distribution, /usr/share/examples/etc/make.conf has no mention of this variable (in fact my 7.0 FreeBSD computer has no mention of MK_ZONEINFO in this file either). So my question is - will the zoneinfo get clobbered if and when I ever reinstall world? Where can I find a comprehensive list of available make options that can be put into make.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daylight savings time
Never mind. I was assuming the server was running in UTC. On Wed, 19 Mar 2008 at 03:53 -, [EMAIL PROTECTED] confabulated: On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated: I'm running FreeBSD 5.5. I'm in California and my hardware clock is set to UTC I believe (how to check if it's important?). Ever since the daylight saving time shift here in California a couple of weeks ago my clock has been late by one hour. For example right now it is 7:28 PM and my computer says: [EMAIL PROTECTED] date Tue Mar 18 18:28:08 PST 2008 I have NTP running and I verified that it works by setting the clock to be off by one hour and one minute (basically nudge the time by one minute) and the clock synchronizes itself to be accurate to the minute and second but off by one hour. Does anyone know how to fix this? Is there some sort of updated time zone data that I need? Thanks in advance. Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've always removed the file /etc/localtime. FBSD will default to UTC if it can not find /etc/localtime (at least that's what I've witnessed since FBSD 5.5). -- _|_ |_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- _|_ |_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daylight savings time
On Tue, 18 Mar 2008 at 19:31 -0700, [EMAIL PROTECTED] confabulated: I'm running FreeBSD 5.5. I'm in California and my hardware clock is set to UTC I believe (how to check if it's important?). Ever since the daylight saving time shift here in California a couple of weeks ago my clock has been late by one hour. For example right now it is 7:28 PM and my computer says: [EMAIL PROTECTED] date Tue Mar 18 18:28:08 PST 2008 I have NTP running and I verified that it works by setting the clock to be off by one hour and one minute (basically nudge the time by one minute) and the clock synchronizes itself to be accurate to the minute and second but off by one hour. Does anyone know how to fix this? Is there some sort of updated time zone data that I need? Thanks in advance. Our server BIOS clocks are set to UTC. To ensure UTC time in FBSD, I've always removed the file /etc/localtime. FBSD will default to UTC if it can not find /etc/localtime (at least that's what I've witnessed since FBSD 5.5). -- _|_ |_| | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: daylight savings time
On Tue, Mar 18, 2008 at 07:31:01PM -0700, Nerius Landys wrote: [...] > I have NTP running and I verified that it works by setting the clock to be > off by one hour and one minute (basically nudge the time by one minute) and > the clock synchronizes itself to be accurate to the minute and second but > off by one hour. > > Does anyone know how to fix this? Is there some sort of updated time zone > data that I need? Thanks in advance. The port misc/zoneinfo is what you need. Alternatively, you can tweak the zoneinfo file in /usr/src/share/zoneinfo yourself and zic(8) it; and then copying/linking the appropriate compiled zoneinfo file to /etc/localtime. -- Jonathan Chen <[EMAIL PROTECTED]> -- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Daylight Savings time
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Erik Trulsson > Sent: Saturday, March 01, 2008 1:04 PM > To: Lisa Casey > Cc: freebsd-questions@freebsd.org > Subject: Re: Daylight Savings time > > > On Sat, Mar 01, 2008 at 03:18:52PM -0500, Lisa Casey wrote: > > Hi, > > > > I suspect my FreeBSD 5.2 system isn't going to handle the > change to Daylight Savings Time correctly next weekend: > > > > zdump -v /etc/localtime | grep 2008 > > /etc/localtime Sun Apr 6 06:59:59 2008 UTC = Sun Apr 6 > 01:59:59 2008 EST isdst=0 gmtoff=-18000 > > /etc/localtime Sun Apr 6 07:00:00 2008 UTC = Sun Apr 6 > 03:00:00 2008 EDT isdst=1 gmtoff=-14400 > > /etc/localtime Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 > 01:59:59 2008 EDT isdst=1 gmtoff=-14400 > > /etc/localtime Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 > 01:00:00 2008 EST isdst=0 gmtoff=-18000 > > > > Could someone help me remember the steps I need to take to correct this? > > > > Install the misc/zoneinfo port, which will install an updated > zoneinfo file on your > machine, and then run tzsetup(8) to update /etc/localtime. > That may work on 5, I don't know. It won't work on 4 since the ports structure is so different now. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Daylight Savings time
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Lisa Casey > Sent: Saturday, March 01, 2008 12:19 PM > To: freebsd-questions@freebsd.org > Subject: Daylight Savings time > > > Hi, > > I suspect my FreeBSD 5.2 system isn't going to handle the change > to Daylight Savings Time correctly next weekend: > > zdump -v /etc/localtime | grep 2008 > /etc/localtime Sun Apr 6 06:59:59 2008 UTC = Sun Apr 6 > 01:59:59 2008 EST isdst=0 gmtoff=-18000 > /etc/localtime Sun Apr 6 07:00:00 2008 UTC = Sun Apr 6 > 03:00:00 2008 EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 > 01:59:59 2008 EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 > 01:00:00 2008 EST isdst=0 gmtoff=-18000 > > Could someone help me remember the steps I need to take to correct this? > Here's a little very hacky script I put together last year. I forget where you get the current timezone files, you can google for that. The process is explained in the script. you will need to adjust for your location, it should be obvious where. Some BSD versions uses a link. Some other unices just copy the zonefile in. I manage a number of different unices. #!/bin/sh zdump -v /etc/localtime | grep 2007 echo If sun Mar 11 and Nov 1 then OK echo Otherwise stop script now and rerun from clean temp dir echo "also ls -l /etc |more and check that localtime is not a link" sleep 5 fetch ftp://server.example.com/pub/tzdata2007c.tar.gz tar -xzf tzdata2007c.tar.gz zic -d zoneinfo northamerica cp -R zoneinfo/* /usr/share/zoneinfo zdump -v /usr/share/zoneinfo/PST8PDT | grep 2007 zdump -v /usr/share/zoneinfo/America/Los_Angeles | grep 2007 echo "if localtime is a link then Cntl-C, stop and rm /etc/localtime then" echo "ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime" sleep 5 cp /usr/share/zoneinfo/PST8PDT /etc/localtime zdump -v /etc/localtime | grep 2007 echo If Sun Mar 11 and Nov 1 then OK echo "now rm -r this temp dir" Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight Savings time
On Sun, Mar 02, 2008 at 10:08:39AM -0800, Fred C wrote: > The file does not exist... > > > /usr/ports/misc/zoneinfo# make > ===> Vulnerability check disabled, database not found > => tzdata2007j.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > => Attempting to fetch from ftp://elsie.nci.nih.gov/pub/. Update your ports tree. You are trying to fetch an outdated version of the file. The version it (currently) should fetch is tzdata2007k.tar.gz -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight Savings time
The file does not exist... /usr/ports/misc/zoneinfo# make ===> Vulnerability check disabled, database not found => tzdata2007j.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://elsie.nci.nih.gov/pub/. fetch: ftp://elsie.nci.nih.gov/pub/tzdata2007j.tar.gz: File unavailable (e.g., file not found, no access) => Attempting to fetch from http://people.freebsd.org/~edwin/. fetch: http://people.freebsd.org/~edwin/tzdata2007j.tar.gz: Not Found => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ . fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/tzdata2007j.tar.gz : File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/misc/zoneinfo. /usr/ports/misc/zoneinfo# On Mar 1, 2008, at 1:04 PM, Erik Trulsson wrote: On Sat, Mar 01, 2008 at 03:18:52PM -0500, Lisa Casey wrote: Hi, I suspect my FreeBSD 5.2 system isn't going to handle the change to Daylight Savings Time correctly next weekend: zdump -v /etc/localtime | grep 2008 /etc/localtime Sun Apr 6 06:59:59 2008 UTC = Sun Apr 6 01:59:59 2008 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Apr 6 07:00:00 2008 UTC = Sun Apr 6 03:00:00 2008 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 01:00:00 2008 EST isdst=0 gmtoff=-18000 Could someone help me remember the steps I need to take to correct this? Install the misc/zoneinfo port, which will install an updated zoneinfo file on your machine, and then run tzsetup(8) to update /etc/localtime. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " -- Fred C! PGP-KeyID: E7EA02EC3B487EE9 PGP-FingerPrint: A906101E2CCDBB18D7BD09AEE7EA02EC3B487EE9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight Savings time
Hi again, - Original Message - From: Erik Trulsson To: Lisa Casey Cc: freebsd-questions@freebsd.org Sent: Saturday, March 01, 2008 4:04 PM Subject: Re: Daylight Savings time Install the misc/zoneinfo port, which will install an updated zoneinfo file on your machine, and then run tzsetup(8) to update /etc/localtime. I think that's the info I was looking for. I ran tzsetup, but of course that did no good. I'll install the port first. Thanks. Lisa Casey -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight Savings time
On Sat, Mar 01, 2008 at 03:18:52PM -0500, Lisa Casey wrote: > Hi, > > I suspect my FreeBSD 5.2 system isn't going to handle the change to Daylight > Savings Time correctly next weekend: > > zdump -v /etc/localtime | grep 2008 > /etc/localtime Sun Apr 6 06:59:59 2008 UTC = Sun Apr 6 01:59:59 2008 EST > isdst=0 gmtoff=-18000 > /etc/localtime Sun Apr 6 07:00:00 2008 UTC = Sun Apr 6 03:00:00 2008 EDT > isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 EDT > isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 01:00:00 2008 EST > isdst=0 gmtoff=-18000 > > Could someone help me remember the steps I need to take to correct this? > Install the misc/zoneinfo port, which will install an updated zoneinfo file on your machine, and then run tzsetup(8) to update /etc/localtime. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight Savings time
Lisa Casey wrote: Hi, I suspect my FreeBSD 5.2 system isn't going to handle the change to Daylight Savings Time correctly next weekend: zdump -v /etc/localtime | grep 2008 /etc/localtime Sun Apr 6 06:59:59 2008 UTC = Sun Apr 6 01:59:59 2008 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Apr 6 07:00:00 2008 UTC = Sun Apr 6 03:00:00 2008 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 26 05:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 26 06:00:00 2008 UTC = Sun Oct 26 01:00:00 2008 EST isdst=0 gmtoff=-18000 Could someone help me remember the steps I need to take to correct this? IIRC DST dates were changed last year and patches made for 6.x and CURRENT. I suppose these where not merged to the legacy branches. You can try zone files for a newer version, see if it works - or maybe while you're at it consider upgrading. Cheers, Erik -- Erik Nørgaard Ph: +34.666334818 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
On Tue, Jan 16, 2007 at 01:31:22PM -0700, hal wrote: > This came down from above?! > > Beginning in 2007, Daylight Savings Time will be lengthened one month > by starting three weeks earlier (2AM on the second Sunday in March) > and ending one week later (2AM on the first Sunday in November). > > > What patch levels do I need to be at for my 4.7 and 6.1 systems to be > daylight savings 2007 ready? > > Currently: 4.11-RELEASE-p25 > > Currently: 6.1-RELEASE-p10 > > hal You can grab the latest zoneinfo file from http://www.nih.gov/ and recompile it with /usr/sbin/zic. Yeah, you could use the ports tree, but I prefer using methods that are a little more portable across operating systems. I've got like two dozen different OS releases of various flavors to update with the new timezone information. -Damian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
Matthew Seaman wrote: > [You could make /etc/localtime a link or a symlink to the appropriate > file under /usr/share/zoneinfo, but only if /etc and /usr/share/zoneinfo > happen to be on the same filesystem (ie. on the root filesystem), which > is not the case in the default install of FreeBSD] As you suggest, making /etc/localtime a symlink ensures that the current /usr/share/zoneinfo file is always the one that actually gets used. That's an easy and significant benefit. So, why not do this on all boxes, even those that have / and /usr under separate filesystems? Granted, localtime will be unreadable whenever /usr is not mounted, but is that really a problem? Typically it will only be an issue at boot-time and in single user mode. The current time and file system times will be displayed in UTC, but this is only a small temporary inconvenience for the operator. Cron might not do its work as expected, but it is unlikely to be running in circumstances where /usr is not mounted. Perhaps some log files might be affected, but if /usr isn't mounted, then /var probably isn't either. Have I missed some big potential problem that might outweigh the benefit of using the symlink even when /etc/localtime and /usr/share/zoneinfo are on separate filesystems? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
Javier Henderson wrote: >> Your /etc/localtime is probably a copy of the old zoneinfo data, left >> over from a previous incarnation. > > My system at home is running 6.2-RELEASE: > >> zdump -v /etc/localtime | more > > (...) > > /etc/localtime Sun Mar 31 06:59:59 1918 UTC = Sun Mar 31 01:59:59 1918 > EST isdst=0 gmtoff=-18000 > /etc/localtime Sun Mar 31 07:00:00 1918 UTC = Sun Mar 31 03:00:00 1918 > EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 27 05:59:59 1918 UTC = Sun Oct 27 01:59:59 1918 > EDT isdst=1 gmtoff=-14400 > /etc/localtime Sun Oct 27 06:00:00 1918 UTC = Sun Oct 27 01:00:00 1918 > EST isdst=0 gmtoff=-18000 > > Same if I look at /usr/share/zoneinfo/EST5EDT. > > I looked in the files for the zoneinfo port, same deal. > > What am I missing? Errr --- why are you looking at when daylight savings changes happened in 1918? Try something like this: happy-idiot-talk:~:% zdump -v /usr/share/zoneinfo/EST5EDT | grep '200[67]' /usr/share/zoneinfo/EST5EDT Sun Apr 2 06:59:59 2006 UTC = Sun Apr 2 01:59:59 2006 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/EST5EDT Sun Apr 2 07:00:00 2006 UTC = Sun Apr 2 03:00:00 2006 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/EST5EDT Sun Oct 29 05:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/EST5EDT Sun Oct 29 06:00:00 2006 UTC = Sun Oct 29 01:00:00 2006 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/EST5EDT Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0 gmtoff=-18000 /usr/share/zoneinfo/EST5EDT Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/EST5EDT Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1 gmtoff=-14400 /usr/share/zoneinfo/EST5EDT Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0 gmtoff=-18000 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Daylight savings time / 6.1 and 4.11
On Jan 20, 2007, at 10:36 AM, Matthew Seaman wrote: Errr --- why are you looking at when daylight savings changes happened in 1918? Yeah, I noticed that after I sent the email. Duh. -jav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
Your /etc/localtime is probably a copy of the old zoneinfo data, left over from a previous incarnation. My system at home is running 6.2-RELEASE: > zdump -v /etc/localtime | more (...) /etc/localtime Sun Mar 31 06:59:59 1918 UTC = Sun Mar 31 01:59:59 1918 EST isdst=0 gmtoff=-18000 /etc/localtime Sun Mar 31 07:00:00 1918 UTC = Sun Mar 31 03:00:00 1918 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 27 05:59:59 1918 UTC = Sun Oct 27 01:59:59 1918 EDT isdst=1 gmtoff=-14400 /etc/localtime Sun Oct 27 06:00:00 1918 UTC = Sun Oct 27 01:00:00 1918 EST isdst=0 gmtoff=-18000 Same if I look at /usr/share/zoneinfo/EST5EDT. I looked in the files for the zoneinfo port, same deal. What am I missing? -jav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
hal wrote: > 6.2-STABLE > > zdump -v -c 2008 MST7MDT > > MST7MDT Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST > isdst=0 gmtoff=-25200 > MST7MDT Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT > isdst=1 gmtoff=-21600 > MST7MDT Sun Nov 4 07:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 MDT > isdst=1 gmtoff=-21600 > MST7MDT Sun Nov 4 08:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 MST > isdst=0 gmtoff=-25200 > > Shows the new MST -> MDT and MDT -> MST dates > > zdump -v -c 2008 /etc/localtime > > /etc/localtime Sun Apr 1 08:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 > MST isdst=0 gmtoff=-25200 > /etc/localtime Sun Apr 1 09:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 > MDT isdst=1 gmtoff=-21600 > /etc/localtime Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 > MDT isdst=1 gmtoff=-21600 > /etc/localtime Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 > MST isdst=0 gmtoff=-25200 > > Shows the old MST -> MDT and MDT -> MST dates > > What did I miss? What do I do next? Your /etc/localtime is probably a copy of the old zoneinfo data, left over from a previous incarnation. Just copy the updated zoneinfo data for your local timezone (I'm assuming it is MST7MDT) over it. cp /usr/share/zoneinfo/MST7MDT /etc/localtime [You could make /etc/localtime a link or a symlink to the appropriate file under /usr/share/zoneinfo, but only if /etc and /usr/share/zoneinfo happen to be on the same filesystem (ie. on the root filesystem), which is not the case in the default install of FreeBSD] There is yet another copy of localtime in /var/named/etc/localtime which you should also update in the came way if you're running named at all. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Daylight savings time / 6.1 and 4.11
On Jan 18, 2007, at Thursday, Jan18, 2007 5:36 PM, Murray Taylor wrote: This is an issue here at work. We have very many FreeBSD 4.x machines and a growing number of FreeBSD 6.x. The change when daylight saving time starts and ends is an issue for machines in the United States and, we think, those in Canada. The way to check if your zone file is correct is to do zdump -v /etc/localtime | more Look for the following /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 If you see this, your zone file will handle the change correctly. The 6.x series has the corrected zone files. 4.x does not have this. The best way to handle this is to copy the zone file from /usr/share/zoneinfo on a 6.x machine to your 4.x. Josef Interesting: Just did an upgrade to 6.2-STABLE from 6.1-RELEASE-p10 and here is what I see. uname -r 6.2-STABLE zdump -v -c 2008 MST7MDT MST7MDT Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST isdst=0 gmtoff=-25200 MST7MDT Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 07:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 08:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the new MST -> MDT and MDT -> MST dates zdump -v -c 2008 /etc/localtime /etc/localtime Sun Apr 1 08:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 MST isdst=0 gmtoff=-25200 /etc/localtime Sun Apr 1 09:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the old MST -> MDT and MDT -> MST dates What did I miss? What do I do next? hal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Daylight savings time / 6.1 and 4.11
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Josef Grosch > Sent: Friday, 19 January 2007 10:59 AM > To: hal > Cc: freebsd-questions@freebsd.org > Subject: Re: Daylight savings time / 6.1 and 4.11 > > On Tue, Jan 16, 2007 at 01:31:22PM -0700, hal wrote: > > This came down from above?! > > > > Beginning in 2007, Daylight Savings Time will be lengthened > one month > > by starting three weeks earlier (2AM on the second Sunday > in March) > > and ending one week later (2AM on the first Sunday in November). > > > > > > What patch levels do I need to be at for my 4.7 and 6.1 > systems to be > > daylight savings 2007 ready? > > > > Currently: 4.11-RELEASE-p25 > > > > Currently: 6.1-RELEASE-p10 > > > > hal > > > This is an issue here at work. We have very many FreeBSD 4.x > machines and a > growing number of FreeBSD 6.x. The change when daylight > saving time starts > and ends is an issue for machines in the United States and, we think, > those in Canada. The way to check if your zone file is > correct is to do > > zdump -v /etc/localtime | more > > Look for the following > > > /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 > > If you see this, your zone file will handle the change > correctly. The 6.x > series has the corrected zone files. 4.x does not have this. > The best way > to handle this is to copy the zone file from > /usr/share/zoneinfo on a 6.x > machine to your 4.x. > > > Josef > port misc/zoneinfo runs on all os versions, fixes all zone files caveat: current ports tree caveat: only works if the DST change has been added to the NIST master files mjt --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
On Tue, Jan 16, 2007 at 01:31:22PM -0700, hal wrote: > This came down from above?! > > Beginning in 2007, Daylight Savings Time will be lengthened one month > by starting three weeks earlier (2AM on the second Sunday in March) > and ending one week later (2AM on the first Sunday in November). > > > What patch levels do I need to be at for my 4.7 and 6.1 systems to be > daylight savings 2007 ready? > > Currently: 4.11-RELEASE-p25 > > Currently: 6.1-RELEASE-p10 > > hal This is an issue here at work. We have very many FreeBSD 4.x machines and a growing number of FreeBSD 6.x. The change when daylight saving time starts and ends is an issue for machines in the United States and, we think, those in Canada. The way to check if your zone file is correct is to do zdump -v /etc/localtime | more Look for the following /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 If you see this, your zone file will handle the change correctly. The 6.x series has the corrected zone files. 4.x does not have this. The best way to handle this is to copy the zone file from /usr/share/zoneinfo on a 6.x machine to your 4.x. Josef -- FreeBSD 6.2 | Supreme executive power derives from a mandate Josef Grosch| from the masses, not from some farcical aquatic [EMAIL PROTECTED] | ceremony. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
> On Jan 16, 2007, at Tuesday, Jan16, 2007 1:59 PM, Dan Nelson wrote: > > > Since it's not a security issue, I doubt the new zone files will go > > into any -p# branch. If you were tracking the main branches (RELENG_4 > > or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1), > > you would have them, though. Quickest fix would be to install the > > misc/zoneinfo port, which doesn't care what release you're running. > > Whoa there?! Are you telling me that when I use cvsup with > the following supfile I am only getting security fixes? > > *default tag=RELENG_6_1 > *default host=cvsup14.FreeBSD.org > *default prefix=/usr > *default base=/usr/local/etc/cvsup > *default release=cvs delete use-rel-suffix From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html: RELENG_6_1 The release branch for FreeBSD-6.1, used only for security advisories and other critical fixes I'm sure a case could be made with regard to updated timezone information being "critical" -- but since a port exists for timezone information, there is less of a need to push this into the release branch. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
On Jan 16, 2007, at Tuesday, Jan16, 2007 1:59 PM, Dan Nelson wrote: Since it's not a security issue, I doubt the new zone files will go into any -p# branch. If you were tracking the main branches (RELENG_4 or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1), you would have them, though. Quickest fix would be to install the misc/zoneinfo port, which doesn't care what release you're running. Whoa there?! Are you telling me that when I use cvsup with the following supfile I am only getting security fixes? *default tag=RELENG_6_1 *default host=cvsup14.FreeBSD.org *default prefix=/usr *default base=/usr/local/etc/cvsup *default release=cvs delete use-rel-suffix hal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Daylight savings time / 6.1 and 4.11
In the last episode (Jan 16), hal said: > Beginning in 2007, Daylight Savings Time will be lengthened one month > by starting three weeks earlier (2AM on the second Sunday in March) > and ending one week later (2AM on the first Sunday in November). > > What patch levels do I need to be at for my 4.7 and 6.1 systems to be > daylight savings 2007 ready? > > Currently: 4.11-RELEASE-p25 > > Currently: 6.1-RELEASE-p10 Since it's not a security issue, I doubt the new zone files will go into any -p# branch. If you were tracking the main branches (RELENG_4 or RELENG_6) instead of a -RELEASE branch (RELENG_4_11 or RELENG_6_1), you would have them, though. Quickest fix would be to install the misc/zoneinfo port, which doesn't care what release you're running. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"