Bug #88
opensvcs -x might miss reasons
0%
Description
See Comments.
xxxxx@xxxxx.com 2004-12-21 07:26:51 GMT
[dp: this is marked bite size, so relocating comments into description]
bustos 2004-12-20
print_dependency_reasons() in svcs/explain.c has
1576 for (spp = uu_list_first(svcp->causes);
1577 spp != NULL && spp->svcp != svcp;
1578 spp = uu_list_next(svcp->causes, spp)) {
1579 determine_summary(spp->svcp);
I think the while clause might be wrong, and maybe should be
for (spp = uu_list_first(svcp->causes);
spp != NULL;
spp = uu_list_next(svcp->causes, spp)) {
if (spp->svcp == svcp)
continue;
determine_summary(spp->svcp);
If so, then svcs -x might miss reasons after the self-pointer. The question
is whether any other reasons can be placed after a self-pointer. This
needs to be investigated.
xxxxx@xxxxx.com 2004-12-21 07:26:51 GMT
Updated by sham pavman about 13 years ago
Hi,
Can you explain under which condition you are actually seeing a miss ?
If possible can you also provide an example.
Thanks
Shampavman
Updated by John Doe about 13 years ago
It is imported from the opensolaris issue tracker as one of the easy-to-do bugs. So I am afraid that I do not know more.
Updated by sham pavman about 13 years ago
Can you give me the url for the issue at least..
It would be helpful to know what they are actually trying to put across..
Thanks
Shampavman
Updated by John Doe about 13 years ago
Sure
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6211054 Not that contain any new information.