2003-03-31 01:34:17 +04:00
|
|
|
.\" $NetBSD: compat_ultrix.8,v 1.19 2003/03/30 21:34:51 wiz Exp $
|
1997-06-08 12:12:34 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1997 Jonathan Stone
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Jonathan Stone.
|
|
|
|
.\" 4. Neither the name of the author nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1999-01-16 17:16:41 +03:00
|
|
|
.Dd January 16, 1999
|
1997-06-08 12:12:34 +04:00
|
|
|
.Dt COMPAT_ULTRIX 8
|
1999-03-17 23:31:19 +03:00
|
|
|
.Os
|
1997-06-08 12:12:34 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm compat_ultrix
|
2003-03-31 01:34:17 +04:00
|
|
|
.Nd "setup procedure for ULTRIX compatibility on MIPS and VAX architectures"
|
1997-06-08 12:12:34 +04:00
|
|
|
.Sh DESCRIPTION
|
1998-02-06 08:54:12 +03:00
|
|
|
.Nx Ns Tn /mips
|
|
|
|
and
|
|
|
|
.Nx Ns Tn /vax
|
2003-03-31 01:03:45 +04:00
|
|
|
architectures can run Risc ULTRIX and VAX
|
1997-06-08 12:12:34 +04:00
|
|
|
ULTRIX executables, respectively. However, you have to worry about
|
|
|
|
the legal issues of ensuring that you have a right to use any ULTRIX
|
|
|
|
binaries on your machine.
|
|
|
|
.Pp
|
|
|
|
Most executables will work. The exceptions include programs that use
|
2003-03-31 01:20:17 +04:00
|
|
|
proprietary, ULTRIX-specific features (LAT, CI support, DECnet
|
2001-09-06 03:47:15 +04:00
|
|
|
support) and various system calls,
|
|
|
|
.Fn ioctl Ns 's ,
|
2003-03-31 01:20:17 +04:00
|
|
|
or ULTRIX kernel
|
|
|
|
semantics that are difficult to emulate (e.g. ULTRIX packetfilter) or
|
|
|
|
buggy (e.g. ULTRIX
|
2001-04-04 15:22:05 +04:00
|
|
|
.Tn NIS ) .
|
1997-06-08 12:12:34 +04:00
|
|
|
.Pp
|
2003-03-31 01:20:17 +04:00
|
|
|
All ULTRIX executables are static, so no shared libraries are required
|
|
|
|
for ULTRIX compatibility. However, ULTRIX is based on a
|
1998-02-06 08:54:12 +03:00
|
|
|
.Bx 4.3
|
2003-03-31 01:20:17 +04:00
|
|
|
alpha release. ULTRIX commands and libraries are often much older
|
1998-02-06 08:54:12 +03:00
|
|
|
than their
|
|
|
|
.Nx
|
|
|
|
or even
|
|
|
|
.Tn SunOS 4.x
|
|
|
|
equivalents, and may require
|
|
|
|
incompatible configuration files.
|
1997-06-08 12:12:34 +04:00
|
|
|
.Sh SYSTEM CONFIGURATION FILES
|
2001-09-06 03:47:15 +04:00
|
|
|
Set up
|
|
|
|
.Pa resolv.conf
|
|
|
|
and
|
|
|
|
.Pa svc.conf
|
|
|
|
as below:
|
1997-06-09 03:55:26 +04:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width 123 -compact -offset indent
|
|
|
|
.It # mkdir -p /emul/ultrix/etc
|
|
|
|
.br
|
|
|
|
.It # cd /emul/ultrix/etc
|
|
|
|
.br
|
2002-02-13 11:17:26 +03:00
|
|
|
.It # egrep 'domain|nameserver' /etc/resolv.conf \*[Gt] ./resolv.conf
|
1997-06-09 03:55:26 +04:00
|
|
|
.br
|
1997-11-13 06:35:57 +03:00
|
|
|
.It # cp -p /usr/share/examples/emul/ultrix/etc/* ./
|
1997-06-09 03:55:26 +04:00
|
|
|
.El
|
1997-06-08 12:12:34 +04:00
|
|
|
.Ss /etc/resolv.conf
|
2003-03-31 01:20:17 +04:00
|
|
|
The ULTRIX resolver library only understands
|
1997-06-08 12:12:34 +04:00
|
|
|
.Sy domain
|
|
|
|
and
|
|
|
|
.Sy nameserver
|
|
|
|
lines in
|
2001-04-04 15:22:05 +04:00
|
|
|
.Xr resolv.conf 5 .
|
2001-09-06 03:47:15 +04:00
|
|
|
You should create a copy of
|
|
|
|
.Pa /etc/resolv.conf
|
|
|
|
containing only those commands and put it in
|
|
|
|
.Pa /emul/ultrix/etc/resolv.conf .
|
|
|
|
Note that the
|
2003-03-31 01:20:17 +04:00
|
|
|
domain search order used by ULTRIX executables may not be the same as
|
1997-06-08 12:12:34 +04:00
|
|
|
native binaries; there is no good way around this.
|
|
|
|
.Ss /etc/svc.conf
|
2003-03-31 01:20:17 +04:00
|
|
|
ULTRIX uses
|
2001-09-06 03:47:15 +04:00
|
|
|
.Pa /etc/svc.conf
|
|
|
|
to select an ordered search of
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS ,
|
|
|
|
Hesiod,
|
1997-06-08 12:12:34 +04:00
|
|
|
or local flat-file mappings. You should create an
|
2001-09-06 03:47:15 +04:00
|
|
|
.Pa /emul/ultrix/etc/svc.conf
|
|
|
|
specifying either local files or bind (DNS)
|
2003-03-31 01:20:17 +04:00
|
|
|
lookups for all ULTRIX name services.
|
2001-09-06 03:47:15 +04:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr resolv.conf 5
|
1997-06-08 12:12:34 +04:00
|
|
|
.Sh BUGS
|
2003-03-31 01:20:17 +04:00
|
|
|
RISC ULTRIX
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
2003-03-31 01:20:17 +04:00
|
|
|
(YP) is known to not work. The ULTRIX
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
2003-03-31 01:20:17 +04:00
|
|
|
libraries have a consistent endian-ness bug. ULTRIX
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
|
|
|
client will not inter-operate with the
|
1998-02-06 08:54:12 +03:00
|
|
|
.Nx
|
1997-06-09 03:55:26 +04:00
|
|
|
.Xr ypbind 8
|
|
|
|
process. The only workaround is to use
|
2001-09-06 03:47:15 +04:00
|
|
|
.Pa /etc/svc.conf
|
|
|
|
to disable
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
|
|
|
(YP).
|
1997-06-08 12:12:34 +04:00
|
|
|
.Pp
|
2003-03-31 01:20:17 +04:00
|
|
|
The ndbm hashed-password file used by ULTRIX are incompatible with the
|
2001-04-04 15:22:05 +04:00
|
|
|
db hashed-password file used by
|
1998-02-06 08:54:12 +03:00
|
|
|
.Nx .
|
|
|
|
There is no good solution for
|
1999-01-16 17:16:41 +03:00
|
|
|
this.
|
|
|
|
.Tn NIS
|
2003-03-31 01:20:17 +04:00
|
|
|
would be a good one, if ULTRIX
|
1999-01-16 17:16:41 +03:00
|
|
|
.Tn NIS
|
|
|
|
worked.
|
2001-04-04 15:22:05 +04:00
|
|
|
.Pp
|
1997-06-08 12:12:34 +04:00
|
|
|
The API used by Xservers to talk to the kernel is currently compatible
|
2003-03-31 01:20:17 +04:00
|
|
|
with ULTRIX 4.1. An implementation of the ULTRIX 4.2 Xws interface
|
1997-06-08 12:12:34 +04:00
|
|
|
(used by X11R6) is in progress.
|
|
|
|
.Pp
|
2003-03-31 01:20:17 +04:00
|
|
|
A complete list of things which fail to work in ULTRIX compatibility
|
1997-06-08 12:12:34 +04:00
|
|
|
mode should be added here.
|