Giter Club home page Giter Club logo

init's People

Contributors

a-schaefers avatar dylanaraps avatar illiliti avatar konimex avatar noocsharp 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  avatar  avatar  avatar  avatar  avatar

Watchers

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

init's Issues

Boot goes to emergency shell

At the "checking filesystems" portion of init, I get

/dev/sdb3: clean, 12/29048832 files, [more numbers] blocks
fsck.fat 4.2 (2017-01-24)
open: No such file or directory
/dev/sda2: clean, [numbers] files, [even more numbers] blocks
=> Init system encountered an error, starting emergency shell.
=> When ready, type 'exit' to continue the boot

I am using default init and have dosfstools installed. It's trying to check /dev/sdb3 (fat32) but failing for some reason.

overdue for a new release

#23 was merged last november (last release was last may) so we ought to make a new release so that this change takes effect on systems.

/etc/inittab ::once not working on runit

Hey, I'm trying to load amdgpu at boot time using /etc/inittab's ::once feature. it should run /bin/modprobe amdgpu at startup, but it does not. bin/modprobe amdgpu runs fine in a tty.

Here is my /etc/inittab since I'm probably doing something wrong.

rc.boot: loading sysctl settings

I think the 'break' in line 120 of /lib/init/rc.boot needs to be a 'continue'. At least that's how I got it to load my /etc/sysctl.conf.

Multiple Hard Drives fails to find correct system ROOT

Here is a thread that is likely related to this bug, https://www.reddit.com/r/kisslinux/comments/e257uh/installation_trouble_kernel_panic_unable_to_mount/ , but regardless, my issue is when I have my second hard drive inserted, KISS linux init fails to mount ROOT properly and result is kernel panic. I will try to get the exact error message when I get a chance and post it back here as a reply.

So basically, let's make this smarter so that we can have computers with more than one hard drive okay.

Thanks

Proposal

I think those parts of code should be handled in hooks to be more init agnostic

@cemkeylan pinging you because you maintainer of sysmgr, sinit, runit

rc.boot

init/lib/init/rc.boot

Lines 35 to 50 in 0198696

log "Starting device manager..."; {
if command -v udevd >/dev/null; then
log "Starting udev..."
udevd -d
udevadm trigger -c add -t subsystems
udevadm trigger -c add -t devices
udevadm settle
elif command -v mdev >/dev/null; then
log "Starting mdev..."
mdev -s
mdev -df & mdev_pid=$!
fi
}

init/lib/init/rc.boot

Lines 107 to 121 in 0198696

log "Killing device manager to make way for service..."; {
if command -v udevd >/dev/null; then
udevadm control --exit
elif [ "$mdev_pid" ]; then
kill "$mdev_pid"
# Try to set the hotplug script to mdev.
# This will silently fail if unavailable.
#
# The user should then run the mdev service
# to enable hotplugging.
command -v mdev > /proc/sys/kernel/hotplug
fi 2>/dev/null
}

rc.shutdown

log "Waiting for services to stop..."; {
sv force-shutdown /var/service/* >/dev/null 2>&1
}

# Run 'kpow' to signal to the kernel that we want to reboot or
# poweroff the system. These will only run when '$1' contains
# a valid action. When busybox init is used, this code is
# ignored entirely as it handles this itself.
case $1 in
reboot) kpow r ;;
poweroff) kpow p ;;
esac

(?) Changing init system from busybox to vanilla runit

Hi, I hope this is the right place to ask this.

I am having a hard time with busybox's init system, but can't find any documentation detailing how to change the init system on kiss, how do I do it?

Again, sorry if this is not the correct place to ask

Execute hooks

Instead of eval'ing hooks

. "$file"

can we execute them to prevent messing with environment and global state? The exec-based approach already used in kiss(see KISS_HOOK), why not implement one here as well?

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.