Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
I don't recall putting these files there, but I have been using astlinux for quite a while, since 0.4 days. I have never knowingly installed anything other than the official astlinux distributions on this box. Anyhow Thanks for the help Matt On Thu, Jan 21, 2010 at 2:33 PM, Lonnie Abelbeck wrote: > > On Jan 21, 2010, at 4:01 PM, Matthew Nichols wrote: > >> Hi Lonnie, >> >> that has fixed the issue: >> >> pbx ~ # date >> Thu Jan 21 13:59:53 PST 2010 >> pbx ~ # cat /etc/TZ >> PST8PDT,M3.2.0,M11.1.0 >> pbx ~ # >> >> Thanks for that. Is there any way to clean up this leftover unionfs stuff? >> >> Thanks >> >> Matt > > Well Matt, I suspect you put those files there. :-) It may be long enough > ago you forgot about them. > > To look for stale 'cruft', try... > > $ find /oldroot/mnt/asturw/ | grep -v '/oldroot/mnt/asturw/mnt/kd' > > You should not get too much more than the following... > -- > /oldroot/mnt/asturw/ > /oldroot/mnt/asturw/lost+found > /oldroot/mnt/asturw/etc > /oldroot/mnt/asturw/etc/blkid.tab > /oldroot/mnt/asturw/etc/shadow > /oldroot/mnt/asturw/etc/blkid.tab.old > /oldroot/mnt/asturw/etc/udev > /oldroot/mnt/asturw/etc/udev/rules.d > /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules > /oldroot/mnt/asturw/etc/shadow- > /oldroot/mnt/asturw/etc/rc.modules > /oldroot/mnt/asturw/stat > /oldroot/mnt/asturw/stat/var > /oldroot/mnt/asturw/stat/var/www > /oldroot/mnt/asturw/stat/var/www/admin > /oldroot/mnt/asturw/stat/var/www/admin/.htpasswd > --- > > Do some cleanup if necessary. > > Years ago you may of needed to manually update the 'zoneinfo data' before > there was a new version of AstLinux available, and in the past the upgrade > process was somewhat painful. > > But today, Darrick regularly puts out new versions, and the upgrade process > is straightforward via the repository. > > In the future, there should be no reason to manually overlay data over the > shipping filesystem. > > Glad all is good. > > Lonnie > > > > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
On Jan 21, 2010, at 4:01 PM, Matthew Nichols wrote: > Hi Lonnie, > > that has fixed the issue: > > pbx ~ # date > Thu Jan 21 13:59:53 PST 2010 > pbx ~ # cat /etc/TZ > PST8PDT,M3.2.0,M11.1.0 > pbx ~ # > > Thanks for that. Is there any way to clean up this leftover unionfs stuff? > > Thanks > > Matt Well Matt, I suspect you put those files there. :-) It may be long enough ago you forgot about them. To look for stale 'cruft', try... $ find /oldroot/mnt/asturw/ | grep -v '/oldroot/mnt/asturw/mnt/kd' You should not get too much more than the following... -- /oldroot/mnt/asturw/ /oldroot/mnt/asturw/lost+found /oldroot/mnt/asturw/etc /oldroot/mnt/asturw/etc/blkid.tab /oldroot/mnt/asturw/etc/shadow /oldroot/mnt/asturw/etc/blkid.tab.old /oldroot/mnt/asturw/etc/udev /oldroot/mnt/asturw/etc/udev/rules.d /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules /oldroot/mnt/asturw/etc/shadow- /oldroot/mnt/asturw/etc/rc.modules /oldroot/mnt/asturw/stat /oldroot/mnt/asturw/stat/var /oldroot/mnt/asturw/stat/var/www /oldroot/mnt/asturw/stat/var/www/admin /oldroot/mnt/asturw/stat/var/www/admin/.htpasswd --- Do some cleanup if necessary. Years ago you may of needed to manually update the 'zoneinfo data' before there was a new version of AstLinux available, and in the past the upgrade process was somewhat painful. But today, Darrick regularly puts out new versions, and the upgrade process is straightforward via the repository. In the future, there should be no reason to manually overlay data over the shipping filesystem. Glad all is good. Lonnie -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Hi Lonnie, that has fixed the issue: pbx ~ # date Thu Jan 21 13:59:53 PST 2010 pbx ~ # cat /etc/TZ PST8PDT,M3.2.0,M11.1.0 pbx ~ # Thanks for that. Is there any way to clean up this leftover unionfs stuff? Thanks Matt On Thu, Jan 21, 2010 at 1:57 PM, Matthew Nichols wrote: > Lonnie, > > That did find alot of info. I have removed it and will reboot. > > Thanks > > Matt > > On Thu, Jan 21, 2010 at 1:54 PM, Lonnie Abelbeck > wrote: >> Matt, >> >> I have another test for you... >> >> Does... >> $ find /oldroot/mnt/asturw/usr/share/zoneinfo/ >> >> return anything? >> >> If so, remove the stale unionfs overlay for the TZ data, and reboot. >> >> $ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/ >> >> Lonnie >> >> >> On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote: >> >>> Matt, >>> >>> I'll ask again... >>> >>> In the Network tab -> "Network Time Settings:" what Timezone City did you >>> choose? >>> >>> To test I chose "America/Los_Angeles" from the menu, then rebooted, and... >>> >>> pbx ~ # tail -n1 /etc/localtime >>> PST8PDT,M3.2.0,M11.1.0 >>> >>> Is the output of... >>> $ find /oldroot/mnt/asturw/etc/ >>> >>> as expected, from my previous post? >>> >>> Lonnie >>> >>> >>> >>> On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote: >>> I am in California The value of TZ_TIMEZONE after a reboot of the Soekris is the value of 'tail -n1 /etc/localtime' ie ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:?? ;?...@oܠa???bo??cd??d/??EDm?E?? G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z?? [\?? ]??^d? _?y`Mޠa???b-??cgw?d ro?s? tO?t? ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* PDTPSTPWTPPT On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville wrote: > Let's start with something simple. > > What timezone are you in, and what's the value of $TZ_TIMEZONE? > > > On 01/21/2010 12:11 PM, Matthew Nichols wrote: >> OK so I have performed these steps, and I still have problems. >> >> From /etc/rc, >> #uclibc style TZ support >> if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then >> TZ_TIMEZONE=$(tail -n1 /etc/localtime) >> fi >> if [ -n "$TZ_TIMEZONE" ]; then >> echo "$TZ_TIMEZONE" > /tmp/etc/TZ >> elif [ -f /mnt/kd/TZ ]; then >> cp /mnt/kd/TZ /tmp/etc/TZ >> elif [ -f /stat/etc/TZ ]; then >> cp /stat/etc/TZ /tmp/etc/TZ >> fi >> >> /etc/localtime points to a binary file, so i cannot see how it gets the >> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles >> >> I have defaulted everything back and it still does not seem to work >> correctly. >> >> Matt >> > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established > companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org. >>> >>> >>> -- >>> Throughout its 18-year history, RSA Conference consistently attracts the >>> world's best and brightest in the field, creating opportunities for >>> Conference >>> attendees to learn about information security's most important issues >>> through >>> interactions with peers, luminaries and emerging and established companies. >>> http://p.sf.net/sfu/rsaconf-dev2dev >>> ___ >>> Astlinux-users mailing list >>> Astlinux-users@lists.sourceforge.net >>> https://list
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Lonnie, That did find alot of info. I have removed it and will reboot. Thanks Matt On Thu, Jan 21, 2010 at 1:54 PM, Lonnie Abelbeck wrote: > Matt, > > I have another test for you... > > Does... > $ find /oldroot/mnt/asturw/usr/share/zoneinfo/ > > return anything? > > If so, remove the stale unionfs overlay for the TZ data, and reboot. > > $ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/ > > Lonnie > > > On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote: > >> Matt, >> >> I'll ask again... >> >> In the Network tab -> "Network Time Settings:" what Timezone City did you >> choose? >> >> To test I chose "America/Los_Angeles" from the menu, then rebooted, and... >> >> pbx ~ # tail -n1 /etc/localtime >> PST8PDT,M3.2.0,M11.1.0 >> >> Is the output of... >> $ find /oldroot/mnt/asturw/etc/ >> >> as expected, from my previous post? >> >> Lonnie >> >> >> >> On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote: >> >>> I am in California >>> >>> The value of TZ_TIMEZONE after a reboot of the Soekris is the value of >>> 'tail -n1 /etc/localtime' >>> >>> ie >>> >>> ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:?? >>> ;?...@oܠa???bo??cd??d/??EDm?E?? >>> G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z?? >>> [\?? ]??^d? _?y`Mޠa???b-??cgw?d >>> ro?s? >>> tO?t? ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* >>> PDTPSTPWTPPT >>> >>> >>> >>> On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville >>> wrote: Let's start with something simple. What timezone are you in, and what's the value of $TZ_TIMEZONE? On 01/21/2010 12:11 PM, Matthew Nichols wrote: > OK so I have performed these steps, and I still have problems. > > From /etc/rc, > #uclibc style TZ support > if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > TZ_TIMEZONE=$(tail -n1 /etc/localtime) > fi > if [ -n "$TZ_TIMEZONE" ]; then > echo "$TZ_TIMEZONE" > /tmp/etc/TZ > elif [ -f /mnt/kd/TZ ]; then > cp /mnt/kd/TZ /tmp/etc/TZ > elif [ -f /stat/etc/TZ ]; then > cp /stat/etc/TZ /tmp/etc/TZ > fi > > /etc/localtime points to a binary file, so i cannot see how it gets the > value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles > > I have defaulted everything back and it still does not seem to work > correctly. > > Matt > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org. >>> >>> -- >>> Throughout its 18-year history, RSA Conference consistently attracts the >>> world's best and brightest in the field, creating opportunities for >>> Conference >>> attendees to learn about information security's most important issues >>> through >>> interactions with peers, luminaries and emerging and established companies. >>> http://p.sf.net/sfu/rsaconf-dev2dev >>> ___ >>> Astlinux-users mailing list >>> Astlinux-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/astlinux-users >>> >>> Donations to support AstLinux are graciously accepted via PayPal to >>> pay...@krisk.org. >> >> >> -- >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues through >> interactions with peers, luminaries and emerging and established companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> ___ >> Astlinux-users mailing list >> Astlinux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org. > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most impo
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Matt, I have another test for you... Does... $ find /oldroot/mnt/asturw/usr/share/zoneinfo/ return anything? If so, remove the stale unionfs overlay for the TZ data, and reboot. $ rm -r /oldroot/mnt/asturw/usr/share/zoneinfo/ Lonnie On Jan 21, 2010, at 3:43 PM, Lonnie Abelbeck wrote: > Matt, > > I'll ask again... > > In the Network tab -> "Network Time Settings:" what Timezone City did you > choose? > > To test I chose "America/Los_Angeles" from the menu, then rebooted, and... > > pbx ~ # tail -n1 /etc/localtime > PST8PDT,M3.2.0,M11.1.0 > > Is the output of... > $ find /oldroot/mnt/asturw/etc/ > > as expected, from my previous post? > > Lonnie > > > > On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote: > >> I am in California >> >> The value of TZ_TIMEZONE after a reboot of the Soekris is the value of >> 'tail -n1 /etc/localtime' >> >> ie >> >> ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:?? >> ;?...@oܠa???bo??cd??d/??EDm?E?? >> G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z?? >> [\?? ]??^d? _?y`Mޠa???b-??cgw?d >> ro?s? >> tO?t??v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* >> PDTPSTPWTPPT >> >> >> >> On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville >> wrote: >>> Let's start with something simple. >>> >>> What timezone are you in, and what's the value of $TZ_TIMEZONE? >>> >>> >>> On 01/21/2010 12:11 PM, Matthew Nichols wrote: OK so I have performed these steps, and I still have problems. From /etc/rc, #uclibc style TZ support if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then TZ_TIMEZONE=$(tail -n1 /etc/localtime) fi if [ -n "$TZ_TIMEZONE" ]; then echo "$TZ_TIMEZONE" > /tmp/etc/TZ elif [ -f /mnt/kd/TZ ]; then cp /mnt/kd/TZ /tmp/etc/TZ elif [ -f /stat/etc/TZ ]; then cp /stat/etc/TZ /tmp/etc/TZ fi /etc/localtime points to a binary file, so i cannot see how it gets the value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles I have defaulted everything back and it still does not seem to work correctly. Matt >>> >>> >>> -- >>> Throughout its 18-year history, RSA Conference consistently attracts the >>> world's best and brightest in the field, creating opportunities for >>> Conference >>> attendees to learn about information security's most important issues >>> through >>> interactions with peers, luminaries and emerging and established companies. >>> http://p.sf.net/sfu/rsaconf-dev2dev >>> ___ >>> Astlinux-users mailing list >>> Astlinux-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/astlinux-users >>> >>> Donations to support AstLinux are graciously accepted via PayPal to >>> pay...@krisk.org. >>> >> >> -- >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues through >> interactions with peers, luminaries and emerging and established companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> ___ >> Astlinux-users mailing list >> Astlinux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org. > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Matt, I'll ask again... In the Network tab -> "Network Time Settings:" what Timezone City did you choose? To test I chose "America/Los_Angeles" from the menu, then rebooted, and... pbx ~ # tail -n1 /etc/localtime PST8PDT,M3.2.0,M11.1.0 Is the output of... $ find /oldroot/mnt/asturw/etc/ as expected, from my previous post? Lonnie On Jan 21, 2010, at 3:17 PM, Matthew Nichols wrote: > I am in California > > The value of TZ_TIMEZONE after a reboot of the Soekris is the value of > 'tail -n1 /etc/localtime' > > ie > > ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:?? > ;?...@oܠa???bo??cd??d/??EDm?E?? > G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z?? > [\?? ]??^d? _?y`Mޠa???b-??cgw?d > ro?s? > tO?t? ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* >PDTPSTPWTPPT > > > > On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville > wrote: >> Let's start with something simple. >> >> What timezone are you in, and what's the value of $TZ_TIMEZONE? >> >> >> On 01/21/2010 12:11 PM, Matthew Nichols wrote: >>> OK so I have performed these steps, and I still have problems. >>> >>> From /etc/rc, >>> #uclibc style TZ support >>> if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then >>> TZ_TIMEZONE=$(tail -n1 /etc/localtime) >>> fi >>> if [ -n "$TZ_TIMEZONE" ]; then >>> echo "$TZ_TIMEZONE" > /tmp/etc/TZ >>> elif [ -f /mnt/kd/TZ ]; then >>> cp /mnt/kd/TZ /tmp/etc/TZ >>> elif [ -f /stat/etc/TZ ]; then >>> cp /stat/etc/TZ /tmp/etc/TZ >>> fi >>> >>> /etc/localtime points to a binary file, so i cannot see how it gets the >>> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles >>> >>> I have defaulted everything back and it still does not seem to work >>> correctly. >>> >>> Matt >>> >> >> >> -- >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues through >> interactions with peers, luminaries and emerging and established companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> ___ >> Astlinux-users mailing list >> Astlinux-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> pay...@krisk.org. >> > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
I am in California The value of TZ_TIMEZONE after a reboot of the Soekris is the value of 'tail -n1 /etc/localtime' ie ?)?Ϡ*?b+???,?~?-???.?`?/~u?0?B?1g? 2s$?3Gt 4S?5'V 62?78 88? 9??:?? ;?...@oܠa???bo??cd??d/??EDm?E?? G??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z?? [\?? ]??^d? _?y`Mޠa???b-??cgw?d ro?s? tO?t? ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* PDTPSTPWTPPT On Thu, Jan 21, 2010 at 1:03 PM, Philip A. Prindeville wrote: > Let's start with something simple. > > What timezone are you in, and what's the value of $TZ_TIMEZONE? > > > On 01/21/2010 12:11 PM, Matthew Nichols wrote: >> OK so I have performed these steps, and I still have problems. >> >> From /etc/rc, >> #uclibc style TZ support >> if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then >> TZ_TIMEZONE=$(tail -n1 /etc/localtime) >> fi >> if [ -n "$TZ_TIMEZONE" ]; then >> echo "$TZ_TIMEZONE" > /tmp/etc/TZ >> elif [ -f /mnt/kd/TZ ]; then >> cp /mnt/kd/TZ /tmp/etc/TZ >> elif [ -f /stat/etc/TZ ]; then >> cp /stat/etc/TZ /tmp/etc/TZ >> fi >> >> /etc/localtime points to a binary file, so i cannot see how it gets the >> value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles >> >> I have defaulted everything back and it still does not seem to work >> correctly. >> >> Matt >> > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Let's start with something simple. What timezone are you in, and what's the value of $TZ_TIMEZONE? On 01/21/2010 12:11 PM, Matthew Nichols wrote: > OK so I have performed these steps, and I still have problems. > > From /etc/rc, > #uclibc style TZ support > if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > TZ_TIMEZONE=$(tail -n1 /etc/localtime) > fi > if [ -n "$TZ_TIMEZONE" ]; then > echo "$TZ_TIMEZONE" > /tmp/etc/TZ > elif [ -f /mnt/kd/TZ ]; then > cp /mnt/kd/TZ /tmp/etc/TZ > elif [ -f /stat/etc/TZ ]; then > cp /stat/etc/TZ /tmp/etc/TZ > fi > > /etc/localtime points to a binary file, so i cannot see how it gets the value > PST8PDT from /usr/share/zoneinfo/America/Los_Angeles > > I have defaulted everything back and it still does not seem to work correctly. > > Matt > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
OK so I have performed these steps, and I still have problems. >From /etc/rc, #uclibc style TZ support if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then TZ_TIMEZONE=$(tail -n1 /etc/localtime) fi if [ -n "$TZ_TIMEZONE" ]; then echo "$TZ_TIMEZONE" > /tmp/etc/TZ elif [ -f /mnt/kd/TZ ]; then cp /mnt/kd/TZ /tmp/etc/TZ elif [ -f /stat/etc/TZ ]; then cp /stat/etc/TZ /tmp/etc/TZ fi /etc/localtime points to a binary file, so i cannot see how it gets the value PST8PDT from /usr/share/zoneinfo/America/Los_Angeles I have defaulted everything back and it still does not seem to work correctly. Matt On Thu, Jan 21, 2010 at 9:36 AM, Lonnie Abelbeck wrote: > Matt, > > Yes, both /etc/localtime and /etc/TZ are symlinks. > > Try... > -- > $ find /oldroot/mnt/asturw/etc/ > /oldroot/mnt/asturw/etc/ > /oldroot/mnt/asturw/etc/blkid.tab > /oldroot/mnt/asturw/etc/shadow > /oldroot/mnt/asturw/etc/blkid.tab.old > /oldroot/mnt/asturw/etc/udev > /oldroot/mnt/asturw/etc/udev/rules.d > /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules > /oldroot/mnt/asturw/etc/shadow- > /oldroot/mnt/asturw/etc/rc.modules > -- > > If you have any more files than shown above, they probably should be > removed. > > Like what Tom stated: > http://doc.astlinux.org/userdoc:tt_editable_files > > Lonnie > > > > On Jan 21, 2010, at 11:26 AM, Matthew Nichols wrote: > > > Lonnie, > > > > Out of interest, what should /etc/localtime look like, and is it a > symlink? Same for /etc/TZ? > > > > Thanks > > > > Matt > > > > On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck < > li...@lonnie.abelbeck.com> wrote: > > Matt, > > > > I appears you are using the web interface, in the Network tab -> "Network > Time Settings:" what Timezone City did you choose? > > > > To test I chose "America/Los_Angeles" from the menu, then rebooted, > and... > > > > pbx ~ # tail -n1 /etc/localtime > > PST8PDT,M3.2.0,M11.1.0 > > > > which is used as TZ_TIMEZONE. > > > > There are a handful of cities around the world that TZ_TIMEZONE=$(tail > -n1 /etc/localtime) is not a part of the timezone data, for those users > TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface > users, Network tab -> User System Variables: {Edit User Variables}) or > "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist) > > > > Matt, please revert your changes: > > > > $ rm /oldroot/mnt/asturw/etc/rc > > > > and give it another try. > > > > Lonnie > > > > > > On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote: > > > > > Hi, > > > > > > I had an issue with the local time on my astlinux box reporting in UTC > > > after the upgrade. Previously it was in PST/PDT. I read from the > > > release notes that TZ_TIMEZONE is no longer required, but I had > > > problems getting the timezone right. > > > > > > In the end this is what I had to do: > > > > > > 1. edit /etc/rc and comment out the following: > > > > > > #uclibc style TZ support > > > #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > > > # TZ_TIMEZONE=$(tail -n1 /etc/localtime) > > > #fi > > > > > > What was happening here is that the env variable $TZ_TIMEZONE didn't > > > exist after a reboot, and because /etc/localtime points to a valid > > > file, I was getting the following set: > > > pbx ~ # tail -n1 /etc/localtime > > > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[\?? > > > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I > > > ro?s? tO?t? > > > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* > > > > > >PDTPSTPWTPPTpbx ~ # > > > > > > 2. What I did was to write the file /mnt/kd/TZ with the following > content: > > > > > > PST8PDT,M3.2.0/2,M11.1.0/2 > > > > > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per: > > > > > > if [ -n "$TZ_TIMEZONE" ]; then > > >echo "$TZ_TIMEZONE" > /tmp/etc/TZ > > > elif [ -f /mnt/kd/TZ ]; then > > >cp /mnt/kd/TZ /tmp/etc/TZ > > > elif [ -f /stat/etc/TZ ]; then > > >cp /stat/etc/TZ /tmp/etc/TZ > > > fi > > > > > > 3. The last part was to put in symlink for /etc/TZ pointing to > > > /tmp/etc/TZ and I fixed the problem. > > > > > > Am I missing something here or is this problem with /etc/rc incorrect? > > > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is > > > this a bug? > > > > > > Thanks > > > > > > Matt > > > > > > > -- > > > Throughout its 18-year history, RSA Conference consistently attracts > the > > > world's best and brightest in the field, creating opportunities for > Conference > > > attendees to learn about information security's most important issues > through > > > interactions with peers, luminaries and emerging and established > companies. > > > http://p.sf.net/sfu/rsaconf-dev2dev > > > ___ > > > Astlinux-users mailing list > > > Astlinux-users@lists.sour
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
>On Jan 21, 2010, at 11:34 AM, Michael Keuter wrote: > >>> Lonnie, >>> >>> Out of interest, what should /etc/localtime look like, and is it a >>> symlink? Same for /etc/TZ? >>> >>> Thanks >>> >>> Matt >> >> "/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a >> symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case. >> >> "/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be >> left over from an old installation). > >Michael, > >"/etc/TZ" should exist. > >$ ls -l /etc/TZ >lrwxrwxrwx1 root root 11 Jan 21 07:20 /etc/TZ -> /tmp/etc/TZ > >You probably don't want "/mnt/kd/TZ" anymore, it should be >automatic. (though it still works) > >Lonnie Yes, I did not look correctly (capital letters :-)). It indeed does exist as say. Michael http://www.mksolutions.info -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
On Jan 21, 2010, at 11:34 AM, Michael Keuter wrote: >> Lonnie, >> >> Out of interest, what should /etc/localtime look like, and is it a >> symlink? Same for /etc/TZ? >> >> Thanks >> >> Matt > > "/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a > symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case. > > "/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be > left over from an old installation). Michael, "/etc/TZ" should exist. $ ls -l /etc/TZ lrwxrwxrwx1 root root 11 Jan 21 07:20 /etc/TZ -> /tmp/etc/TZ You probably don't want "/mnt/kd/TZ" anymore, it should be automatic. (though it still works) Lonnie > > Michael > > http://www.mksolutions.info -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Matt, Yes, both /etc/localtime and /etc/TZ are symlinks. Try... -- $ find /oldroot/mnt/asturw/etc/ /oldroot/mnt/asturw/etc/ /oldroot/mnt/asturw/etc/blkid.tab /oldroot/mnt/asturw/etc/shadow /oldroot/mnt/asturw/etc/blkid.tab.old /oldroot/mnt/asturw/etc/udev /oldroot/mnt/asturw/etc/udev/rules.d /oldroot/mnt/asturw/etc/udev/rules.d/70-persistent-net.rules /oldroot/mnt/asturw/etc/shadow- /oldroot/mnt/asturw/etc/rc.modules -- If you have any more files than shown above, they probably should be removed. Like what Tom stated: http://doc.astlinux.org/userdoc:tt_editable_files Lonnie On Jan 21, 2010, at 11:26 AM, Matthew Nichols wrote: > Lonnie, > > Out of interest, what should /etc/localtime look like, and is it a symlink? > Same for /etc/TZ? > > Thanks > > Matt > > On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck > wrote: > Matt, > > I appears you are using the web interface, in the Network tab -> "Network > Time Settings:" what Timezone City did you choose? > > To test I chose "America/Los_Angeles" from the menu, then rebooted, and... > > pbx ~ # tail -n1 /etc/localtime > PST8PDT,M3.2.0,M11.1.0 > > which is used as TZ_TIMEZONE. > > There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1 > /etc/localtime) is not a part of the timezone data, for those users > TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface > users, Network tab -> User System Variables: {Edit User Variables}) or > "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist) > > Matt, please revert your changes: > > $ rm /oldroot/mnt/asturw/etc/rc > > and give it another try. > > Lonnie > > > On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote: > > > Hi, > > > > I had an issue with the local time on my astlinux box reporting in UTC > > after the upgrade. Previously it was in PST/PDT. I read from the > > release notes that TZ_TIMEZONE is no longer required, but I had > > problems getting the timezone right. > > > > In the end this is what I had to do: > > > > 1. edit /etc/rc and comment out the following: > > > > #uclibc style TZ support > > #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > > # TZ_TIMEZONE=$(tail -n1 /etc/localtime) > > #fi > > > > What was happening here is that the env variable $TZ_TIMEZONE didn't > > exist after a reboot, and because /etc/localtime points to a valid > > file, I was getting the following set: > > pbx ~ # tail -n1 /etc/localtime > > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[\?? > > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I > > ro?s? tO?t? > > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* > > > >PDTPSTPWTPPTpbx ~ # > > > > 2. What I did was to write the file /mnt/kd/TZ with the following content: > > > > PST8PDT,M3.2.0/2,M11.1.0/2 > > > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per: > > > > if [ -n "$TZ_TIMEZONE" ]; then > >echo "$TZ_TIMEZONE" > /tmp/etc/TZ > > elif [ -f /mnt/kd/TZ ]; then > >cp /mnt/kd/TZ /tmp/etc/TZ > > elif [ -f /stat/etc/TZ ]; then > >cp /stat/etc/TZ /tmp/etc/TZ > > fi > > > > 3. The last part was to put in symlink for /etc/TZ pointing to > > /tmp/etc/TZ and I fixed the problem. > > > > Am I missing something here or is this problem with /etc/rc incorrect? > > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is > > this a bug? > > > > Thanks > > > > Matt > > > > -- > > Throughout its 18-year history, RSA Conference consistently attracts the > > world's best and brightest in the field, creating opportunities for > > Conference > > attendees to learn about information security's most important issues > > through > > interactions with peers, luminaries and emerging and established companies. > > http://p.sf.net/sfu/rsaconf-dev2dev > > ___ > > Astlinux-users mailing list > > Astlinux-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > > > Donations to support AstLinux are graciously accepted via PayPal to > > pay...@krisk.org. > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > >
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
>Lonnie, > >Out of interest, what should /etc/localtime look like, and is it a >symlink? Same for /etc/TZ? > >Thanks > >Matt "/etc/localtime" is a symlink to "/tmp/etc/localtime" which is also a symlink to "/usr/share/zoneinfo/Europe/Berlin" in my case. "/etc/TZ" does not exist (but I still have an /mnt/kd/TZ which may be left over from an old installation). Michael http://www.mksolutions.info -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Lonnie, Out of interest, what should /etc/localtime look like, and is it a symlink? Same for /etc/TZ? Thanks Matt On Thu, Jan 21, 2010 at 5:23 AM, Lonnie Abelbeck wrote: > Matt, > > I appears you are using the web interface, in the Network tab -> "Network > Time Settings:" what Timezone City did you choose? > > To test I chose "America/Los_Angeles" from the menu, then rebooted, and... > > pbx ~ # tail -n1 /etc/localtime > PST8PDT,M3.2.0,M11.1.0 > > which is used as TZ_TIMEZONE. > > There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1 > /etc/localtime) is not a part of the timezone data, for those users > TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface > users, Network tab -> User System Variables: {Edit User Variables}) or > "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist) > > Matt, please revert your changes: > > $ rm /oldroot/mnt/asturw/etc/rc > > and give it another try. > > Lonnie > > > On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote: > > > Hi, > > > > I had an issue with the local time on my astlinux box reporting in UTC > > after the upgrade. Previously it was in PST/PDT. I read from the > > release notes that TZ_TIMEZONE is no longer required, but I had > > problems getting the timezone right. > > > > In the end this is what I had to do: > > > > 1. edit /etc/rc and comment out the following: > > > > #uclibc style TZ support > > #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > > # TZ_TIMEZONE=$(tail -n1 /etc/localtime) > > #fi > > > > What was happening here is that the env variable $TZ_TIMEZONE didn't > > exist after a reboot, and because /etc/localtime points to a valid > > file, I was getting the following set: > > pbx ~ # tail -n1 /etc/localtime > > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[\?? > > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I > > ro?s? tO?t? > > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* > > > >PDTPSTPWTPPTpbx ~ # > > > > 2. What I did was to write the file /mnt/kd/TZ with the following > content: > > > > PST8PDT,M3.2.0/2,M11.1.0/2 > > > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per: > > > > if [ -n "$TZ_TIMEZONE" ]; then > >echo "$TZ_TIMEZONE" > /tmp/etc/TZ > > elif [ -f /mnt/kd/TZ ]; then > >cp /mnt/kd/TZ /tmp/etc/TZ > > elif [ -f /stat/etc/TZ ]; then > >cp /stat/etc/TZ /tmp/etc/TZ > > fi > > > > 3. The last part was to put in symlink for /etc/TZ pointing to > > /tmp/etc/TZ and I fixed the problem. > > > > Am I missing something here or is this problem with /etc/rc incorrect? > > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is > > this a bug? > > > > Thanks > > > > Matt > > > > > -- > > Throughout its 18-year history, RSA Conference consistently attracts the > > world's best and brightest in the field, creating opportunities for > Conference > > attendees to learn about information security's most important issues > through > > interactions with peers, luminaries and emerging and established > companies. > > http://p.sf.net/sfu/rsaconf-dev2dev > > ___ > > Astlinux-users mailing list > > Astlinux-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > > > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Matt, I appears you are using the web interface, in the Network tab -> "Network Time Settings:" what Timezone City did you choose? To test I chose "America/Los_Angeles" from the menu, then rebooted, and... pbx ~ # tail -n1 /etc/localtime PST8PDT,M3.2.0,M11.1.0 which is used as TZ_TIMEZONE. There are a handful of cities around the world that TZ_TIMEZONE=$(tail -n1 /etc/localtime) is not a part of the timezone data, for those users TZ_TIMEZONE must be set in "/mnt/kd/rc.conf.d/user.conf" (for web interface users, Network tab -> User System Variables: {Edit User Variables}) or "/mnt/kd/rc.conf" (if "/mnt/kd/rc.conf.d" does not exist) Matt, please revert your changes: $ rm /oldroot/mnt/asturw/etc/rc and give it another try. Lonnie On Jan 21, 2010, at 3:11 AM, Matthew Nichols wrote: > Hi, > > I had an issue with the local time on my astlinux box reporting in UTC > after the upgrade. Previously it was in PST/PDT. I read from the > release notes that TZ_TIMEZONE is no longer required, but I had > problems getting the timezone right. > > In the end this is what I had to do: > > 1. edit /etc/rc and comment out the following: > > #uclibc style TZ support > #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > # TZ_TIMEZONE=$(tail -n1 /etc/localtime) > #fi > > What was happening here is that the env variable $TZ_TIMEZONE didn't > exist after a reboot, and because /etc/localtime points to a valid > file, I was getting the following set: > pbx ~ # tail -n1 /etc/localtime > ??eGY?e턠g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65ԐV?: X?X? Y??Z??[\?? > ]??^d? _?y`Mޠa???b-??cgw?d/??EDm?E?? G-?Gӵ I > ro?s? tO?t? > ?v8??v??x??x?͠y???z???{?f?|~??}?H?~^s??* > >PDTPSTPWTPPTpbx ~ # > > 2. What I did was to write the file /mnt/kd/TZ with the following content: > > PST8PDT,M3.2.0/2,M11.1.0/2 > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per: > > if [ -n "$TZ_TIMEZONE" ]; then >echo "$TZ_TIMEZONE" > /tmp/etc/TZ > elif [ -f /mnt/kd/TZ ]; then >cp /mnt/kd/TZ /tmp/etc/TZ > elif [ -f /stat/etc/TZ ]; then >cp /stat/etc/TZ /tmp/etc/TZ > fi > > 3. The last part was to put in symlink for /etc/TZ pointing to > /tmp/etc/TZ and I fixed the problem. > > Am I missing something here or is this problem with /etc/rc incorrect? > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any difference. Is > this a bug? > > Thanks > > Matt > > -- > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
Re: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0
Hi Matthew Without wanting to confuse matters too much in my ignorance, here are a couple of points: 1. Never edit any non /mnt/kd files (there are two exceptions: see http://doc.astlinux.org/userdoc:tt_editable_files). The majority of the Astlinux file system is rebuilt via script on reboot, and many system and Asterisk files are in fact symlinks. 2. When you use the GUI to change timezone settings, this writes to /mnt/kd/rc.conf.d/gui.network.conf - did you check what was present in this location, if anything? It can be confusing to work out exactly where the .conf files which are used actually are. See the note highlighted in yellow on the DAHDI page: http://doc.astlinux.org/userdoc:dahdi I've certainly managed to get correct timezone settings entirely via the GUI, never touching enything via CLI. Hope this helps Tom PS An outside chance - is your problem definitely with the system time, and not just with the timestamping of CDR entries? See http://doc.astlinux.org/userdoc:faq#the_cdr_tab_gives_time_in_the_wrong_time zone > -Original Message- > From: Matthew Nichols [mailto:mgnich...@gmail.com] > Sent: 21 January 2010 09:12 > To: astlinux-users@lists.sourceforge.net > Subject: [Astlinux-users] Timezone issues upgrading to astlinux 0.7.0 > > Hi, > > I had an issue with the local time on my astlinux box > reporting in UTC after the upgrade. Previously it was in > PST/PDT. I read from the release notes that TZ_TIMEZONE is no > longer required, but I had problems getting the timezone right. > > In the end this is what I had to do: > > 1. edit /etc/rc and comment out the following: > > #uclibc style TZ support > #if [ -z "$TZ_TIMEZONE" -a -f /etc/localtime ]; then > # TZ_TIMEZONE=$(tail -n1 /etc/localtime) > #fi > > What was happening here is that the env variable $TZ_TIMEZONE > didn't exist after a reboot, and because /etc/localtime > points to a valid file, I was getting the following set: > pbx ~ # tail -n1 /etc/localtime > ??eGY?e?g';?g?f?i?i?H?j???k?e l?mvG n??oV) p??q65?V?: X?X? Y??Z??[?\?? > ]??^d? _?y`M?a???b-??cgw?d/??EDm?E?? G-?G? I > ro?s? tO?t? > ?v8??v??x??x??y???z???{?f?|~??}?H?~^s??* > > PDTPSTPWTPPTpbx ~ # > > 2. What I did was to write the file /mnt/kd/TZ with the > following content: > > PST8PDT,M3.2.0/2,M11.1.0/2 > > and then /etc/rc will copy /mnt/kd/TZ to /tmp/etc/TZ as per: > > if [ -n "$TZ_TIMEZONE" ]; then > echo "$TZ_TIMEZONE" > /tmp/etc/TZ > elif [ -f /mnt/kd/TZ ]; then > cp /mnt/kd/TZ /tmp/etc/TZ > elif [ -f /stat/etc/TZ ]; then > cp /stat/etc/TZ /tmp/etc/TZ > fi > > 3. The last part was to put in symlink for /etc/TZ pointing > to /tmp/etc/TZ and I fixed the problem. > > Am I missing something here or is this problem with /etc/rc incorrect? > Having TZ_TIMEZONE in /mnt/kd/rc.local doesn't make any > difference. Is this a bug? > > Thanks > > Matt > > -- > > Throughout its 18-year history, RSA Conference consistently > attracts the world's best and brightest in the field, > creating opportunities for Conference attendees to learn > about information security's most important issues through > interactions with peers, luminaries and emerging and > established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ___ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via > PayPal to pay...@krisk.org. > -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.