monit-dev
[Top][All Lists]
Advanced

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

Re: depend take 2


From: Rory Toma
Subject: Re: depend take 2
Date: 20 Dec 2002 11:40:36 -0800

Ah, here's the problem (I'm not sure how to fix it off the top of my
head)

in do_dependant there is this:

      for(d= parent->dependantlist; d; d= d->next) {
        log("dependant is: %s\n", d->dependant);
        if(is(d->dependant, p->name)) {
             break;
        }
      }

In my case, I stop sshd, so the first dependant is xinetd. xinetd's
dependants are then not examined here, and the next in sshd's list is
sshd, so we never get to gpm. I believe at this point, we need to
recurse to examine each dependant's dependants, although I'm not sure of
the implementation.


-- 
Rory Toma               address@hidden
VP of Run Level 5       http://www.trs80.net
Digeo Digital           http://www.digeo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]