Re: Init : someone could comment this ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-01-09 at 00:07 +0100, Enrico Scholz wrote:
> Casey Dahlin <cjdahlin@xxxxxxxx> writes:
> 
> >> no; as already written, modern initsystems use non-forking daemons
> >> where such checks are not needed anymore.
> >>
> >>
> >>
> > It is up to the designer of the app whether it forks or not, and while
> > there may be an argument that one way is better or worse, the init
> > maintainers cannot guarantee the behavior of that which their system
> > must start.
> 
> 1. most (yes, I have numbers) daemons have some kind of --do-not-fork
>    switch

Some (many?) of these log to stdout/stderr if these switches are used as
it's assumed you want to debug the program. 

> 2. most (sorry, I do not have numbers there) daemons have some kind of
>    bugzilla where you can report patches and enhancements

I don't think many of these would subscribe to your notion that doing
"prepare -> fork() -> detach" would be erroneous. Good luck, though ;-).

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp@xxxxxxxxxx
"Those who would give up Essential Liberty to purchase a little Temporary
 Safety, deserve neither Liberty nor Safety."  --  B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux