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
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list