Debian Bug report logs - #404497
coreutils: stty reports bogus error.

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Sergei Organov <[email protected]>

Date: Mon, 25 Dec 2006 17:48:37 UTC

Severity: normal

Found in versions coreutils/5.96-5, coreutils/8.5-1

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#404497: coreutils: stty reports bogus error.
Reply-To: Sergei Organov <[email protected]>, [email protected]
Resent-From: Sergei Organov <[email protected]>
Resent-To: [email protected]
Resent-CC: Sergei Organov <[email protected]>, Michael Stone <[email protected]>
Resent-Date: Mon, 25 Dec 2006 17:48:37 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 404497
X-Debian-PR-Package: coreutils
X-Debian-PR-Keywords: 
X-Debian-PR-Source: coreutils
Received: via spool by [email protected] id=B.116706862917984
          (code B ref -1); Mon, 25 Dec 2006 17:48:37 +0000
Received: (at submit) by bugs.debian.org; 25 Dec 2006 17:43:49 +0000
Received: from javad.com ([216.122.176.236])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1GytrZ-0004fq-Fn
	for [email protected]; Mon, 25 Dec 2006 09:43:49 -0800
Received: from osv ([87.236.81.130])
	by javad.com (8.11.6/8.11.0) with ESMTP id kBPHhk920705
	for <[email protected]>; Mon, 25 Dec 2006 17:43:47 GMT
	(envelope-from [email protected])
Received: from osv by osv with local (Exim 4.63)
	(envelope-from <[email protected]>)
	id 1GytrQ-0001OL-Qv
	for [email protected]; Mon, 25 Dec 2006 20:43:40 +0300
From: Sergei Organov <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: Mon, 25 Dec 2006 20:43:40 +0300
Message-ID: <[email protected]>
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
Package: coreutils
Version: 5.96-5
Severity: normal

Consider the session below:

$ stty -F /dev/ttyS0 9600
$ stty -F /dev/ttyS0 -g > stty.ttyS0.txt
$ stty -F /dev/ttyS0 115200
$ stty -F /dev/ttyS0 `cat stty.ttyS0.txt`
stty: /dev/ttyS0: unable to perform all requested operations
$ stty -F /dev/ttyS0 `cat stty.ttyS0.txt`
$

As far as I can tell, the (bogus) error message is due to the stty's
ignorance of c_ispeed and c_ospeed fields of struct termios.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages coreutils depends on:
ii  libacl1                      2.2.41-1    Access control list shared library
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libselinux1                  1.32-3      SELinux shared libraries

coreutils recommends no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:24:02 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.