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


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

Received: (at 937) by bugs.devuan.org; 25 Jan 2026 00:31:38 +0000
Return-Path: <public@desmas.net>
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 00:31:38 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id b58+GxlkdWkbXQAAmSBk0A
	(envelope-from <public@desmas.net>)
	for <bugs@devuan.org>; Sun, 25 Jan 2026 00:30:17 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 40390215; Sun, 25 Jan 2026 00:30:17 +0000 (UTC)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.135.106.26; helo=mail-10626.protonmail.ch; envelope-from=public@desmas.net; receiver=bugs.devuan.org 
Received: from mail-10626.protonmail.ch (mail-10626.protonmail.ch [79.135.106.26])
	by email.devuan.org (Postfix) with ESMTPS id C1736127
	for <937@bugs.devuan.org>; Sun, 25 Jan 2026 00:30:14 +0000 (UTC)
Date: Sun, 25 Jan 2026 00:30:07 +0000
To: Andrew Bower <andrew@bower.uk>
From: public@desmas.net
Cc: 937@bugs.devuan.org
Subject: Re: elogind: SwayWM fails to launch from vTTY: Could not take device: No such file or directory
Message-ID: <zmT_m_nKXVguZywkFoxgaimZF7OJ5qhOxfE1E9bnGso6Dx6upPrMjSo-R-3oLmWpYWUgBBZ1HqS_wtNTqxeWhYw5Y3P04WztnR4jY9dEamg=@desmas.net>
In-Reply-To: <aXVXGa2LGtvhCkbb@arden.ab8.net>
References: <176919624261.27301.12565388510718151229.reportbug@desmas-l-fa617xt.desmas> <aXTxAewx_Dfipw1f@shenstone.ab8.net> <-8H38rMe5nzcSivo6VBrcez-Wwy0MWKC2B2Zd0tdxrPv5su8HOQ7jwPvqw9hCvY_xLWV7Q2SgaHim2Vl1iyuX9G9j7-r103tRu95Ns3fiQ8=@desmas.net> <aXVXGa2LGtvhCkbb@arden.ab8.net>
Feedback-ID: 55650293:user:proton
X-Pm-Message-ID: ee70a1644c024658527f88a2afe268acd0413a1a
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
On Saturday, January 24th, 2026 at 17:34, Andrew Bower <andrew@bower.uk> wrote:
> One small thing to try, could you add '--verbose --no-close' to
> START_ARGS?

It appears log messages from elogind would go to /var/log/auth.log; is this correct? I see nothing different with --verbose and --no-close options.

Looking at the elogind source, it appears I may need to rebuild it with ENABLE_DEBUG_ELOGIND and/or LOG_TRACE:

- https://git.devuan.org/devuan/elogind/src/branch/master/src/basic/log.h#L235
- https://git.devuan.org/devuan/elogind/src/branch/master/src/basic/log.h#L241
- https://github.com/elogind/elogind/blob/88c346cdc5ef231465552de9c55332fd9d2c408b/meson.build#L1248

It's also not clear what --verbose should impact, looking briefly at the source.

kennylevinsen, via #sway@irc.libera.chat, has told:

> 14:56 < kennylevinsen> well the main things to look for: 1. is elogind still running as root? it has to, 2. is the test being run after the GPU is available (if you're starting sway itself from an init script you can be too fast)
> 14:59 < kennylevinsen> worst case you could edit the init script to strace elogind
> 15:00 < kennylevinsen> but no I don't quite know what that init system does and why it might have broken it

1. elogind does run as root
2. I assume the GPU is still available; I have not altered anything but the init script due to upgrade, and flopping back/forth to daemon/notify in the same boot functions as expected.

I think to rebuild elogind with debug logging before wading through strace logs.

--
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:44 2026;