Greetings,
The following webrev contains fixes for the following issues:
3262 symlink loops can cause operation traceback
14805 action creation shouldn't allow multiple values for key
attributes
14807 depend action doesn't validate fmri attribute syntax
17863 multiple values for standard pkg attributes can cause
publication traceback
18629 validate_fsobj_common needs to check for lists of attribute
values
18635 pkgdepend shouldn't require build-release in fmris
18717 traceback from pkgsend publish when -s forgotten
18718 pkgsend publish does not display errors
18719 depend action's clean_fmri needs to be sent to the dustbin
18720 action validation shouldn't permit strings for numeric
attributes
18721 user action install doesn't preserve password and lastchg
entries for existing users
webrev:
https://cr.opensolaris.org/action/browse/pkg/swalker/pkg-validate-1/webrev/
As a bonus, it makes action parsing about 4-6% faster. I also believe
that after this putback, we shouldn't see any more crashes from packages
that had multiple values somewhere they shouldn't. (Although, it only
prevents publication of them, so any existing, broken packages will
remain broken.)
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss