compat_ultrix - setup for running Ultrix binaries under emulation
OpenBSD/mips and OpenBSD/vax architectures can run RISC ULTRIX and Vax
ULTRIX executables, respectively. However, the user is responsible for
the legal issues of ensuring that they have a right to use
any ULTRIX binaries
on their machine. Emulation is controlled by the
Most executables will work. The exceptions include programs
proprietary, Ultrix-specific features (LAT, CI support, DECnet support)
and various system calls, ioctl()'s, or Ultrix kernel semantics that are
difficult to emulate (e.g., Ultrix packetfilter) or buggy
All Ultrix executables are static, so no shared libraries
for Ultrix compatibility. However, Ultrix is based on a
4.3BSD alpha release.
Ultrix commands and libraries are often much older
OpenBSD or even SunOS 4.x equivalents, and may require incompatible configuration
SYSTEM CONFIGURATION FILES [Toc] [Back]
Set up resolv.conf and svc.conf as below:
# mkdir -p /emul/ultrix/etc
# cd /emul/ultrix/etc
# egrep 'domain|nameserver' /etc/resolv.conf > ./resolv.conf
# cp -p /usr/share/samples/emul/ultrix/etc/* ./
The Ultrix resolver library only understands domain and
in resolv.conf(5). A copy of /etc/resolv.conf should be
only those commands and put in
that the domain search order used by Ultrix executables may
not be the
same as native binaries; there is no good way around this.
Ultrix uses /etc/svc.conf to select an ordered search of YP,
local flat-file mappings. Create an
/emul/ultrix/etc/svc.conf file specifying
either local files or bind (DNS) lookups for all Ultrix name services.
RISC Ultrix YP(NIS) is known to not work. The Ultrix YP libraries have a
consistent endian-ness bug. Ultrix YP client will not inter-operate with
the OpenBSD ypbind(8) process. The only workaround is to
/etc/svc.conf to disable YP(NIS).
The ndbm hashed-password file used by Ultrix is incompatible
with the db
hashed-password file used by OpenBSD. There is no good solution for this.
(YP would be a good one, if Ultrix YP worked.)
The API used by Xservers to talk to the kernel is currently
with Ultrix 4.1. An implementation of the Ultrix 4.2 Xws
by X11R6) is in progress.
A complete list of things which fail to work in Ultrix compatibility mode
should be added here.
OpenBSD 3.6 June 7, 1997
[ Back ]