SCIENTIFIC-LINUX-USERS Archives

November 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Mon, 10 Nov 2008 09:53:38 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Jon Brinkmann wrote:

> 
> "rm /etc/localtime ; ln -s /usr/share/zoneinfo/UTC /etc/localtime".

That has been the wrong way to do it on RH systems for years, it changed 
on some release of RHL.
/etc/localtime should be a file, not a symlink.
09:46 [summer@numbat ~]$ ls -l /etc/localtime
-rw-r--r-- 1 root 440 Jun 15  2007 /etc/localtime
09:51 [summer@numbat ~]$


The correct manual way is to
mv -fb /usr/share/zoneinfo/UTC /etc/localtime.

That covers the case where localtime is required before /usr is available.

It's nothing to do with crond though.



-- 

Cheers
John

-- spambait
[log in to unmask]  [log in to unmask]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

ATOM RSS1 RSS2