-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Since runit update, previous power down commands reboot the system now #24207
Comments
By chance, are you holding / no extracting any of the files in the runit-void package? Check |
good point, I indeed am, I'll have a look about merging the two for my system. |
Please try a stock |
confirmed it works after merging (didn't need to try stock, and my runit/3 doesn't change anything, just had various additions)! Thanks for the help and quick note regarding the issue on my system. As I have run into this previously, forgetting the various changes I've done (which is my fault), a nice-to-have would be to get a warning in case of hold conflicts, I may be more likely to look into them and resolve them myself, as may be the case with others, unless something like this already happens, in which case knowing it would be useful for future updates. Anyways, closing this issue, as it was system specific to me and changes I had done. |
Any reason you can't use |
yes, because I need some of these run before services are stopped, among other actions. In fact, one of these is a "rc.pre-shutdown" hook, exactly for that case. Technically, if this was in by default, as some requested, I wouldn't have to use runit/3 and could put most things there. |
I don't see any comments in void-linux/void-runit#23 besides some contributors. Do you have ideas for the design, explanations for your use case? Void contributors have limited time and some solutions are hard to come by, help is definitely appreciated. If you have your own version of runit files, an easier way of avoiding issues is by having a custom package that pulls from your repository, that way you can easily check changes made to the void-runit repository and not be caught by surprise. |
I've made comments regarding my specific issue, and one of the reasons why I had to edit runit/3 here. Please don't read negatively into my comments, in case you may be, I'm highly appreciative of the work and effort, and if anything am sorry I took time from you guys with this issue, as it is my fault for changing configurations users are warned against touching. Still, a conflict notification would again be a nice to have for me, and maybe others who may put preserve/holds on files. |
System
xuname:
Void 5.7.14_1 x86_64 GenuineIntel notuptodate hold rrDDDDFFFF
with old runitVoid 5.7.14_1 x86_64 GenuineIntel uptodate hold rrDDDFFFF
with latest runitpackage:
runit-void-20200720_1.x86_64
Expected behavior
poweroff
,shutdown
,halt
, with the appropriate flags to lead to a power down, or in the case of touching the power button, as previously, to lead to a power down.Actual behavior
All those commands and actions lead to a reboot, and the final init message indicates a reboot was requested.
Steps to reproduce the behavior
sudo poweroff
with aforementioned pkg, at least on my system.Reverting to
runit-void-20190906_3.x86_64
stops this from happening, and there were apparent changes done to how runit handles reboots, but turning everything into a reboot for me does not seem like a desired effect.Revelant PR: #23668
Additional info:
runit-void-20190906_3.x86_64
-ls -l /run/runit/{reboot,stopit}
output:runit-void-20200720_1.x86_64
-ls -l /run/runit/{reboot,stopit}
output:The text was updated successfully, but these errors were encountered: