[Bug 832] New: sysinit: changes in initfuctions section
| Newsgroups | gmane.linux.lsb.specification |
|---|---|
| Message-ID | <[email protected]> |
OtherBugsDependingO 611
nThis:
3.0pre contains some new wording in the initfuctions that seem to change the
former behavior (reported by Tobias Burnus):
"Relying only on /proc/pid/exe is discouraged since this specification
does not specify the existence of, or semantics for, /proc."
Note this is actually ment for the distributions, which may use the /proc
since they know that content - and use it for start_daemon.
"Optionally, if neither of the above methods has determined the process
identifiers required, implementations may use unspecified additional
methods to locate the process identifiers required."
This changes the definition. In 2.x we have
"Compliant implementations may use other mechanisms besides those based
on pidfiles, unless the -p pidfile option has been used."
I use this mechanism currently to run a daemon twice with different
configuration files and ports. If it always falls back, the second
daemon may not be started (start_daemon) or the wrong one killed
(killdaemon).
--
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.