Devuan bug report logs - #937
elogind: SwayWM fails to launch from vTTY: Could not take device: No such file or directory

version graph

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

Reported by: Nathan Schulte <public@desmas.net>

Date: Fri, 23 Jan 2026 19:26:02 UTC

Severity: grave

Tags: patch

Found in version elogind/255.17-4

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#937: elogind: SwayWM fails to launch from vTTY: Could not take device: No such file or directory
Reply-To: public@desmas.net, 937@bugs.devuan.org
Resent-From: public@desmas.net
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Mark Hindley <mark@hindley.org.uk>
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 25 Jan 2026 19:16:01 +0000
Resent-Message-ID: <handler.937.B937.176936851032140@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 937
X-Devuan-PR-Package: src:elogind
X-Devuan-PR-Keywords: 
References: <aXTxAewx_Dfipw1f@shenstone.ab8.net> <Ebb3IokxY5iTIfgVS7a1A2GzbW2UyI4bLwvQybbY1V0tvbG29LH7QxEBQlfYw3MEcr8LFjHBsyBB_dnkNpjvZT1w9hDErAIhSyuunHTVfjY=@desmas.net> <aXX6bc32OL9pq5Od@shenstone.ab8.net> <AjiPqLeGnaXYHikPoKEtmYFHJZ3levS3USxQ1D9RRqAb2-AxK6C8sEghJhdPu9hGmM3XemacXuJblCOYHkdwqHdFPaM4POuQ5rQFa2IsQFc=@desmas.net> <TApNvbVBVivJwgIYZqIIXozxt3Sy3vJbp5sJLK0wI28obQhFrxOul9aGYozJKN-Xoumx1vpNV9XhVgR6ohxmZBlGyUb89StfNl6GaKcqqQY=@desmas.net> <aXZkkvwiIbWp_Jd-@shenstone.ab8.net> <aXZmH-qltlHnhqwr@shenstone.ab8.net> <5lwDWAzFVgO0qJvAwWKDgJDugs-J0m_YmZuHh-EiotjlVKsI3mtqLpJrW5hsG_qHXYcb1mbEkCpF6Rg-H8u8lrIO5tVhqQLIJOiZLUaEj48=@desmas.net> <aXZpxAlx-TsyvpRh@shenstone.ab8.net> <176919624261.27301.12565388510718151229.reportbug@desmas-l-fa617xt.desmas>
X-Devuan-PR-Source: elogind
Received: via spool by 937-submit@bugs.devuan.org id=B937.176936851032140
          (code B ref 937); Sun, 25 Jan 2026 19:16:01 +0000
Received: (at 937) by bugs.devuan.org; 25 Jan 2026 19:15:10 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.39)
	for <debbugs@localhost> (single-drop); Sun, 25 Jan 2026 19:15:10 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id FTSLOLprdmnVBAAAmSBk0A
	(envelope-from <public@desmas.net>)
	for <bugs@devuan.org>; Sun, 25 Jan 2026 19:15:06 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id B2078390; Sun, 25 Jan 2026 19:15:06 +0000 (UTC)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=109.224.244.117; helo=mail-244117.protonmail.ch; envelope-from=public@desmas.net; receiver=bugs.devuan.org 
Received: from mail-244117.protonmail.ch (mail-244117.protonmail.ch [109.224.244.117])
	by email.devuan.org (Postfix) with ESMTPS id 499114F
	for <937@bugs.devuan.org>; Sun, 25 Jan 2026 19:15:04 +0000 (UTC)
Date: Sun, 25 Jan 2026 19:14:58 +0000
To: Andrew Bower <andrew@bower.uk>
From: public@desmas.net
Cc: Mark Hindley <mark@hindley.org.uk>, 937@bugs.devuan.org
Message-ID: <7mNBwywdoAN79Oaj5pO9iAzPG3ta4A_iwhFdrl82DopmmP88qhVyH9s-Fml5_8XvGxZHotFzH1pAfqif16VsKFaPho1iSLgAIS4Qh4aZ7cI=@desmas.net>
In-Reply-To: <aXZpxAlx-TsyvpRh@shenstone.ab8.net>
Feedback-ID: 55650293:user:proton
X-Pm-Message-ID: 230691dbcc26a45102a2d712f237113d84101134
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
On Sunday, January 25th, 2026 at 13:06, Andrew Bower <andrew@bower.uk> wrote:
> I have a hunch this will do it...
> 
> The error is indeed coming from a call that will cause failure. Setting
> this argument to 'true' will deconfigure use of the notify socket once
> we've signalled readiness.
> 
> $ git diff
> diff --git a/src/shared/daemon-util.h b/src/shared/daemon-util.h
> index 711885bba..6823cc31d 100644
> --- a/src/shared/daemon-util.h
> +++ b/src/shared/daemon-util.h
> @@ -12,7 +12,7 @@
> 
> static inline const char *notify_start(const char *start, const char *stop) {
> if (start)
> - (void) sd_notify(false, start);
> + (void) sd_notify(true, start);
> 
> return stop;
> }

Winner, winner!  This seems to do the trick, with an unmolested elogind initscript (255.17-4).

Kudos!

--
Nathan

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: Mon Jan 26 17:37:47 2026;