Menu

#1 Possible PID file problem

open
nobody
None
5
2001-06-08
2001-06-08
Craig Small
No

I don't know if I'm behind times so forgive me if
somebody has already brought this one up. In writing
sys V init scripts for mkiss I discovered that mkiss
didn't write the right PID to it's lock files. I am
using mkiss from ax25-tools-0.0.8. I traced the
trouble down to the the simple fact that mkiss writes
its locks files before it becomes a daemon. I moved
the lock file code just after the daemon code, which
is fairly close, and all is well.
Anyway, just thought I'd mention that. Also,
I noticed that mkiss and kissattach do not clean up
their lock files when they are killed. Changing
things to do this could affect quite a bit of the
code--if you want to keep things efficient.

Discussion

  • Craig Small

    Craig Small - 2001-08-27

    Logged In: YES
    user_id=21630

    Tomi has written a potiential fix.

     
  • Craig Small

    Craig Small - 2001-08-27