Project

General

Profile

Actions

Bug #16046

open

possible race between dumpadm and identity:node services

Added by Rich Lowe 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
smf
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

While testing savecore, I noticed that my dump went to /var/crash/unknown, despite my system having a nodename.

I think this is because the dumpadm service ran savecore prior to the identity:node service setting the node name. The SMF dependency chain as best as I can determine it appears to bear out this as a possibility.

I think dumpadm should depend on identity:node

Actions #1

Updated by Rich Lowe 4 months ago

actually, dumpadm definitely shouldn't depend on identity:node, because we want to savecore as soon as possible as quickly as possible.

It is also hard to tell using the tools available whether I got the bad crash directory because we lost the hypothesized race, or because dumpadm configured itself before the system had been given a nodename.

Actions

Also available in: Atom PDF