Project

General

Profile

Actions

Feature #2815

closed

On platforms with systemd initialization, sd_notify when NFD is ready

Added by Alex Afanasyev almost 9 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h
Tags:

Description

Startup scripts need to wait for NFD to be ready before issuing nfdc commands for the initial configuration.

Currently, we use an arbitrary-chosen sleep timeout, which could be insufficient/excessive on a slow/fast system.

We should use a notification mechanism to notify startup script when NFD is ready, eg. sd_notify for systemd.

Actions #1

Updated by Junxiao Shi almost 9 years ago

  • Subject changed from On platforms with systemd initialization, use `sd_notify` to notify that NFD/NRD is ready to accept commands to On platforms with systemd initialization, sd_notify when NFD is ready
  • Description updated (diff)
  • Category set to Tools
  • Estimated time set to 3.00 h
Actions #2

Updated by Davide Pesavento over 5 years ago

  • Tracker changed from Task to Feature
  • Category changed from Tools to Core
Actions #3

Updated by Davide Pesavento over 5 years ago

  • Status changed from New to Code review
  • Assignee set to Davide Pesavento
  • Target version set to v0.7
  • % Done changed from 0 to 100
  • Estimated time changed from 3.00 h to 1.00 h
Actions #4

Updated by Davide Pesavento over 5 years ago

  • Status changed from Code review to Closed
Actions #5

Updated by Davide Pesavento 4 months ago

  • Tags set to systemd
Actions

Also available in: Atom PDF