Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

WWWXXXAPC, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text, WWWXXXAPC., XXXCNZZZ

Links

XODOX
Impressum

#1: the disappearing directory

Posted on 2009-12-27 12:04:27 by xPol

A weird behavior on my laptop: directories /usr/local/var/log
/usr/local/var/logs created by root get deleted a few minutes afterwards.

How can i discover what process is to blame?

thank you
---P

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#2: Re: the disappearing directory

Posted on 2009-12-27 17:09:12 by Glynn Clements

xPol wrote:

> A weird behavior on my laptop: directories /usr/local/var/log
> /usr/local/var/logs created by root get deleted a few minutes afterwards.
>
> How can i discover what process is to blame?

One possibility is to create a file in that directory with the
immutable attribute ("chattr +i ...") and see if anything shows up in
the system log files.

--
Glynn Clements <glynn@gclements.plus.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#3: Re: the disappearing directory

Posted on 2009-12-27 17:19:36 by Tom Corwine

xPol wrote:
> A weird behavior on my laptop: directories /usr/local/var/log
> /usr/local/var/logs created by root get deleted a few minutes afterwards.
>
> How can i discover what process is to blame?

Have you gone through all the cron jobs to see what's scheduled to run?

Tom Corwine
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#4: Re: the disappearing directory

Posted on 2009-12-27 17:33:36 by Herta Van den Eynde

2009/12/27 Glynn Clements <glynn@gclements.plus.com>
>
> xPol wrote:
>
> > A weird behavior on my laptop: =A0directories /usr/local/var/log
> > /usr/local/var/logs created by root get deleted a few minutes after=
wards.
> >
> > How can i discover what process is to blame?
>
> One possibility is to create a file in that directory with the
> immutable attribute ("chattr +i ...") and see if anything shows up in
> the system log files.
>
> --
> Glynn Clements <glynn@gclements.plus.com>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin=
" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at =A0http://vger.kernel.org/majordomo-info.html

Another possibility is to write wrapper scripts round the rm , rmdir,
and unlink commands, which write "who am i" and "pstree $$" output to
a file before executing the actual rm, rmdir or unlink.

Kind regards,

Herta

--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message