Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Since runit update, previous power down commands reboot the system now
@ 2020-08-10 20:36 D-Nice
  2020-08-10 20:46 ` ericonr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 20:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]

New issue by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  `Void 5.7.14_1 x86_64 GenuineIntel notuptodate hold rrDDDDFFFF`

* 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 an 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: https://github.com/void-linux/void-packages/pull/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:
```
TODO in edit after re-update
```




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
@ 2020-08-10 20:46 ` ericonr
  2020-08-10 20:49 ` D-Nice
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-08-10 20:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671581185

Comment:
By chance, are you holding / no extracting any of the files in the runit-void package? Check `/etc/xbps.d`. If for some reason you're using `/etc/runit/3` from the old the package, the system will indeed reboot by default.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
  2020-08-10 20:46 ` ericonr
@ 2020-08-10 20:49 ` D-Nice
  2020-08-10 20:50 ` ahesford
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 20:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671582587

Comment:
good point, I indeed am, I'll have a look about merging the two for my system.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
  2020-08-10 20:46 ` ericonr
  2020-08-10 20:49 ` D-Nice
@ 2020-08-10 20:50 ` ahesford
  2020-08-10 21:01 ` [ISSUE] [CLOSED] " D-Nice
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2020-08-10 20:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671582886

Comment:
Please try a stock `/etc/runit/3` and confirm that everything works before attempting to merge your changes.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (3 preceding siblings ...)
  2020-08-10 21:01 ` [ISSUE] [CLOSED] " D-Nice
@ 2020-08-10 21:01 ` D-Nice
  2020-08-10 21:03 ` ericonr
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 21:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

New comment by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671587754

Comment:
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (2 preceding siblings ...)
  2020-08-10 20:50 ` ahesford
@ 2020-08-10 21:01 ` D-Nice
  2020-08-10 21:01 ` D-Nice
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 21:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]

Closed issue by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### 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: https://github.com/void-linux/void-packages/pull/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
```




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (4 preceding siblings ...)
  2020-08-10 21:01 ` D-Nice
@ 2020-08-10 21:03 ` ericonr
  2020-08-10 21:11 ` D-Nice
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-08-10 21:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671588569

Comment:
Any reason you can't use `/etc/rc.shutdown` for these actions instead of a custom `/etc/runit/3`?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (5 preceding siblings ...)
  2020-08-10 21:03 ` ericonr
@ 2020-08-10 21:11 ` D-Nice
  2020-08-10 21:15 ` ericonr
  2020-08-10 21:20 ` D-Nice
  8 siblings, 0 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

New comment by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671591782

Comment:
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (6 preceding siblings ...)
  2020-08-10 21:11 ` D-Nice
@ 2020-08-10 21:15 ` ericonr
  2020-08-10 21:20 ` D-Nice
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-08-10 21:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671593775

Comment:
I don't see any comments in https://github.com/void-linux/void-runit/issues/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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Since runit update, previous power down commands reboot the system now
  2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
                   ` (7 preceding siblings ...)
  2020-08-10 21:15 ` ericonr
@ 2020-08-10 21:20 ` D-Nice
  8 siblings, 0 replies; 10+ messages in thread
From: D-Nice @ 2020-08-10 21:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

New comment by D-Nice on void-packages repository

https://github.com/void-linux/void-packages/issues/24207#issuecomment-671595952

Comment:
I've made comments regarding my specific issue, and one of the reasons why I had to edit runit/3 here.

https://github.com/void-linux/void-runit/issues/16

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-10 21:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 20:36 [ISSUE] Since runit update, previous power down commands reboot the system now D-Nice
2020-08-10 20:46 ` ericonr
2020-08-10 20:49 ` D-Nice
2020-08-10 20:50 ` ahesford
2020-08-10 21:01 ` [ISSUE] [CLOSED] " D-Nice
2020-08-10 21:01 ` D-Nice
2020-08-10 21:03 ` ericonr
2020-08-10 21:11 ` D-Nice
2020-08-10 21:15 ` ericonr
2020-08-10 21:20 ` D-Nice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).