Hi, Shawn,
Jason Zhao wrote:

Hi, Experts,

I am doing our local pkg server, and the pkg.depotd(1m) advise
me to run "--refresh-index", and it seems like it tries
to update index directory on IPS repo. But when I run the
command:
# pkg.depotd -d <my/repo> --refresh-index.

I found the process will exit immediately after I run it, but
it tries to fork millions of times of "--refresh-index". All
the commands(new processes) exit immediately.

My question are:
- What's usage of "--refresh-index", I could not find it in manual.
- Why does the above command fork so much times on itself? Maybe one
running time would be enough. If the command fails, it should
print detailed information other than repeatedly fork itself.

What's the output of "pkg version"?

I suspect you have encountered a bug that was fixed in a more recent version.
# pkg version
475bc7b954a3

You've discovered a nasty bug then.

Can you file a bug at http://defect.opensolaris.org/ under Development -> pkg ?
Thanks , 7701 was filed.

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

Reply via email to