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

Re: Log directory disappeared



On Thu, Feb 26, 2004 at 02:49:01PM +0100, Hagg, Wilhelm wrote:
> i had the same problem with /var/log, it disappeared suddenly. I boot SuSE,
> debian and gentoo from my box, however the last time i only used SuSE. My
> first idea was that the problem could have to do with software suspend
> package (i was playing around with) and the fact, that i used a single swap
> partition for all systems. 

read logfile
logfile="/var/log/$logfile"
...
test -e "$logfile" && rm -rf "$logfile"

You should be able to investigate the deletion date by debugfs(8) or a
counterpart.  The tct package should be of some help, too.

> Are you still alive with your system ? Am i hacked or what ?

Sure.

Got backup?

-- 
``You know those mail clients:  MS Outlook, mail(1), or even telnet(1).
  All of them suck.  This one just sucks less.''

Attachment: pgph9QqI8pQf1.pgp
Description: PGP signature


Reply to: