RE: [Lsb-wg] LSB System Initialization chapter
"Wichmann, Mats D" <[email protected]>
| Newsgroups | gmane.linux.lsb.specification |
|---|---|
| Message-ID | <A06801158AE07847B27A52C1A074BC1D0790BAD2@fmsmsx404.amr.corp.intel.com> |
Tobias, thanks for the feedback. Interestingly, nearly all of the comments are on the one section where I didn't make any changes from what's out as 3.0pre, perhaps I should have :-) But I do understand the intent much better there now! >Hello, > >Wichmann, Mats D wrote: >>I've been continually frustrated by how hard >>it is to get the sysinit chapter right through >>the repeated small tweaks we've been doing >>over the months. Further, I've started looking >>again at how to write a sample implementation of >>this stuff (required for the lsbsi, been missing >>way too long), and found it not really clear to >>implement to. >> >"Relying only on /proc/pid/exe is discouraged since this specification >does not specify the existence of, or semantics for, /proc." >(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). Nice catch, thanks! We'll need to raise a bug on this as it's this way in the base 3.0 wording. >"For example, *X-RedHat-foobardecl*, or *X-Debian-xyzzydecl*." >- nothing >against this example, but how about (also) adding >"X-UnitedLinux-Default-Enabled:" which is used in the real world. Yes, I think we'll use either a real example, or a totally fictitious one (not the name of a real distro). >In total, I really like the rewrite (I think I should re-read it more >carefully, though).