Devuan bug report logs - #88
util-linux: prevent agetty from exiting if a serial port doesn't exist

Package: util-linux; Maintainer for util-linux is Devuan Developers <>; Source for util-linux is src:util-linux.

Reported by: Gregory Nowak <>

Date: Thu, 25 May 2017 03:33:01 UTC

Severity: wishlist

Full log

Message #5 received at (full text, mbox, reply):

Received: (at submit) by; 25 May 2017 03:20:04 +0000
Return-Path: <>
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 25 May 2017 05:20:04 +0200 (CEST)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id 546C518E53F
	for <>; Thu, 25 May 2017 03:16:24 +0000 (UTC)
Authentication-Results:; dkim=pass
	reason="2048-bit key; unprotected key" header.b=lBokMiY5;
	dkim-adsp=pass; dkim-atps=neutral
Received: from (unknown [IPv6:2001:470:f156:0:ba27:ebff:fe91:9a8])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPSA id 91188203;
	Wed, 24 May 2017 20:16:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;; s=default;
	t=1495682182; bh=TWDJdceQJSSr6vPaYIcQJf49u7NXUr78WJ6rCaiMofk=;
Received: from greg by with local (Exim 4.84_2)
	(envelope-from <>)
	id 1dDjG9-00033I-Ea; Wed, 24 May 2017 20:16:21 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gregory Nowak <>
To: Devuan Bug Tracking System <>
Subject: util-linux: prevent agetty from exiting if a serial port doesn't exist
Message-ID: <20170525031616.10011.93267.reportbug@rpitest.lan.lan>
X-Mailer: reportbug 6.6.3+devuan1.3
Date: Wed, 24 May 2017 20:16:16 -0700
X-Virus-Scanned: clamav-milter 0.99.2 at vserver
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_PASS autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: util-linux
Version: 2.26.2-6+devuan1
Severity: wishlist

Dear Maintainer,
Please consider adding the ability for agetty/getty to keep running if attached to a serial port that doesn't exist, perhaps by passing a flag to it at invokation. This request is related to:
If agetty/getty was passed for example a --no-terminate flag, and attached to a valid serial port, it should behave like it does now. If getty/agetty was passed the --no-terminate flag for example, and attached to a serial port which doesn't exist, it would keep running instead of terminating. The agetty/getty instance doesn't need to check if that serial port becomes active later, The user would respawn agetty/getty via init if he/she wanted to use it on a serial port which wasn't active previously, but which later became active.

This functionality would make it possible to have agetty listening on /dev/ttyS0 on the raspberry pi3, regardless of if enable_uart=1 was set or not set in /boot/config.txt, and therefore regardless of if /dev/ttyS0 exists or not. This in turn would greatly help in resolving issue four for arm-sdk mentioned above.
Thank you.

-- System Information:

Architecture: aarch64

Kernel: Linux 4.10.0-rc5-v8+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2+devuan2
ii  libblkid1       2.26.2-6+devuan1
ii  libc6           2.19-18+deb8u9
ii  libfdisk1       2.26.2-6+devuan1
ii  libmount1       2.26.2-6+devuan1
ii  libncurses5     5.9+20140913-1+b1
ii  libpam0g        1.1.8-3.1+deb8u2
ii  libselinux1     2.3-2
ii  libslang2       2.3.0-2
ii  libsmartcols1   2.26.2-6+devuan1
ii  libtinfo5       5.9+20140913-1+b1
ii  libuuid1        2.26.2-6+devuan1
ii  lsb-base        4.1+devuan2
ii  sysvinit-utils  2.88dsf-59.2+devuan2
ii  tzdata          2017b-0+deb8u1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          3.0.27-1
ii  kbd                 1.15.5-2
pn  util-linux-locales  <none>

-- no debconf information

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: Sun Dec 4 05:54:51 2022;