On 07/15/10 10:41 PM, Alan Coopersmith wrote:
Alan Steinberg wrote:
I pulled over the latest source and tried using it on my depot, and am
getting these messages:

//lib/svc/method/svc-pkg-depot[183]: --cfg
svc:/application/pkg/server/dev:default: not found [No such file or
directory]
[ Jul 15 21:18:58 Stopping because all processes in service exited. ]

I'm obviously setting something incorrectly, but in looking at the
pkg-server.xml file that was delivered with this change, I can't see
what I am doing wrong with my "pkg-server-dev.xml" file.

svc-pkg-depot shows:

         cmd="$wrapper ${pkg_root}usr/lib/pkg.depotd $bool_ops
$option_ops " \
             "--cfg $SMF_FMRI"

That's broken shell code - you can't concatenate strings that way,
the shell parses that as "run the command '--cfg $SMF_FMRI' with the
environment variable 'cmd="$wrapper...$option_ops"

Yes, I screwed up, either during my merge or test cycle.

I'll file a bug and send out a fix shortly.

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

Reply via email to