[SLE] Purpose of init daemon?

From: Alex Daniloff (alex_at_daniloff.com)
Date: 02/24/04

  • Next message: Matthew Johnson: "[SLE] Next version of Pro..."
    To: suse-linux-e@suse.com
    Date: Mon, 23 Feb 2004 15:02:56 -0800
    
    

    Hello SuSE folkz,
    I have some questions regarding properties of SysV init daemon.
    It starts on a system boot up by the kernel call to /sbin/init.
    Then init reads /etc/inittab and starts/stops services in /etc/inint.d
    After system has booted into default run level (e.g 5) init still
    continues to run as a daemon.
    Does it have any other purposes other than idling in the loop with
    uid 1 and gid 0?
    Isn't it right that kernel itself takes care about parent processes
    and its children?
    Why do we need init running as a daemon after a system is running in
    default runlevel?
    I can start and stop any service without init involved.
    Could somebody please give me a pointer to the source of information
    regarding all properties of init.

    Thanks in advance,

    Alex
     

    _______________________________________________
    PLUG mailing list
    PLUG@lists.pdxlinux.org
    http://lists.pdxlinux.org/mailman/listinfo/plug

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Matthew Johnson: "[SLE] Next version of Pro..."

    Relevant Pages

    • [SLE] Purpose of init daemon?
      ... I have some questions regarding properties of SysV init daemon. ... It starts on a system boot up by the kernel call to /sbin/init. ... Why do we need init running as a daemon after a system is running in ...
      (SuSE)
    • RE: sendmail init error: Cant assign requested address
      ... YES, as per defaults, but init says otherwise -- and I don't know ... I just want the minimal working sendmail config in a NATed host, ... But the init behavior for unqualified hostnames is less than optimal: ... and this happens for every sendmail daemon launch. ...
      (freebsd-questions)
    • init - inittab , how to monitor process like on linux ?
      ... > simple configuration. ... I tried to reproduce this in my FreeBSD server. ... > Init can also be used to keep arbitrary daemons running, ... > will be passed to the daemon as the final argument on its command line. ...
      (freebsd-questions)
    • Re: keyboard problem with 2.6.6
      ... If init can launch /bin/bash (actually, ... daemon was started from by init. ... keyboard driver would crash, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: starting programs as a daemon
      ... >> Is there a standard way to start a program as a daemon from a script (with ... >> init as parent process and no tty) which works in all linux distributions? ...
      (comp.os.linux.misc)