Re: raid1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sam Varshavchik wrote:
tony.chamberlain@xxxxxxxxx writes:

This is of course a more recent installation.

I just found that in /etc/cron.daily there is a file with a script
(directory name changed for confidentiality)

   cd /a/b/c/d
   find . -name '*log*' -exec rm -f {} \;

So if there is no /a/b/c/d it will stay in whatever directory it is in
(probably root).  That is why like initlog, login_pam,so etc.
have been removed.

You're boned. Reinstall. And fire the wiseguy who wrote that script.

Unless it was written 20+ years ago when /bin/sh used to exit on failed cd's unless in interactive mode. Now you need to
cd somewhere || exit
to avoid breakage.

--
  Les Mikesell
    lesmikesell@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux