Hi Rick, On 15/10/12 11:23 AM, Teh, Rick wrote:
Hi pkg folk, I received this error message: pkg: This is an internal error in pkg(5) version 1dc473995939. Please log a Service Request about this issue including the information above and this message.
So I created an SR with 'My Oracle Support'. The support consultant wants to close the SR because he considers this user error not a bug. I am assuming you would like to know about "internal error in pkg(5)", but if I close the SR, will the support people pass it in to you? The circumstances that created the error message are: I have a local soe package that is applied during AI - it works fine. I was testing what 'pkg verify' and 'pkg fix' would do if someone had edited /etc/passwd or /etc/shadow by hand and a made a typo. In my experiment, a simulated fat-fingered sysadmin had added an extra colon into one of the lines in /etc/shadow.
The response from the support person seems a little out of line to me.
I was expecting that the user action password=xxx.. in the pkg manifest would put the proper password back in the /etc/shadow file.
...
RuntimeError: line c788661:rJGaY9XjrJwxE:14159:15622:::::: in /etc/shadow has 10 columns
pkg: This is an internal error in pkg(5) version 1dc473995939. Please log a Service Request about this issue including the information above and this message. I am using Solaris 11 11/11 SRU10
I would have expected to see an actual error message reported, rather than a python stack trace. On my system, /etc/shadow has the attribute 'preserve=true' to indicate that user-supplied changes are to be kept. Is your SOE package changing that attribute? James C. McPherson -- Oracle Systems / Solaris / Core http://www.jmcpdotcom.com/blog _______________________________________________ pkg-discuss mailing list pkg-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/pkg-discuss