Technical article 120106

How do I fix "initprivs" system boot or system shut down warning messages on UnixWare 7 and OpenServer 6 Releases?

OpenServer 6.0.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3UnixWare 7.1.4Open UNIX 8

Written · Last revised

Problem

When I boot or shut down my UnixWare 7 or OpenServer 6 system, I see

errors that look like:
initprivs: WARNING: File ''xxxx'' fails validation, entry ignored
How can these warnings be fixed?

Cause

There are several possible causes for the "initprivs" command to issue these warnings. When files are restored from backup media the /etc/security/tcb/privs data base is typically not adjusted to reflect the files restored, so problems are detected by the initprivs utility.

This has also been seen when applying a Maintenance Pack to a Unixware 7 or OpenServer6 release.

Solution

Running the command:
/etc/security/tools/setpriv -x

as root user will normally fix the /etc/security/tcb/privs data base

          problems, and the "initprivs" warning messages should not be seen
	  any  more.
TROUBLESHOOTING:

In addition, /var/sadm/install/contents contain the file content sizes and attributes of all files on the system based on the packages installed by pkgadd.

You can use "pkgchk" on it's own to check all the file contents and attributes of all the packages installed or "pkgchk -n" is the same.

# pkgchk -a         Will check just the attributes (file permissions)
# pkgchk -a -f      Will fix these attributes (-v for verbose)

It is recommended to only run this command if the file permissions of the server are compromised and should not be run as regular server maintenance.

It is recommended to run after:
/etc/security/tools/setpriv -x

Check /var/sadm/install/logs for logging information on packages.

See also

Man pages: setpriv(1M), pkgchk(1M)

From the Xinuos technical article database, record 120106. Reproduced with permission. The original is at www.sco.com/ta/120106, 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.