Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2008 05:55:21 -0600
From:      Derek Ragona <derek@computinginnovations.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Tim Judd <tajudd@gmail.com>, Kris Kennaway <kris@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: what script is whacking root's files
Message-ID:  <6.0.0.22.2.20081208055153.02762670@mail.computinginnovations.com>
In-Reply-To: <87tz9jzvy3.fsf@kobe.laptop>
References:  <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <ade45ae90812032311v47e92cf2g30bc3e2915d38276@mail.gmail.com> <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> <87tz9jzvy3.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:33 AM 12/4/2008, Giorgos Keramidas wrote:
>On Thu, 04 Dec 2008 06:30:13 -0600, Derek Ragona 
><derek@computinginnovations.com> wrote:
> > /root is on /dev/da0s1a
> >
> > This particular server is running in a VM on a vmware esx 3.5 server.
> > The server runs fine, but every so often the dot files disappear for
> > root.  I have not found the behavior to follow a reboot, but some period
> > of time.  Hence my suspicions it was a periodic script.
>
>Check your crontab jobs then.
>
>   * Do you have any local changes to the system crontab in
>     `/etc/crontab'?  If yes, what are those changes, and what do the
>     scripts or other commands they run look like?
>
>   * Do you have a user-specific crontab file for `root' in
>     `/var/cron/tabs/root'?  If yes what does it contain?
>
>_______________________________________________

Thank you to everyone who made great suggestions.  I found the errant 
script, and it was running out of a cron entry to clean up old mailscanner 
files.  It seems if the directories in the script didn't all exist, and a 
cd failed, it left the script running in /root.  I have since corrected the 
script to test for the directories existence first.

But this was a case of "can't see the forest for the trees" and I do 
appreciate all the help and suggestions.

         -Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20081208055153.02762670>