Bastian Blank <[EMAIL PROTECTED]> writes:
> On Sun, May 04, 2008 at 11:08:13PM -0700, Russ Allbery wrote:

>> Good point, and I even know people who run KDCs without a stash file.
>> I suppose I could switch to checking whether the database exists
>> instead to try to not start the KDC if nothing has been set up yet.

> You can't check if the database exist at least not without reading the
> complete config. You need to trust the admin to set it up correctly.

Yeah, I realized that yesterday, and also that the init scripts don't exit
with a non-zero exit status when the server fails to start.  Which is...
interesting.  We really don't have a coherent set of exit statuses right
now for init scripts.  But as is, I can just remove the check.  If the
init script needs to fail, then I need to add an error handler to
dh_installinit, since otherwise new package installation will always fail.

In the next upload, I'm going to just remove the check so that I can get
fixes for the RC bugs out.  In the longer term, I need to figure out what
the right thing for the init script to do in terms of exit status is and
how to adjust the postinst scripts to cope.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to