Identifying Unpackaged File System Content
The message in the following example indicates that the file is not delivered by any package:
$ pkg verify -p etc/resolv.conf
PACKAGE STATUS
etc/resolv.conf is not found in the image
The file /etc/resolv.conf
exists on the system but is not packaged. The file contains the following comments, indicating the file is generated from SMF data:
# _AUTOGENERATED_FROM_SMF_V1_ # # WARNING: THIS FILE GENERATED FROM SMF DATA. # DO NOT EDIT THIS FILE. EDITS WILL BE LOST. # See resolv.conf(5) for details.
To include file system content that is not delivered by any package in the report of installed package verification, use the --unpackaged
option:
$ pkg verify -v --unpackaged
To report only file system content that is not delivered by any package, use the --unpackaged-only
option:
$ pkg verify --unpackaged-only