On 22/07/28164 20:59, Michael Schuster wrote:
All,

I'm running build 145 on a 4cpu intel box, and noticed that things seemed 
sluggish, so I ran prstat
and saw svc.configd right at the top; at a hunch, I looked at the output of "svcs -a 
| tail" and saw
that svc:/application/pkg/server:default was being continuously being restarted.


I think the reason it keeps restarting is due to 7817 -  depot service should go
into 'maintenance' mode when exec fails.
https://defect.opensolaris.org/bz/show_bug.cgi?id=7817

FWIW, I don't think pkg/server is enabled by default - did you enable it some 
time
to export a package repository you had created yourself ?

Liam


looking at the log, I saw this (just lots more of it ;-)

pkg.depotd: The path '/var/pkg/repo' does not contain a valid package 
repository.
[ Aug 16 12:30:34 Stopping because all processes in service exited. ]
[ Aug 16 12:30:34 Executing start method ("//lib/svc/method/svc-pkg-depot 
start"). ]
Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e 
/usr/lib/pkg.depotd --cfg
svc:/application/pkg/server:default
pkg.depotd: The path '/var/pkg/repo' does not contain a valid package 
repository.
[ Aug 16 12:30:34 Stopping because all processes in service exited. ]
[ Aug 16 12:30:34 Executing start method ("//lib/svc/method/svc-pkg-depot 
start"). ]
Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e 
/usr/lib/pkg.depotd --cfg
svc:/application/pkg/server:default
pkg.depotd: The path '/var/pkg/repo' does not contain a valid package 
repository.
[ Aug 16 12:30:34 Stopping because all processes in service exited. ]
[ Aug 16 12:30:34 Executing start method ("//lib/svc/method/svc-pkg-depot 
start"). ]
Dropping net_privaddr privilege.
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr -e 
/usr/lib/pkg.depotd --cfg
svc:/application/pkg/server:default
pkg.depotd: The path '/var/pkg/repo' does not contain a valid package 
repository.

I've now disabled this service, and prstat shows that system load is back to 
normal ... but my
question is: how did the above come about (btw: I disabled pkg/update a while 
ago, I never use the
graphical update anyway).

TIA
Michael

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

Reply via email to