The Problem
Error when trying to install full root zone
ERROR: cannot install zone: cannot access [/usr/bin/cpio] (exec failure)
NOTE: Sparse root install was successful.
The Solution
1. Check the permissions of the cpio executable on the problematic system first.
# ls -al /usr/bin/cpio -rwxrwxrwx 1 root bin 85924 Sept 9 2018 /usr/bin/cpio
Correct permissions should be:
# ls -al /usr/bin/cpio -r-xr-xr-x 1 root bin 85856 Sept 9 2018 /usr/bin/cpio
2. Also many errors during pkgchk -n:
ERROR: /dev/dsk group name expected actual
The permissions and groups are wrong on many files/directories. Incorrect permissions on executable and incorrect group settings can cause this issue and many others.
3. In order to resolve this issue use the “pkgcheck -fv” command
# pkgchk -fv
4. Verify the fix using the “pkgcheck -n” command which checks the integrity of the package.:
# pkgchk -n
This should run without any errors. Also check creating and installing a full root zone.