If ppp(8) is instructed to use /dev/modem (with "set device /dev/modem" in /etc/ppp/ppp.conf) and /dev/modem is a symbolic link to the real device, the lock file should reference the real device. So a /var/lock/LCK..cuad0 (as in my system) should exist instead of /var/lock/LCK..modem). Many other programs in the base and ports tree (i.e., comms/minicom that use uu_lock() (implemented in /usr/src/lib/libutil/uucplock.c) could be auto-magically patched if this function is patched instead). A (trivial) patch to minicom similar to this one is available to anyone upon request.
Fix: Attached patch available.
Patch attached with submission follows:
Over to maintainers.
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped