xfs
[Top] [All Lists]

Re: files in /etc/xinetd.d become 0 byte size

To: Juri Haberland <juri@xxxxxxxxxxxxxx>
Subject: Re: files in /etc/xinetd.d become 0 byte size
From: Florin Andrei <florin@xxxxxxx>
Date: 26 Mar 2002 13:50:46 -0800
Cc: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>, linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3CA0E904.1080907@koschikode.com>
References: <3C961055.FF5DF9C6@ch.sauter-bc.com> <1017176697.16815.21.camel@stantz.corp.sgi.com> <3CA0E904.1080907@koschikode.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>