Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 95 17:50:16 MST
From:      terry@cs.weber.edu (Terry Lambert)
To:        root@vhf.dataradio.com (Charlie ROOT)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Odd behaviour in 2.0R
Message-ID:  <9502240050.AA20593@cs.weber.edu>
In-Reply-To: <Pine.NEB.3.91.950223173050.890A-100000@vhf.dataradio.com> from "Charlie ROOT" at Feb 23, 95 05:34:35 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Maybe I am overlooking something fundemental here, but I can't for the 
> life of me get processes started by a user to die off when the user logs 
> out.

If they are background tasks, they aren't supposed to die when the user
logs out if they were started from a shell other than sh, or if they
were started in sh with "nohup".

A background process is not a member of the same process group as the
foreground process, so it won't be sent a sighup when the DCD goes from
on-to-off on the modem and all/some (there is disagreement on the exact
implementation) of the processes in the process group get a SIGHUP
-- assuming the modem is set up correctly and the line is -CLOCAL and
HUPCL.

Note that this *would* be a problem if the hardware were setup correctly
but processes in the foreground didn't go away on DCD loss.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9502240050.AA20593>