OpenSolaris

Printable Version Enter a New Search
Bug ID 6721855
Synopsis svccfg dumps core with "_scf_set_annotation() failed with unexpected error 1007"
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:smf
Keywords
Responsible Engineer Thomas Whitten
Reported Against snv_92
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_107
Fixed In snv_107
Release Fixed solaris_nevada(snv_107)
Related Bugs 6723315 , 6793149 , 5079356
Submit Date 2-July-2008
Last Update Date 28-January-2009
Description
svccfg has been seen to fail with this output:

	svccfg_libscf.c:6824: _scf_set_annotation() failed with unexpected
	error 1007. Aborting.

David Bustos has provided this analysis:

1007 is SCF_ERROR_INVALID_ARGUMENT.  I think I see a bug in
_scf_set_annotation() which would cause this.  Namely, line 6958 of
lowlevel.c is comparing copied to sizeof (request.rpr_operation) =
REP_PROTOCOL_NAME_LEN = 120 bytes, when it should be comparing to
sizeof (request.rpr_file), which is MAXPATHLEN long.  If I'm right, then
you should be able to work around this by using a workspace with
a shorter path.
Ginnie has verified that a workspace with a shorter path
does solve the problem.
Work Around
N/A
Comments
N/A