dip - no lock files

dip - no lock files

Post by Judith Meeh » Sun, 23 Jan 1994 17:27:25

I have DIP 3.3.4 and mgetty+sendfax.  I have them both set up to use ttyS1 for
communications.  The problem I have is that DIP doesn't create lock files in
/usr/spool/uucp, which is where mgetty looks for them.  It then tries to
initialize/reset the modem in the middle of a SLIP connection, which causes
big problems.  Does DIP create lock files?  If so, where does it put them?  If
not, how can I get around this problem?


* Jim Bob


1. DIP problem: DIP creates bad lock file

It appears DIP 3.3.7 has a bug.  It creates a lock file in
/var/spool/uucp that has the wrong PID.  It should be the
PID of 'dip' but instead it puts a PID usually 1 less
than the dip PID.


dip PID = 7146
LCK..cua0 contains 7145

This will cause uucico to delete the lock file thinking it
is stale.   Then uucico can come in and interfere with the
SLIP connection.
To make things worse, uugetty would then try to reinitialize
the line after uucico finished ;-(

Is this fixed on a newer version of DIP ?

Software: Slackware 1.2, DIP 3.3.7, uugetty


Le Groupe Proteus        Uucp: uunet!proteus!randall
Montreal, Quebec CANADA   Voice: +1 514 630 7103,  FAX: +1 514 331 0053
186,000 miles/second.  Its not just a good idea, its the law!

2. TCP programming connect problem

3. Question about dip and lock files

4. trident.ddx??

5. dip dip dip

6. how to log only successful transactions?

7. More mail file locking questions (lockf, NFS, /var/spool/mail/*.lock)

8. Printing backtrace from core file

9. Locked files - who has it locked?

10. "Can't read lock file /tmp/.X0-lock"

11. modem locked but I can't find the lock file

12. Apache: Cannot open lock file: /usr/logs/httpd.lock.10064

13. how to remove a lock from a locked file?