[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: files in /etc/xinetd.d become 0 byte size
On Tue, 2002-03-26 at 13:32, Juri Haberland wrote:
> Florin Andrei wrote:
>
> > It's been a long time since i started to always do "sync; reboot"
> > instead of just "reboot". I've always felt this is safer.
> > But you're right, the OS should do that for me, at the right time.
> > Therefore, i've submitted a bug report to bugzilla.redhat.com:
> >
> > http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62025
>
> Ahm, Florin, I think that the conclusion of this thread was that even
> multiple syncs don't help - instead you could just use 'sleep 30'.
Yes, that's true for this particular bug.
But the patch that i included in the bug report does sync AND sleep.
That should cover this bug, and also some other unforeseen bugs.
Since "sync is cheap" when in runlevel 6, i guess it's a good idea to do
it anyway. There are so many things that could go wrong during shutdown.
> 'sleep 30'...
This should be tunable in /etc/sysconfig/whatever. One is not supposed
to edit the init scripts to do parameter tuning.
--
Florin Andrei
"Sorry judge, we would like to publish the file formats, but the data is
not stored in files. It is stored in a database that is an indivisible
part of the operating system." - a potential future Microsoft excuse