Project

General

Profile

Actions

Bug #88

open

svcs -x might miss reasons

Added by John Doe over 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2010-08-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:

Description

See Comments.

 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.

 2004-12-21 07:26:51 GMT
Actions #1

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

Actions #2

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.

Actions #3

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

Actions #4

Updated by John Doe about 13 years ago

Actions

Also available in: Atom PDF