p Most executables will work. The exceptions include programs that use proprietary, ULTRIX-specific features (LAT, CI support, DECnet support) and various system calls, .Fn ioctl Ns 's , or ULTRIX kernel semantics that are difficult to emulate (e.g. ULTRIX packetfilter) or buggy (e.g. ULTRIX .Tn NIS ) .
p All ULTRIX executables are static, so no shared libraries are required for ULTRIX compatibility. However, ULTRIX is based on a x 4.3 alpha release. ULTRIX commands and libraries are often much older than their .Nx or even .Tn SunOS 4.x equivalents, and may require incompatible configuration files. .Sh SYSTEM CONFIGURATION FILES Set up
a resolv.conf and
a svc.conf as below:
p l -tag -width 123 -compact -offset indent t # mkdir -p /emul/ultrix/etc t # cd /emul/ultrix/etc t # egrep 'domain|nameserver' /etc/resolv.conf > ./resolv.conf t # cp -p /usr/share/examples/emul/ultrix/etc/* ./ .El .Ss /etc/resolv.conf The ULTRIX resolver library only understands .Sy domain and .Sy nameserver lines in .Xr resolv.conf 5 . You should create a copy of
a /etc/resolv.conf containing only those commands and put it in
a /emul/ultrix/etc/resolv.conf . Note that the domain search order used by ULTRIX executables may not be the same as native binaries; there is no good way around this. .Ss /etc/svc.conf ULTRIX uses
a /etc/svc.conf to select an ordered search of .Tn NIS , Hesiod, or local flat-file mappings. You should create an
a /emul/ultrix/etc/svc.conf specifying either local files or bind (DNS) lookups for all ULTRIX name services. .Sh SEE ALSO .Xr resolv.conf 5 .Sh BUGS RISC ULTRIX .Tn NIS (YP) is known to not work. The ULTRIX .Tn NIS libraries have a consistent endian-ness bug. ULTRIX .Tn NIS client will not inter-operate with the .Nx .Xr ypbind 8 process. The only workaround is to use
a /etc/svc.conf to disable .Tn NIS (YP).
p The ndbm hashed-password file used by ULTRIX are incompatible with the db hashed-password file used by .Nx . There is no good solution for this. .Tn NIS would be a good one, if ULTRIX .Tn NIS worked.
p The API used by Xservers to talk to the kernel is currently compatible with ULTRIX 4.1. An implementation of the ULTRIX 4.2 Xws interface (used by X11R6) is in progress.
p A complete list of things which fail to work in ULTRIX compatibility mode should be added here.