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

Re: problem with debconf and start-stop-daemon



On Sun, Mar 24, 2002 at 12:53:20PM -0600, Steve Greenland wrote:

> On 23-Mar-02, 16:32 (CST), Brian May <bam@debian.org> wrote: 
> > 
> > Maybe I don't know what I am talking about <grin/>, but would it be
> > possible to lookup the inode of the executable when starting it,
> > and then look it up before killing it?
> 
> That's what --exec does, I think. The problem is that when you
> upgrade, the inode for the executable changes, which is what --exec is
> complaining about - that the inode of the executable of the process
> you're trying to kill doesn't match the inode of the executable that you
> claim is running.

One way to do make this work would be to save the inode number when
starting, and then check the running program's inode number against that
saved inode number instead of the inode number corresponding to the path to
the program.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: