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

Package: elogind; Maintainer for elogind is Mark Hindley <>; Source for elogind is src:elogind.

Reported by:

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 <>

Full log

🔗 View this message in rfc822 format

Subject: bug#423: elogind does not ship udev rules for power buttons handling
Resent-From: dimas <>
Resent-CC: Mark Hindley <>
Resent-Date: Sun, 12 Apr 2020 15:03:01 +0000
Resent-Message-ID: <>
X-Devuan-PR-Message: report 423
X-Devuan-PR-Package: elogind
Received: via spool by id=B.158670300714906
          (code B); Sun, 12 Apr 2020 15:03:01 +0000
Received: (at submit) by; 12 Apr 2020 14:50:07 +0000
Received: from []
	by with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sun, 12 Apr 2020 14:50:07 +0000 (UTC)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id F10BBF60C81
	for <>; Sun, 12 Apr 2020 16:43:51 +0200 (CEST)
	dkim=pass (1024-bit key; unprotected) header.b="gnIZbkIW";
Received: from ( [IPv6:2a02:6b8:0:1a2d::75])
	by (Yandex) with ESMTP id 4CF4E42007AB
	for <>; Sun, 12 Apr 2020 17:43:50 +0300 (MSK)
Received: from ( [2a02:6b8:c14:6696:0:640:e20a:8b94])
	by (mxback/Yandex) with ESMTP id 7qGdgfGxDP-hn2G6Hkf;
	Sun, 12 Apr 2020 17:43:50 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=mail; t=1586702630;
Authentication-Results:; dkim=pass
Received: by (smtp/Yandex) with ESMTPSA id NO9PjNgoqi-hnW8cQpO;
	Sun, 12 Apr 2020 17:43:49 +0300
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(Client certificate not present)
Date: Sun, 12 Apr 2020 17:43:49 +0300
From: dimas <>
Message-ID: <20200412174349.0800f041@Ulf>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
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
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):

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

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 <>.
Last modified: Fri Sep 30 11:03:07 2022;