Debian bug report logs - #942
setserial missing init.d file

Package: setserial; Reported by: johnsonm@nigel.vnet.net; 17 days old.

Message received at debian-bugs:


From nigel.vnet.net!johnsonm Sun Jun  4 11:21:38 1995
Return-Path: <johnsonm@nigel.vnet.net>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sIKIs-0006qnC; Sun, 4 Jun 95 11:21 PDT
Received: from vnet.net (elvis.vnet.net) by pixar.com with SMTP id AA09867
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 4 Jun 1995 11:20:12 -0700
Received: from nigel.vnet.net by vnet.net with SMTP id AA11165
  (5.67b/IDA-1.5 for <debian-bugs@pixar.com>); Sun, 4 Jun 1995 13:21:32 -0500
Received: from nigel.vnet.net (localhost [127.0.0.1]) by nigel.vnet.net (8.6.11/8.6.9) with ESMTP id OAA04950; Sun, 4 Jun 1995 14:18:50 -0500
Message-Id: <199506041918.OAA04950@nigel.vnet.net>
To: "James A. Robinson" <jimr@simons-rock.edu>
Cc: debian-bugs@pixar.com
Reply-To: johnsonm@nigel.vnet.net
Subject: Re: Bug#942: setserial missing init.d file 
In-Reply-To: Your message of "Sun, 04 Jun 1995 10:04:12 -0400."
             <m0sIGHk-000012C@plato.simons-rock.edu> 
Date: Sun, 04 Jun 1995 14:18:49 -0500
From: "Michael K. Johnson" <johnsonm@nigel.vnet.net>


"James A. Robinson" writes:
>
>> After installing and configuring the setserial package, there
>> was no /etc/init.d/setserial -- not even a skeleton.  I had to
>> set up the file and all the links myself...
>
>Please remember that at least some hardware used to react badly to
>setserial being run.  There should perhaps be an option to install a
>setserial config that is completly commented out.

Note that in my suggested code I commented out all invocations
of setserial.  Your point is precisely why I did so.

The code from /etc/rc.misc/0setserial, which comes from the
normal setserial package, might be included in
/etc/init.d/setserial if it were commented out.

michaelkjohnson

Acknowledgement sent to johnsonm@nigel.vnet.net:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#942; Package setserial. Full text available.

Message received at debian-bugs:


From simons-rock.edu!jimr Sun Jun  4 07:04:45 1995
Return-Path: <jimr@simons-rock.edu>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sIGIH-0005nRC; Sun, 4 Jun 95 07:04 PDT
Received: from plato.simons-rock.edu by pixar.com with SMTP id AA05646
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 4 Jun 1995 07:03:18 -0700
Received: from simons-rock.edu by plato.simons-rock.edu with smtp
	(Smail3.1.29.1 #3) id m0sIGHk-000012C; Sun, 4 Jun 95 10:04 EDT
Message-Id: <m0sIGHk-000012C@plato.simons-rock.edu>
To: johnsonm@nigel.vnet.net, debian-bugs@pixar.com
Subject: Re: Bug#942: setserial missing init.d file 
In-Reply-To: Message from "Michael K. Johnson" <johnsonm@nigel.vnet.net> 
   of "Sat, 03 Jun 1995 23:15:10 CDT." <199506040415.XAA10909@nigel.vnet.net> 
Date: Sun, 04 Jun 1995 10:04:12 -0400
From: "James A. Robinson" <jimr@simons-rock.edu>


> After installing and configuring the setserial package, there
> was no /etc/init.d/setserial -- not even a skeleton.  I had to
> set up the file and all the links myself...

Please remember that at least some hardware used to react badly to
setserial being run.  There should perhaps be an option to install a
setserial config that is completly commented out.

Jim

Acknowledgement sent to "James A. Robinson" <jimr@simons-rock.edu>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#942; Package setserial. Full text available.

Message received at debian-bugs:


From mdd.comm.mot.com!mitchell Sun Jun  4 06:43:11 1995
Return-Path: <mitchell@mdd.comm.mot.com>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sIFxO-0005z9C; Sun, 4 Jun 95 06:43 PDT
Received: from motgate.mot.com by pixar.com with SMTP id AA05262
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 4 Jun 1995 06:41:23 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) by motgate.mot.com (8.6.11/8.6.10/MOT-3.7) with ESMTP id IAA29375; Sun, 4 Jun 1995 08:42:40 -0500
Received: from mdd.comm.mot.com (mdisea.mdd.comm.mot.com [138.242.64.201]) by pobox.mot.com (8.6.11/8.6.10/MOT-3.7) with SMTP id IAA21894; Sun, 4 Jun 1995 08:42:38 -0500
Received: from bb29c.mdd.comm.mot.com by mdd.comm.mot.com (4.1/SMI-4.1)
	id AA19009; Sun, 4 Jun 95 06:42:37 PDT
Received: by bb29c.mdd.comm.mot.com (4.1/SMI-4.1)
	id AA15907; Sun, 4 Jun 95 06:42:33 PDT
Date: Sun, 4 Jun 1995 06:42:32 -0700 (PDT)
From: Bill Mitchell <mitchell@mdd.comm.mot.com>
X-Sender: mitchell@bb29c
To: johnsonm@nigel.vnet.net
Cc: debian-bugs@pixar.com
Subject: Re: Bug#942: setserial missing init.d file
In-Reply-To: <199506040415.XAA10909@nigel.vnet.net>
Message-Id: <Pine.SUN.3.91.950604063904.15902B-100000@bb29c>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


> After installing and configuring the setserial package, there
> was no /etc/init.d/setserial -- not even a skeleton.  [...]

setserial-2.10-4 apparently hasn't yet been converted to sys-v
init conventions.  It installs the script in /etc/rc.misc/0setserial.


Acknowledgement sent to Bill Mitchell <mitchell@mdd.comm.mot.com>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#942; Package setserial. Full text available.

Message received at debian-bugs:


From nigel.vnet.net!johnsonm Sat Jun  3 20:18:03 1995
Return-Path: <johnsonm@nigel.vnet.net>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sI6CR-00051pC; Sat, 3 Jun 95 20:18 PDT
Received: from vnet.net (elvis.vnet.net) by pixar.com with SMTP id AA22776
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 3 Jun 1995 20:16:37 -0700
Received: from nigel.vnet.net by vnet.net with SMTP id AA16439
  (5.67b/IDA-1.5 for <debian-bugs@pixar.com>); Sat, 3 Jun 1995 22:17:58 -0500
Received: from nigel.vnet.net (localhost [127.0.0.1]) by nigel.vnet.net (8.6.11/8.6.9) with ESMTP id XAA10909 for <debian-bugs@pixar.com>; Sat, 3 Jun 1995 23:15:14 -0500
Message-Id: <199506040415.XAA10909@nigel.vnet.net>
To: debian-bugs@pixar.com
Reply-To: johnsonm@nigel.vnet.net
Subject: setserial missing init.d file
Date: Sat, 03 Jun 1995 23:15:10 -0500
From: "Michael K. Johnson" <johnsonm@nigel.vnet.net>


Package: setserial
Version: 2.10-4

(Debian release .93R5)

After installing and configuring the setserial package, there
was no /etc/init.d/setserial -- not even a skeleton.  I had to
set up the file and all the links myself...

Here's the skeleton I used, FWIW.  Not perfect, but it's what
mine is based on.

--------8<--------
#!/bin/sh
# run the setserial program

test -f /bin/setserial || exit 0

case "$1" in
start)
#  Insert all needed calls here.  A few examples are provided.
#  /bin/setserial /dev/ttyS1 spd_hi
#  /bin/setserial /dev/ttyS2 port 0x03e8 irq 5 spd_hi
  ;;
stop)
  ;;
*)	echo "Usage: /etc/init.d/setserial start|stop"; exit 1 ;;
esac
exit 0
--------8<--------

Presumably a configuration script could ask for devices and
values and edit, but the most important thing is to have the
script available and linked in properly.

michaelkjohnson

Acknowledgement sent to johnsonm@nigel.vnet.net:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#942; Package setserial. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 06:43:02 GMT Wed 21 Jun