New webrev at:

 http://cr.opensolaris.org/~richb/pkg-12419-v2/

Changes made:

Removes '*' from the policy= entries for both device policy attr lists.

This fixes the handling of '*' in the policy= entry for the SUNWpcelx package.

BEFORE:
$ pfexec pkg -R /export/home/pkg-solaris/bug12419_image verify SUNWpcelx
PACKAGE                                             STATUS
pkg://opensolaris.org/SUNWpcelx                      ERROR
   driver: pcelx
extra device policy '* read_priv_set=net_rawaccess write_priv_set=net_rawaccess' found in etc/security/device_policy device policy 'read_priv_set=net_rawaccess write_priv_set=net_rawaccess' missing from etc/security/device_policy
$

AFTER:
$ ./runit.sh
+ ROOT=/export/home/richb/pkg/bugs/12419/gate/proto/root_i386
+ export ROOT
+ PYTHONPATH=/export/home/richb/pkg/bugs/12419/gate/proto/root_i386/usr/lib/python2.6/vendor-packages
+ export PYTHONPATH
+ cd /export/home/richb/pkg/bugs/12419/gate/proto/root_i386/usr/bin
+ pfexec ./pkg -R /export/home/pkg-solaris/bug12419_image verify SUNWpcelx
$

I also checked that verifying SUNWckr continues to work as in:
http://mail.opensolaris.org/pipermail/pkg-discuss/2009-December/019319.html

And the test_driver_policy_removal test continues to pass.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to