what dependency-based linux init systems suitable for embedded systems?












0














Currently, I run Linux on an arm board using Sysvinit, but the network drivers of my board are not the best which causes the network service to stall the boot for a while, I also have problems with framebuffer initializations being a bit late.



The solution to my problem would be to user parallel service starting, I can enable that in Sysvinit but there will be a dependency nightmare, so I need an init system that support dependencies and can run services in parallel.



So far I've found cinit and after reading about it I really like the idea behind it and implementation(I haven't tested it though), from what I've read it seems it's a simple system which is somewhat compatible with Sysvinit, it has "want" and "need" dependency types(similar to systemd wants and require).



The cinit project hasn't been updated since 2009 and the main git repo is down, only the github mirror repo is still functioning, so it's clear that the project is dead.



Is the project maintained elsewhere? as a fork maybe?



What other similar init systems do we have that has those functionalities? it should be suitable for embedded systems(small footprint), I don't like systemd especially on an embedded system where I continually work on and debug booting.



Update: I'm also looking to test my board with build systems, so I would prefer if the init system is compatible with build systems such as Yoctoproject and Buildroot.










share|improve this question
























  • Any problem in using systemd the one every distro is using today?
    – YoMismo
    Aug 28 '18 at 7:15






  • 3




    @YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
    – Rui F Ribeiro
    Aug 28 '18 at 7:32










  • @YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
    – MOHAMMAD RASIM
    Aug 28 '18 at 8:16










  • What about openrc github.com/OpenRC/openrc ?
    – YoMismo
    Aug 28 '18 at 14:26
















0














Currently, I run Linux on an arm board using Sysvinit, but the network drivers of my board are not the best which causes the network service to stall the boot for a while, I also have problems with framebuffer initializations being a bit late.



The solution to my problem would be to user parallel service starting, I can enable that in Sysvinit but there will be a dependency nightmare, so I need an init system that support dependencies and can run services in parallel.



So far I've found cinit and after reading about it I really like the idea behind it and implementation(I haven't tested it though), from what I've read it seems it's a simple system which is somewhat compatible with Sysvinit, it has "want" and "need" dependency types(similar to systemd wants and require).



The cinit project hasn't been updated since 2009 and the main git repo is down, only the github mirror repo is still functioning, so it's clear that the project is dead.



Is the project maintained elsewhere? as a fork maybe?



What other similar init systems do we have that has those functionalities? it should be suitable for embedded systems(small footprint), I don't like systemd especially on an embedded system where I continually work on and debug booting.



Update: I'm also looking to test my board with build systems, so I would prefer if the init system is compatible with build systems such as Yoctoproject and Buildroot.










share|improve this question
























  • Any problem in using systemd the one every distro is using today?
    – YoMismo
    Aug 28 '18 at 7:15






  • 3




    @YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
    – Rui F Ribeiro
    Aug 28 '18 at 7:32










  • @YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
    – MOHAMMAD RASIM
    Aug 28 '18 at 8:16










  • What about openrc github.com/OpenRC/openrc ?
    – YoMismo
    Aug 28 '18 at 14:26














0












0








0







Currently, I run Linux on an arm board using Sysvinit, but the network drivers of my board are not the best which causes the network service to stall the boot for a while, I also have problems with framebuffer initializations being a bit late.



The solution to my problem would be to user parallel service starting, I can enable that in Sysvinit but there will be a dependency nightmare, so I need an init system that support dependencies and can run services in parallel.



So far I've found cinit and after reading about it I really like the idea behind it and implementation(I haven't tested it though), from what I've read it seems it's a simple system which is somewhat compatible with Sysvinit, it has "want" and "need" dependency types(similar to systemd wants and require).



The cinit project hasn't been updated since 2009 and the main git repo is down, only the github mirror repo is still functioning, so it's clear that the project is dead.



Is the project maintained elsewhere? as a fork maybe?



What other similar init systems do we have that has those functionalities? it should be suitable for embedded systems(small footprint), I don't like systemd especially on an embedded system where I continually work on and debug booting.



Update: I'm also looking to test my board with build systems, so I would prefer if the init system is compatible with build systems such as Yoctoproject and Buildroot.










share|improve this question















Currently, I run Linux on an arm board using Sysvinit, but the network drivers of my board are not the best which causes the network service to stall the boot for a while, I also have problems with framebuffer initializations being a bit late.



The solution to my problem would be to user parallel service starting, I can enable that in Sysvinit but there will be a dependency nightmare, so I need an init system that support dependencies and can run services in parallel.



So far I've found cinit and after reading about it I really like the idea behind it and implementation(I haven't tested it though), from what I've read it seems it's a simple system which is somewhat compatible with Sysvinit, it has "want" and "need" dependency types(similar to systemd wants and require).



The cinit project hasn't been updated since 2009 and the main git repo is down, only the github mirror repo is still functioning, so it's clear that the project is dead.



Is the project maintained elsewhere? as a fork maybe?



What other similar init systems do we have that has those functionalities? it should be suitable for embedded systems(small footprint), I don't like systemd especially on an embedded system where I continually work on and debug booting.



Update: I'm also looking to test my board with build systems, so I would prefer if the init system is compatible with build systems such as Yoctoproject and Buildroot.







init-script init sysvinit






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 28 '18 at 8:48

























asked Aug 28 '18 at 6:46









MOHAMMAD RASIM

688




688












  • Any problem in using systemd the one every distro is using today?
    – YoMismo
    Aug 28 '18 at 7:15






  • 3




    @YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
    – Rui F Ribeiro
    Aug 28 '18 at 7:32










  • @YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
    – MOHAMMAD RASIM
    Aug 28 '18 at 8:16










  • What about openrc github.com/OpenRC/openrc ?
    – YoMismo
    Aug 28 '18 at 14:26


















  • Any problem in using systemd the one every distro is using today?
    – YoMismo
    Aug 28 '18 at 7:15






  • 3




    @YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
    – Rui F Ribeiro
    Aug 28 '18 at 7:32










  • @YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
    – MOHAMMAD RASIM
    Aug 28 '18 at 8:16










  • What about openrc github.com/OpenRC/openrc ?
    – YoMismo
    Aug 28 '18 at 14:26
















Any problem in using systemd the one every distro is using today?
– YoMismo
Aug 28 '18 at 7:15




Any problem in using systemd the one every distro is using today?
– YoMismo
Aug 28 '18 at 7:15




3




3




@YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
– Rui F Ribeiro
Aug 28 '18 at 7:32




@YoMismo I would say there are huge problems about systemd, but they are not on-topic here. :)
– Rui F Ribeiro
Aug 28 '18 at 7:32












@YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
– MOHAMMAD RASIM
Aug 28 '18 at 8:16




@YoMismo I don't want to start a discussion on systemd here, let's just say I'm not comfortable using it and looking for alternatives.
– MOHAMMAD RASIM
Aug 28 '18 at 8:16












What about openrc github.com/OpenRC/openrc ?
– YoMismo
Aug 28 '18 at 14:26




What about openrc github.com/OpenRC/openrc ?
– YoMismo
Aug 28 '18 at 14:26










1 Answer
1






active

oldest

votes


















0














There is a whole page dedicated to this purpose, which excludes systemd:
http://without-systemd.org/wiki/index.php/Alternatives_to_systemd



Keep in mind that some of the systems listed under the 'process supervisors and service managers' section are capable of dependency management as well.



Of these, I know that dinit, OpenRC, and nosh are capable of wants/needs dependency management, although more of them likely support this.



I personally believe that sysvinit with dependency-based parallel service startup using insserv and startpar can be managed without a 'dependency nightmare', and I would encourage you to explore these options if compatibility is a high priority.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465237%2fwhat-dependency-based-linux-init-systems-suitable-for-embedded-systems%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    There is a whole page dedicated to this purpose, which excludes systemd:
    http://without-systemd.org/wiki/index.php/Alternatives_to_systemd



    Keep in mind that some of the systems listed under the 'process supervisors and service managers' section are capable of dependency management as well.



    Of these, I know that dinit, OpenRC, and nosh are capable of wants/needs dependency management, although more of them likely support this.



    I personally believe that sysvinit with dependency-based parallel service startup using insserv and startpar can be managed without a 'dependency nightmare', and I would encourage you to explore these options if compatibility is a high priority.






    share|improve this answer


























      0














      There is a whole page dedicated to this purpose, which excludes systemd:
      http://without-systemd.org/wiki/index.php/Alternatives_to_systemd



      Keep in mind that some of the systems listed under the 'process supervisors and service managers' section are capable of dependency management as well.



      Of these, I know that dinit, OpenRC, and nosh are capable of wants/needs dependency management, although more of them likely support this.



      I personally believe that sysvinit with dependency-based parallel service startup using insserv and startpar can be managed without a 'dependency nightmare', and I would encourage you to explore these options if compatibility is a high priority.






      share|improve this answer
























        0












        0








        0






        There is a whole page dedicated to this purpose, which excludes systemd:
        http://without-systemd.org/wiki/index.php/Alternatives_to_systemd



        Keep in mind that some of the systems listed under the 'process supervisors and service managers' section are capable of dependency management as well.



        Of these, I know that dinit, OpenRC, and nosh are capable of wants/needs dependency management, although more of them likely support this.



        I personally believe that sysvinit with dependency-based parallel service startup using insserv and startpar can be managed without a 'dependency nightmare', and I would encourage you to explore these options if compatibility is a high priority.






        share|improve this answer












        There is a whole page dedicated to this purpose, which excludes systemd:
        http://without-systemd.org/wiki/index.php/Alternatives_to_systemd



        Keep in mind that some of the systems listed under the 'process supervisors and service managers' section are capable of dependency management as well.



        Of these, I know that dinit, OpenRC, and nosh are capable of wants/needs dependency management, although more of them likely support this.



        I personally believe that sysvinit with dependency-based parallel service startup using insserv and startpar can be managed without a 'dependency nightmare', and I would encourage you to explore these options if compatibility is a high priority.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        novice

        135




        135






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465237%2fwhat-dependency-based-linux-init-systems-suitable-for-embedded-systems%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt