Project

General

Profile

Feature #1603

Support traditional SysV-style daemon initialization scheme

Added by Davide Pesavento almost 7 years ago. Updated over 4 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.

#1

Updated by Junxiao Shi almost 7 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.

#2

Updated by Davide Pesavento almost 7 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).

#3

Updated by Davide Pesavento over 4 years ago

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

Also available in: Atom PDF