Debian Bug report logs - #314219
setserial: package configure goes wrong

version graph

Package: setserial; Maintainer for setserial is Thorsten Alteholz <debian@alteholz.de>; Source for setserial is src:setserial (PTS, buildd, popcon).

Reported by: Christian Knoke <chrisk@cknoke.de>

Date: Wed, 15 Jun 2005 09:18:07 UTC

Severity: important

Found in version 2.17-40

Fixed in version setserial/2.17-48

Done: Thorsten Alteholz <debian@alteholz.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Ola Lundqvist <opal@debian.org>:
Bug#314219; Package setserial. (full text, mbox, link).


Acknowledgement sent to Christian Knoke <chrisk@cknoke.de>:
New Bug report received and forwarded. Copy sent to Ola Lundqvist <opal@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Christian Knoke <chrisk@cknoke.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: setserial: package configure goes wrong
Date: Wed, 15 Jun 2005 11:15:07 +0200
Package: setserial
Version: 2.17-40
Severity: important



-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages setserial depends on:
ii  debconf                     1.4.30.13    Debian configuration management
sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries
an

-- debconf information:
  setserial/autosave: true
  setserial/rc-boot-file-removed:
  setserial/rc-boot-file-renamed:
* setserial/autosave-types: manual
  setserial/update-modules-failed:


I have standard pc ports which I wish to configure with different speeds.
I configure them with setserial and then use

 dpkg-reconfigure setserial

and choose 'autosave once'. But the config isn't saved as expected. The
files in /var/lib/setserial/ are not updated.

/etc/serial.conf does not exist at this time. I create it. After that, I do

 invoke-rc.d setserial restart

but the configuration isn't changed to that in serial.conf.

Rebooting sets the correct parameters.

The comment in /etc/init.d/setserial 

# Note that this has been changed so that if /etc/serial.conf exists,
# this script does not configure the ports. It uses
# /var/lib/setserial/autoserial.conf # instead, which is handled by another
# init.d script. However, the script is still used for module loads and
# unloads, even if serial.conf exists.

is confusing at this point.

Maybe another script sets the configuration during boot? Or the comment is
wrong? autoserial.conf has still the old wrong parameters, so this can't be
the source.

Christian


-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



Information forwarded to debian-bugs-dist@lists.debian.org, Jonas Genannt <jonas.genannt@capi2name.de>:
Bug#314219; Package setserial. (full text, mbox, link).


Acknowledgement sent to Craig Maloney <craig@decafbad.net>:
Extra info received and forwarded to list. Copy sent to Jonas Genannt <jonas.genannt@capi2name.de>. (full text, mbox, link).


Message #10 received at 314219@bugs.debian.org (full text, mbox, reply):

From: Craig Maloney <craig@decafbad.net>
To: 314219@bugs.debian.org
Subject: Question re: bug 314219
Date: Sun, 02 Mar 2008 22:51:25 -0500
Hello,

I'm currently tracking a bug in Ubuntu on the Ubuntu Launchpad. It seems
setserial is not currently affecting any of the serial ports on the
machine. Is this bug going to be addressed in the future, or is there a
more preferred method for changing the settings for serial ports?

Thanks!
-- 
-------------------------------------------------------------------
  Craig Maloney  (craig@decafbad.net)        http://decafbad.net
    Work Hard.  Rock Hard.  Eat Hard.  Sleep Hard.  Grow Big.
    Wear Glasses If You Need 'Em.  -- The Webb Wilder Credo






Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#314219; Package setserial. (Mon, 24 Jun 2013 17:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Thorsten Alteholz <debian@alteholz.de>:
Extra info received and forwarded to list. (Mon, 24 Jun 2013 17:12:04 GMT) (full text, mbox, link).


Message #15 received at 314219@bugs.debian.org (full text, mbox, reply):

From: Thorsten Alteholz <debian@alteholz.de>
To: 314219@bugs.debian.org
Cc: Christian Knoke <chrisk@cknoke.de>, Craig Maloney <craig@decafbad.net>
Subject: Re: setserial: package configure goes wrong
Date: Mon, 24 Jun 2013 18:47:18 +0200 (CEST)
Hi,

there are two init scripts to configure serial ports:
  /etc/init.d/setserial
  /etc/init.d/etc-setserial

In case of an existing /etc/serial.conf, the script /etc/init.d/setserial 
can be only used to handle modules or get some status.
The actual configuration will be done by /etc/init.d/etc-setserial. So your
  invoke-rc.d setserial restart
should have been
  invoke-rc.d etc-setserial restart
Thats why your configuration changed only when you rebooted.

Anyway, I am not able to reproduce your originally problem with files in 
/var/lib/setserial not changing after dpkg-reconfigure
Do you still see that problem with a recent versin of the package? 
Otherwise I would close that bug now.

Thorsten




Reply sent to Thorsten Alteholz <debian@alteholz.de>:
You have taken responsibility. (Sat, 29 Jun 2013 15:57:17 GMT) (full text, mbox, link).


Notification sent to Christian Knoke <chrisk@cknoke.de>:
Bug acknowledged by developer. (Sat, 29 Jun 2013 15:57:17 GMT) (full text, mbox, link).


Message #20 received at 314219-done@bugs.debian.org (full text, mbox, reply):

From: Thorsten Alteholz <debian@alteholz.de>
To: 314219-done@bugs.debian.org
Subject: Re: setserial: package configure goes wrong
Date: Sat, 29 Jun 2013 17:31:46 +0200 (CEST)
Package: setserial
Version: 2.17-48

closing this bug now. In case yo think this is wrong, please reopen it.

  Thorsten




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 28 Jul 2013 07:26:13 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 21:58:18 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.