On Tue, 2010-11-09 at 17:04 -0800, Shawn Walker wrote:
> http://cr.opensolaris.org/~swalker/pkg-tip/

Yep, this looks good.  pkglint does catch the errors, but only when
linting against a reference repository.  I've attached the (rather
verbose) errors when linting package%2Fpkg.mog against ipkg.sfbay.

It'd be nice to get hudson to periodically do a full reference lint of
our packages, rather than just the single-repo pkg5-nightly repo lint
that happens anyway as part of the build.

        cheers,
                        tim

> The resulting manifests for package/pkg have the expected entries:
> 
> $ pkg -R /tmp/image contents -t file,dir -ro action.raw 'package/pkg'| 
> grep lib/svc
> dir group=bin mode=0755 owner=root path=lib/svc
> dir group=sys mode=0755 owner=root path=lib/svc/manifest
> dir group=sys mode=0755 owner=root path=lib/svc/manifest/application
> dir group=bin mode=0755 owner=root path=lib/svc/method
> file ... group=sys mode=0444 owner=root 
> path=lib/svc/manifest/application/pkg-mdns.xml ...
> file ... group=sys mode=0444 owner=root 
> path=lib/svc/manifest/application/pkg-server.xml ...
> file ... group=bin mode=0755 owner=root 
> path=lib/svc/method/svc-pkg-depot ...
> file ... group=bin mode=0755 owner=root path=lib/svc/method/svc-pkg-mdns ...
> 
> 
> ...and for package/pkg/update-manager:
> 
> $ pkg -R /tmp/image contents -t file,dir -ro action.raw 
> 'package/pkg/update-manager'| grep lib/svc
> dir group=bin mode=0755 owner=root path=lib/svc
> dir group=sys mode=0755 owner=root path=lib/svc/manifest
> dir group=sys mode=0755 owner=root path=lib/svc/manifest/application
> dir group=bin mode=0755 owner=root path=lib/svc/method
> file ... group=sys mode=0444 owner=root 
> path=lib/svc/manifest/application/pkg-update.xml ...
> file ... group=bin mode=0755 owner=root path=lib/svc/method/pkg-update ...
> 
> 
> -Shawn
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

ERROR pkglint.dupaction007        path lib/svc is reference-counted but has 
different attributes across 123 duplicates: group: bin -> 
service/network/load-balancer/pen system/kernel/power 
system/display-manager/gdm system/boot/network network/iscsi/initiator 
system/kernel/dynamic-reconfiguration/i86pc 
system/management/visual-panels/panel-apache library/python-2/coherence-26 
system/management/freeipmi system/file-system/nfs 
storage/avs/point-in-time-copy service/network/uucp service/network/ntp 
print/lp x11/server/xserver-common service/security/gss 
system/accounting/legacy service/storage/fibre-channel/fc-fabric 
system/management/intel-amt library/tooltalk system/ipmi/ipmitool 
web/server/ejabberd service/hal service/network/dns/mdns desktop/time-slider 
web/proxy/privoxy service/memcached SUNWcsd system/trusted 
system/management/snmp/net-snmp system/management/snmp/sea/sea-config 
database/mysql-50 system/library/dbus x11/server/xvnc 
service/network/load-balancer/ilb driver/storage/sv network/tor 
library/security/trousers network/iscsi/target storage/svm 
service/network/samba system/xvm/ipagent system/library/fontconfig 
service/storage/ndmp office/openoffice storage/stmf diagnostic/snort 
system/network/routing/quagga system/network/avahi system/install/text-install 
system/network/nis system/file-system/autofs service/resource-pools 
service/storage/media-volume-manager service/resource-cap library/openldap 
system/install/auto-install service/file-system/nfs terminal/conman 
service/storage/virus-scan driver/usb data/docbook driver/network/ibp 
library/java/javadb service/network/telnet service/network/slp 
service/file-system/smb library/xdg/consolekit 
service/storage/avs/cache-management service/network/network-servers 
service/opengl/ogl-select release/registration web/server/apache-22 
system/install cde/calendar-manager-server service/network/nis 
service/security/kerberos-5 service/network/ftp system/file-system/smb 
service/network/smtp/sendmail service/management/sysidtool 
system/management/visual-panels system/xvm/header-xvm system/network/routing 
system/network/routing/vrrp system/kernel web/server/lighttpd-14 
network/ipfilter system/install/media/internal print/cups x11/xfs 
storage/avs/remote-mirror system/management/cim/pegasus database/mysql-51 
system/trusted/global-zone system/security/kerberos-5 network/bridging 
service/picl service/security/stunnel service/network/dns/bind 
service/network/wpa service/network/dhcp SUNWcs system/management/web/openwsman 
service/network/legacy web/java-servlet/tomcat 
system/storage/fibre-channel/port-utility driver/network/srpt 
service/storage/isns system/library/libvirt package/svr4 
service/gnome/desktop-cache system/management/webmin system/zones 
service/network/ssh print/lp/print-manager/legacy print/lp/ipp/ipp-listener 
web/proxy/squid install/installadm service/storage/removable-media 
package/pkg/update-manager group: sys -> package/pkg opensolaris.zone: global 
-> system/xvm/header-xvm system/library/libvirt
ERROR pkglint.dupaction007        path lib/svc/method is reference-counted but 
has different attributes across 93 duplicates: group: bin -> 
service/network/load-balancer/pen system/kernel/power 
system/display-manager/gdm network/iscsi/initiator 
system/kernel/dynamic-reconfiguration/i86pc 
system/management/visual-panels/panel-apache library/python-2/coherence-26 
system/management/freeipmi system/file-system/nfs 
storage/avs/point-in-time-copy service/network/ntp print/lp 
x11/server/xserver-common system/accounting/legacy 
service/storage/fibre-channel/fc-fabric system/management/intel-amt 
library/tooltalk system/ipmi/ipmitool web/server/ejabberd service/hal 
data/docbook desktop/time-slider web/proxy/privoxy service/memcached SUNWcsd 
network/ipfilter system/management/snmp/net-snmp 
system/management/snmp/sea/sea-config database/mysql-50 system/library/dbus 
driver/storage/sv network/tor library/security/trousers network/iscsi/target 
storage/svm system/library/fontconfig service/storage/ndmp office/openoffice 
storage/stmf diagnostic/snort system/network/routing/quagga service/network/ssh 
system/file-system/autofs system/storage/fibre-channel/port-utility 
service/resource-pools service/storage/media-volume-manager library/openldap 
system/install/auto-install service/file-system/nfs terminal/conman driver/usb 
driver/network/ibp library/java/javadb service/network/slp 
service/file-system/smb service/storage/avs/cache-management 
service/opengl/ogl-select release/registration web/server/apache-22 
system/install cde/calendar-manager-server service/network/ftp 
system/file-system/smb service/network/smtp/sendmail 
service/management/sysidtool system/xvm/header-xvm system/network/routing 
system/network/routing/vrrp system/kernel web/server/lighttpd-14 system/trusted 
system/install/media/internal print/cups storage/avs/remote-mirror 
database/mysql-51 system/trusted/global-zone service/network/dns/bind 
system/management/cim/pegasus SUNWcs system/management/web/openwsman 
web/java-servlet/tomcat system/xvm/ipagent driver/network/srpt 
system/library/libvirt service/gnome/desktop-cache system/zones 
system/network/avahi print/lp/print-manager/legacy web/proxy/squid 
install/installa
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to