Previous section.

Systems Management: Distributed Software Administration
Copyright © 1997 The Open Group

NAME

swverify - verify software

SYNOPSIS

swverify [-d][-r][-F][-f file][-t targetfile][-x option=value]
[
-X options_file][software_selections][@ targets]

DESCRIPTION

The swverify utility checks the accuracy of software in distributions and installed_software. The utility checks the integrity of directory structures and the files. Discrepancies are reported on stderr along with a detailed explanation of the problem.

OPTIONS

The swverify utility supports the following options. Where there is no description, the description in Common Definition for Utilities .

-d

-f file

-F

Correct problems as well as report them.

If check_permissions=true, correct the corresponding problems reported.

If check_scripts=true, correct the corresponding problems reported.

The -F option only applies to installed software.

-r

-t targetfile

-x option=value

-X options_file

OPERANDS

The swverify utility supports the software_selections and targets operands described in Common Definition for Utilities .

This utility need not support a target distribution in the serial format.

EXTERNAL INFLUENCES

See Common Definition for Utilities . for descriptions of external influences common to all utilities.

Extended Options

The swverify utility supports the following extended options. The description in Common Definition for Utilities applies.

allow_incompatible=false

autoselect_dependencies=true

check_contents=true

check_permissions=true

check_requisites=true

check_scripts=true

check_volatile=false

distribution_target_directory=implementation_defined_value

enforce_dependencies=true

enforce_locatable=true

installed_software_catalog=implementation_defined_value

logfile=implementation_defined_value

loglevel=1

select_local=true

software=

targets=

verbose=1

EXTERNAL EFFECTS

See Common Definition for Utilities .

EXTENDED DESCRIPTION

See Common Definition for Utilities for general information. The key phases in the swverify utility are:

  1. Selection phase

  2. Analysis phase

  3. Execution phase.

Selection Phase

Like swremove, software selections apply to the software installed (or available in the case of a distribution).

Each specified selection is added to the selection list after it passes the following checks:

Add any dependencies to the selection list if autoselect_dependencies=true.

Analysis Phase

This section details the analysis phase for swverify. No aspect of the target host environment is modified unless the -F option is specified. The target role accesses its software_collection catalog to get the information for the selected software.

The target role makes the following checks:

For patches, the verify operation on a patched fileset will check that the patched files are properly installed. When installing a patch, the ancestor fileset will be updated to have the correct attributes of the patched files. Verification of a patch fileset will verify that files in a patch are still properly installed (or in the depot correctly). For installed patches that have the fileset saved_files_directory defined, the saved files in the saved_files_directory will also be verified. This verification ensures that a patch can still be successfully rolled back.

Execution Phase

If the -F option is set, then the execution phase operations are run.

EXIT STATUS

See Common Definition for Utilities .

CONSEQUENCES OF ERRORS

See Common Definition for Utilities .

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index