Devuan bug report logs - #423
elogind does not ship udev rules for power buttons handling

version graph

Package: elogind; Maintainer for elogind is Mark Hindley <mark@hindley.org.uk>; Source for elogind is src:elogind.

Reported by: dimas000@ya.ru

Date: Sun, 12 Apr 2020 15:03:01 UTC

Severity: normal

Found in version 241.4-2

Fixed in version 243.7-2

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Mark Hindley <mark@hindley.org.uk>:
bug#423; Package elogind. (Sun, 12 Apr 2020 15:03:01 GMT) (full text, mbox, link).


Acknowledgement sent to dimas000@ya.ru:
New bug report received and forwarded. Copy sent to Mark Hindley <mark@hindley.org.uk>. (Sun, 12 Apr 2020 15:03:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: dimas <dimas000@ya.ru>
To: submit@bugs.devuan.org
Subject: elogind does not ship udev rules for power buttons handling
Date: Sun, 12 Apr 2020 17:43:49 +0300
Package: elogind
Version: 241.4-2

hello! recently i noticed that my system (running sysvinit with
elogind+lightdm+xfce) does not react on power button when pressed in tty (while
xfce handles one just fine, opening its own shutdown dialog). my attempts to
narrow down the problem led me to man logind.conf, that says
> Only input devices with the "power-switch" udev
> tag will be watched for key/lid switch events.
> HandlePowerKey= defaults to "poweroff".
i got curious who sets this tag. grep'ed /lib/udev/ with no success and then
went googling. my searches ended up at this file, being a part of systemd
sources:
https://github.com/systemd/systemd/blob/5b987a4e3e98f30b324ce75e07116ea8908bdf44/src/login/70-power-switch.rules
after creating same one in /etc/udev/rules.d/ everything works, machine handles
power button in both tty and X.
thus, the actual problem is just lack ov that file under /lib/udev/rules.d in
elogind package. this seems to be devuan-specific, since upstream github source
contains the required file (slightly different version, though):
https://github.com/elogind/elogind/blob/master/src/login/70-power-switch.rules

please include this one into package so that elogind can handle power buttons
properly

Information forwarded to devuan-bugs@lists.dyne.org:
bug#423; Package elogind. (Sun, 12 Apr 2020 18:33:04 GMT) (full text, mbox, link).


Message #8 received at 423@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: dimas000@ya.ru, 423@bugs.devuan.org
Subject: Re: bug#423: elogind does not ship udev rules for power buttons handling
Date: Sun, 12 Apr 2020 19:16:46 +0100
On Sun, Apr 12, 2020 at 05:43:49PM +0300, dimas wrote:
> Package: elogind
> Version: 241.4-2

Thanks for this.

> thus, the actual problem is just lack ov that file under /lib/udev/rules.d in
> elogind package. this seems to be devuan-specific, since upstream github source
> contains the required file (slightly different version, though):
> https://github.com/elogind/elogind/blob/master/src/login/70-power-switch.rules
> 
> please include this one into package so that elogind can handle power buttons
> properly

I will queue this for the next upload.

Mark

Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Tue, 28 Apr 2020 18:33:02 GMT) (full text, mbox, link).


Notification sent to dimas000@ya.ru:
bug acknowledged by developer. (Tue, 28 Apr 2020 18:33:04 GMT) (full text, mbox, link).


Message #13 received at 423-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: dimas000@ya.ru, 423-done@bugs.devuan.org
Subject: Re: bug#423: elogind does not ship udev rules for power buttons handling
Date: Tue, 28 Apr 2020 19:14:00 +0100
[Message part 1 (text/plain, inline)]
Version: 243.7-2

On Sun, Apr 12, 2020 at 07:16:46PM +0100, Mark Hindley wrote:
> I will queue this for the next upload.

Fixed today in version 243.7-2, built for unstable.

Mark
[elogind_243.7-2_amd64.changes (text/plain, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Dec 2 03:23:28 2021;