Code Monkey home page Code Monkey logo

sninit's People

Contributors

arsv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sninit's Issues

Initdir: Allow inittab style?

For a real world example imagine trying to allow various syslogs with the initdir where everything is a service you cannot make syslog stop at end (L) and editing and commenting inittab everytime a user changes something is brittle.

init can be run without PID = 1

Is there a reason to be able to run init not as PID 1?
I've built my system with sninit and it's great but I also use telegraf for monitoring. Thing is, telegraf runs /sbin/init --version which doesn't do anything special in sninit - instead it attempts to reinitialize the system, along with mounting, spawning getty's, services and so on.
Can we either implement --version or at least check if we're PID 1 and if not - refuse to start (or both) ?

run: consider seccomp-bpf switches or deprecating run

Linux has a multitude of various programs that run duplicates and to be useful imo would have to push in more. There are two possible ways to go about fixing this:

  1. Create seccomp-bpf switches within run which would become massive due to individual arg checking.
  2. Create utilities to chain things together without having to use sh, hopefully as an example:
    /bin/cgexec args /run-as-cmd /bin/unshare args /seccomp-bpf-cmd args

aarch64 is broken

Init can't kill dropbear properly and fails to wait for forkreboot() to complete.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.