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

Bug#867326: ctermd is not compiled with devpts breaking decnet terminal support



Package: dnet-progs
Version: 2.64

When connecting to a linux box from a VMS box using the cterm protocol
from DECNet, the error message:

No ptys available for connection

is returned.

This comes from a codepath in ctermd.c which shouldnt be taken, which
tries to open traditional pty devices from a static /dev.  If cterm is
compiled with -DDNETUSE_DEVPTS then devpts is used.  Unfortunately the
check for devpts in Makefile.common int he package root is incorrect,
and looks for libutil.so in an incorrect location in modern systems.

Fixing Makefile.common to search for libutil.so in
/usr/lib/x86_64-linux-gnu/libutil.so fixes the check and compiles
ctermd correctly, making it use the devpts codepath and allowing
connection from VMS.


Reply to: