Hi Peter,

I don't see that anyone knowledgable has responded, so I'll let fly with
my best guess.  The author of the 'hwclock' man page (on my Debian
distro) has gone to great lengths to explain how time works on a Linux
system.  A portion of the man page reads:

-------------------------------------------------------------------------------
       A Linux kernel maintains a concept of a local timezone for
       the  system.   But  don't be misled -- almost nobody cares
       what timezone the kernel thinks it is in.   Instead,  pro
       grams  that  care about the timezone (perhaps because they
       want to display a local time for you) almost always use  a
       more  traditional method of determining the timezone: They
       use   the   TZ    environment    variable    and/or    the
       /usr/local/timezone  directory,  as  explained  in the man
       page for tzset(3).   However,  some  programs  and  fringe
       parts of the Linux kernel such as filesystems use the ker
       nel timezone value.  An example is  the  vfat  filesystem.
       If the kernel timezone value is wrong, the vfat filesystem
       will report and set the wrong timestamps on files.
-------------------------------------------------------------------------------

So, my initial *guess* would be that your kernel doesn't have a
timezone, and that somehow the kernel time is what is being used by the
'wu-ftpd' daemon logging.

Not sure how to fix the problem though.  On Debian at bootup it looks
to me like /etc/init.d/hwclockfirst.sh and hwclock.sh handle this 
sort of thing, but don't know about Redhat.  Try grepping for 'hwclock'
in /etc/init.d.

--Tom


> After looking in my logfiles, I have noticed that the wu-ftpd daemon 
> seems to log in GMT time
> 
> The system is running with the hwclock set to GMT.
> 
> All other log entries in /var/log/messages are correctly time stamped 
> as local time, including those entries contolled by xinetd.
> 
> Is there a setting I have missed somewhere. System is RH7.2 with wu-
> ftpd 2.6.1-20
> 
> Any ideas ?
> 
> Peter Worboys
> 
> ----------------
> Powered by telstra.com
> 
>  
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to