Skip to content

Since runit update, previous power down commands reboot the system now #24207

Description

@D-Nice

System

  • xuname:
    Void 5.7.14_1 x86_64 GenuineIntel notuptodate hold rrDDDDFFFF with old runit
    Void 5.7.14_1 x86_64 GenuineIntel uptodate hold rrDDDFFFF with latest runit

  • package:
    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:

ls: cannot access '/run/runit/reboot': No such file or directory
---x------ 1 root root 0 Aug 10 16:22 /run/runit/stopit

runit-void-20200720_1.x86_64 - ls -l /run/runit/{reboot,stopit} output:

---------- 1 root root 0 Aug 10 16:39 /run/runit/reboot
---------- 1 root root 0 Aug 10 16:39 /run/runit/stopit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions