WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@ericonr
Copy link
Member

@ericonr ericonr commented Aug 28, 2021

Apparently a mistake from copy pasting. This was hiding the actual exit
codes (usually became only 0), so much of the logic around detecting
return codes from children was wrong. This includes runit and stage 2:
runsvdir exiting due to a signal or crash should have prompted runit to
try and start stage 2 anew; instead, it was just proceeding with the
poweroff sequence.

Apparently a mistake from copy pasting. This was hiding the actual exit
codes (usually became only 0), so much of the logic around detecting
return codes from children was wrong. This includes runit and stage 2:
runsvdir exiting due to a signal or crash should have prompted runit to
try and start stage 2 anew; instead, it was just proceeding with the
poweroff sequence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants