Re: Init scritps timeout

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

 



On Sat, Apr 15, 2006 at 02:14:36AM -0700, Federico wrote:
> Yesterday my server had a power failure and the ldap database got corrupted.
> The weird thing is that the corruption caused the ldap init script to hang and
> it stopped the server boot. Today I corrupted the database on purpose to
> reproduce the problem but it's not happening anymore.
> Beside all the precautions (ups, raid, journaled filesystems, etc...) and
> beside the fact it probably was a really particoular database corruption,
> shouldn't the init scripts have a timeout? If any of the scripts hangs the
> whole boot process stops. Isn't this a really dangerous behaviour?

I personally think using Berkeley DB is dangerous behavior, but what
can you do?

Fortunately db_recover seems to be taking care of these issues pretty
reliably.  I wonder if a quick call to it at the beginning of the ldap
init script might be a good idea...

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve@xxxxxxxxx             http://www.kspei.com/
Phone: (618)398-3000               Mobile: (618)567-7320

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux