Technical article 125987

UX:unixware: ERROR: Unable to change root to /unixware: Invalid argument

UnixWare 7.1.4

Written · Last revised

Problem

Having applied MP2 to my system, I now get the error:

UX:unixware: ERROR: Unable to change root to /unixware: Invalid argument

when I try to run commands in the OKP environment.

Cause

Maintenance Pack 2 provides the following fix:

SECURITY: A new file system tunable, CHROOT_SECURITY is
provided
to protect against a known exploit for escaping from a
chroot
prison.  The new tunable is described in
/etc/conf/dtune.d/fs and
defined in /etc/conf/mtune.d/fs.  Protection is provided
by the
default value of 1 but traditional behavior may be
obtained by
resetting CHROOT_SECURITY to 0.
erg712509/fz528555 SCOSA-2005.2

Solution

This problem has been reported to SCO Engineering.

If you do not provide root privilege to chroot users then you can workarounbd this problem by setting the tunable CHROOT_SECURITY to 0 in /etc/conf/mtune.d/fs, relink your kernel and reboot your system.

From the Xinuos technical article database, record 125987. Reproduced with permission. The original is at www.sco.com/ta/125987, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.