[mdlug] Running 'date' in an init script- weirdness

Robert Meier eaglecoach at wwnet.com
Wed Jan 9 00:38:56 EST 2008


Ray,

> ... but on startup it produces entries like this:

I realize this is a long shot,
but it is the only way I can so far explain the symptoms.

By any chance do you have a backup copy of the script in the directory?
e.g. /etc/init.d/rc3.d/S22getmyip~

Such a backup, as may be produced by vi, or emacs (without a .deleted
directory) might not include the most recently added '..' and would
be started immediately after the intended script, but fail due to
resource contention, and flush to the log earlier.

Is the game afoot?
-- 
Robert Meier

  "A civilization is a heritage of beliefs, customs,
   and knowledge slowly accumulated in the course of centuries,
   elements difficult at times to justify by logic,
   but justifying themselves as paths when they lead somewhere,
   since they open up for man his inner distance."
     -- Antoine de Saint-Exupery



More information about the mdlug mailing list