import(1M)
import --
prepare /openserver for use
Syntax
/usr/lib/okp/bin/import [-v]
/usr/lib/okp/bin/unimport
Description
The import command prepares a /openserver directory
that has been populated with an OpenServer system image (see
migrate(1M))
for use on UnixWare 7.
The unimport command reverses changes made by a previous invocation
of import.
You must be root to run these commands.
The import utility performs these actions:
-
Fixes user ID and group ID conflicts between /openserver files
and UnixWare 7 IDs.
Copies the UnixWare /etc/passwd, /etc/group,
and /etc/shadow files to /openserver.
-
Creates shell wrappers for some OpenServer utilities.
-
Overwrites /openserver/usr/lib/libc.so.1 with the UnixWare version,
and provides another version in /openserver/OpenServer/usr/lib
that looks for OpenServer libraries first.
-
Updates the
autopush(1M)
file and
netcfg(1M)
so that pseudo terminals support the OpenServer line discipline.
-
Creates and links mount points appropriately.
/openserver/unixware is linked to the UnixWare root file system, and
/openserver/usr/tmp is linked to /var/tmp under the UnixWare root.
-
Starts the
okpfud(1M)
daemon, to synchronize appropriate files between /openserver
and the UnixWare root file system.
-
Sets up appropriate links for OpenServer shells.
-
Links rc.d files so that OpenServer starts when the system is booted.
-
Links scoterm defaults.
-
Relaxes OpenServer security, and renames the /etc/auth and
/tcb directories.
-
Edits the file /unixware/etc/default/scompat so that the default
value for SCOMPAT matches the release of the OpenServer image that was
migrated onto the system.
Options
-v-
Prints diagnostics to standard error.
Return Codes
On success, import returns 0.
On failure it returns 1 and prints a message indicating the source of
the failure.
Errors
Errors have been observed when an rsh command is used in a pipe,
as is done internally by the
import(1M)
command.
While import does not return an error, executing the
openserver command returns an error after an import that
failed because of rsh-related errors:
UX: openserver: WARNING: unable to change directory into /unixware/
UX: openserver: ERROR: Exec error: Exec format error
To work around this error, run the
import(1M)
command again.
The openserver should then execute successfully.
Repeated failures could indicate a network problem that is preventing
the import command from completing.
See Also
migrate(1M),
osragent(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004