From: Mike Yuan Date: Tue, 10 Feb 2026 22:59:07 +0000 (+0100) Subject: terminal-util: handle the case where no system console is active (#40630) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b501abfc29e083dfa62c869439cd9c808634edd;p=thirdparty%2Fsystemd.git terminal-util: handle the case where no system console is active (#40630) /dev/console might have no backing driver, in which case /sys/class/tty/console/active is empty. Unlike get_kernel_consoles() resolve_dev_console() currently proceeds with empty devnode, resulting in setup_input() -> acquire_terminal() emitting -EISDIR as we're trying to open /dev/. Let's catch this and report -ENXIO. --- 5b501abfc29e083dfa62c869439cd9c808634edd