Conary:conary verify
From rPath Wiki
| conary verify | ||
| conary verify [--all] trovename[=version] | ||
| Example> conary verify --all | ||
Use conary verify to determine whether changes have been made to the files installed on a Conary-based system. Use the --all option to verify every file for every trove installed on the system:
$> conary verify --all Update MAKEDEV:runtime (/conary.rpath.com@rpl:devel//1/3.19-4-0.2 -> /conary.rpath.com@rpl:devel//1//local@local:LOCAL/3.19-4-0.2) Mod lrwxrwxrwx 1 root root 15 Jul 7 2004 /dev/MAKEDEV -> ../sbin/MAKEDEV ---> 13 Aug 31 05:23 /dev/MAKEDEV -> /sbin/MAKEDEV Update acpid:runtime (/conary.rpath.com@rpl:devel//1/1.0.4-6-0.1 -> /conary.rpath.com@rpl:devel//1//local@local:LOCAL/1.0.4-6-0.1) Del -rwxr-x--- 1 root root 15668 Jan 7 2006 /usr/sbin/acpid Del -rw-r----- 1 root root 0 Jul 7 2004 /var/log/acpid ...
For each trove, the output (truncated in the example) includes the name of the trove and includes two version strings:
- The trove's version string as it exists on the system
- The trove's version string as it exists in the original repository
The next output line for each trove starts with a three-letter description of the type of change (such as Mod for a modification or Del for a deletion) with the file's information ls -l (long list) format. An additional warning line (shown in the next example) is also displayed for each deleted file.
For modified files, the next line starts with the string "--->" and ends with those parts of the file that have changed, vertically aligned with the file's ls -l output. Files that have been deleted do not include this line.
The example shows that for the linked filename /dev/MAKEDEV in the MAKEDEV:runtime component was changed to point to a new location. The example also shows that for the acpid:runtime component, the files /usr/sbin/acpid and /var/log/acpid were removed.
As with the conary query and conary repquery commands, a trove may be specified in the conary verify command, which restricts the verification performed to that trove:
$> conary verify sudo:runtime warning: /usr/bin/sudo is missing (use remove if this is intentional) warning: /etc/sudoers is missing (use remove if this is intentional) warning: /usr/bin/sudoedit is missing (use remove if this is intentional) Update sudo:runtime (/conary.rpath.com@rpl:devel//1/1.6.8p9-2-0.1 -> /conary.rpath.com@rpl:devel//1//local@local:LOCAL/1.6.8p9-2-0.1) Del -r-s--x--x 1 root root 86788 Oct 17 2005 /usr/bin/sudo Del -r--r----- 1 root root 608 Aug 1 2005 /etc/sudoers Del -r-s--x--x 1 root root 86788 Oct 17 2005 /usr/bin/sudoedit
In this example, three files were deleted from the sudo:runtime component. A warning line for each selected file precedes the output for the component, which lists the same three deleted files.
