Ticket #981 (closed defect: fixed)
bcfg2 client seems to be ignoring verify and verify_flags for some packages.
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawmQmn0B7szSWU05XNIWqq49So7cIisAOpI | Owned by: | desai |
---|---|---|---|
Priority: | critical | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description (last modified by jjneely) (diff)
Upgraded from 1.0 -> 1.1.1 and now it would seem that some of my verify="false" and verify_flags are being ignored. Example:
Verifying package instances for shadow-utils Verifying: 2:shadow-utils-4.1.4.2-8.el6.x86_64
Verify Problems:
/etc/login.defs
checksum: checksum does not match
<BoundPackage? name="shadow-utils" type="yum" version="auto" verify_flags="nosize,nomd5,nomtime"/>
[[email protected]… tmp]# rpm -qV shadow-utils S.5....T. c /etc/login.defs
Reverifying Failed Package shadow-utils Verifying package instances for shadow-utils Verifying: 2:shadow-utils-4.1.4.2-8.el6.x86_64
Verify Problems:
/etc/login.defs
checksum: checksum does not match
Example 2:
[[email protected]… ~]# rpm -qV pam ....L.... c /etc/pam.d/fingerprint-auth ....L.... c /etc/pam.d/password-auth ....L.... c /etc/pam.d/smartcard-auth ....L.... c /etc/pam.d/system-auth S.5....T. c /etc/security/limits.conf
<BoundPackage? name="pam" type="yum" version="auto" verify='false' />
pkg_verify and pkg_checks are the flags to turn off verification and basic sanity checks from the specification. As stated here:
I didn't reimplement the verify flag in the new yumng as it wasn't in the docs.