On Fri, 2010-07-16 at 18:35 -0700, Alan Coopersmith wrote:
> Hopefully pkglint will help catch these in the future before they make it to
> breaking comay's WOS assembly.
Yes it will - there's lots of debug crap in the output at the moment,
but it does catch the error.
I'd like to improve the error message I'm providing for this particular
check, saying which attributes clash, rather than just listing all
packages that deliver that path.
cheers,
tim
t...@linn[2367] more mf mf1
::::::::::::::
mf
::::::::::::::
set name=pkg.fmri
value=pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z
set name=variant.opensolaris.zone value=global value=nonglobal
set name=pkg.description value="Foo1"
dir group=bin mode=0755 owner=root path=usr/lib
::::::::::::::
mf1
::::::::::::::
set name=pkg.fmri
value=pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z
set name=variant.opensolaris.zone value=global value=nonglobal
set name=pkg.description value="Foo2"
dir group=sys mode=0755 owner=root path=usr/lib
t...@linn[2368]
t...@linn[2368] ./pkglint.py -c /scratch/manifests ./mf ./mf1
2010-07-19 09:59:15,993 - INFO - Image didn't exist
2010-07-19 09:59:15,995 - INFO - Seeding ref repo duplicate dictionaries
DEBUG unknown No api instance - returning
2010-07-19 09:59:15,995 - INFO - Seeding lint repo duplicate dictionaries
DEBUG unknown No api instance - returning
INFO unknown Seeding local manifest dup dictionaries
INFO unknown Merging ref & lint duplicate dictionaries
DEBUG unknown No api instance - returning
DEBUG unknown No api instance - returning
ERROR pkglint.manifest003 variant.arch not declared in
pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z
ERROR pkglint.dupaction008 path usr/lib is ref-counted but has different
attributes across duplicates in [<pkg.fmri.PkgFmri
'pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z' at 0x8734e0c>,
<pkg.fmri.PkgFmri
'pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z' at 0x873498c>]
ERROR pkglint.manifest003 variant.arch not declared in
pkg://opensolaris.org/[email protected],5.11-0.141:20100604T143737Z
DEBUG unknown No api instance - returning
>
> -alan-
>
> -------- Original Message --------
> *Change Request ID*: 6970014
>
> *Synopsis*: system-library-security-crypto-pkcs11_kms.mf missing group=sys on
> usr/share
>
> Product: solaris
> Category: solaris-crypto
> Subcategory: pkcs11
> Type: Defect
> Subtype:
> Status: 1-Dispatched
> Substatus:
> Priority: 2-High
> Introduced In Release:
> Introduced In Build:
> Keywords:
>
> === *Description* ============================================================
> Split out from 6969142, since this error is in one of the ON package
> manifests:
>
> pkg://development/system/library/security/crypto/pkcs11_kms ERROR
> dir: usr/share
> Group: 'sys (3)' should be 'bin (2)'
>
> All the other ON packages delivering usr/share have:
> dir path=usr/share group=sys
>
> but
> /ws/onnv-gate/usr/src/pkg/manifests/system-library-security-crypto-pkcs11_kms.mf
> has only
> dir path=usr/share
>
> leading to it using the default group of bin from pkg/transforms/defaults.
>
> *** (#1 of 1): 2010-07-17 01:28:12 GMT+00:00 [email protected]
>
>
> === *Public Comments* ========================================================
>
> === *Comments* ===============================================================
>
> === *Evaluation* =============================================================
>
> === *Suggested Fix* ==========================================================
> --- a/usr/src/pkg/manifests/system-library-security-crypto-pkcs11_kms.mf
> +++ b/usr/src/pkg/manifests/system-library-security-crypto-pkcs11_kms.mf
> @@ -34,7 +34,7 @@
> dir path=usr/lib/security
> dir path=usr/lib/security/$(ARCH64)
> dir path=usr/bin
> -dir path=usr/share
> +dir path=usr/share group=sys
> file path=usr/lib/$(ARCH64)/libkmsagent.so.1
> file path=usr/lib/security/$(ARCH64)/pkcs11_kms.so.1
> file path=usr/lib/libkmsagent.so.1
>
> *** (#1 of 1): 2010-07-17 01:28:12 GMT+00:00 [email protected]
>
>
> === *Workaround* =============================================================
>
> === *Additional Details* =====================================================
> Targeted Release: solaris_nevada
> Commit To Fix In Build:
> Fixed In Build:
> Integrated In Build:
> Verified In Build:
> See Also: 6944296, 6969142
> Duplicate of:
> Hooks:
> Hook1:
> Hook2:
> Hook3:
> Hook4:
> Hook5:
> Hook6:
> Interest List:
> Program Management:
> Root Cause:
> Is a Security Vulnerability?: No
> Fix Affects Documentation: No
> Fix Affects Localization: No
> Reported by:
>
>
> _______________________________________________
> on-ips-dev mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/on-ips-dev
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev