-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong information in ctrlaltdel #47
Comments
How is this happening? |
When
|
@Duncaen I see, thanks! I guess I was missing that part about sending itself a Is there some way I could use |
The reboot file needs to be user executable to cause a reboot, so not sure if this even works as intended. Yes I think removing u-x on stopit should work to ignore SIGINT/SIGCONT for pid1.
|
So the right way would be to not chmod u+x stopit on boot and to do the chmod u+x it from ctrlaltdel. |
I see. I will try to work on a patch for that, thanks! |
Taking this discussion to #50, where we can debate the problem and solution simultaneously. |
I believe this comment in
ctrlaltdel
is wrong, because runit checks for it continuously during stage 2 (which is when it's running
/etc/runit/2
, which is what runsrunsvdir
), and then reboots the system if it is found. I feel like this comment implies that the file is only used for determining whether the system will reboot or shutdown, when runit gets to stage 3, but instead it just reboots the whole system.The text was updated successfully, but these errors were encountered: