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

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



Eric Sandeen wrote:
> 
> On Mon, 2002-03-18 at 10:30, Simon Matter wrote:
> 
> > I reproduced it now:
> > Using ntsysv to manage services -> reboot: Files in /etc/xinetd.d have
> > normal size but filled with zero.
> 
> Trying it now...  no problems.  I tested it with the
> 2.4.9-13SGI_XFS_1.0.2 kernel and ntsysv-1.2.24-1.  (this test box is
> mostly ext3, but I mounted an xfs filesystem on /etc/xinetd.d for this
> test).
> 
> > Using ntsysv again truncates them to
> > zero size.
> 
> That part's not too surprising, if it encountered config files with bad
> data.
> 

A fix is to remount the xfs partition read-only before really unmounting and
then shutting down completely so the kernel buffers will get written out to
disk. RedHat already does this for ext2, so You should find the appropriate
spot in Your scripts.

Regards,
	Harald

-- 
Harald Wagener * An der Alster 42 * 20099 Hamburg * http://www.fcb-wilkens.com
"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini