Project

General

Profile

Actions

Feature #1603

open

Support traditional SysV-style daemon initialization scheme

Added by Davide Pesavento almost 10 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Core
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

On older Linux systems, or on distributions that do not use systemd/upstart, or on BSD systems, it may be useful to implement the "old-style" daemon initialization scheme with double forking, as described here under the SysV Daemons subsection.

libdaemon MAY be used to implement this feature.

In any case, as the linked document points out, the old-style behavior MUST be optional and configurable via a command line argument.

Actions #1

Updated by Junxiao Shi almost 10 years ago

  • Target version set to Unsupported

None of the supported platforms need this.

Please name at least one platform (could be unsupported) that uses sysV daemon, so this task could be tested.

Actions #2

Updated by Davide Pesavento almost 10 years ago

Debian 6 (squeeze) and 7 (wheezy) still use SysV init (I believe this will change in Debian 8).

Gentoo/Linux and NetBSD use OpenRC by default, which, although having a more sophisticated dependency-based system, is still backwards compatible with traditional daemons and can thus be used for testing.

Even upstart supports old-style forking daemons through the "expect" stanza (http://upstart.ubuntu.com/cookbook/#expect).

Actions #3

Updated by Davide Pesavento almost 8 years ago

  • Tracker changed from Task to Feature
  • Start date deleted (05/15/2014)
Actions #4

Updated by Davide Pesavento almost 3 years ago

  • Target version deleted (Unsupported)
Actions

Also available in: Atom PDF