Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* new bug (or misfeature?) in V3.2 inetd
@ 1995-07-06  4:00 Mark Bartelt
  1995-07-07  4:00 ` Mark Bartelt
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Bartelt @ 1995-07-06  4:00 UTC (permalink / raw)


I've finally gotten around to upgrading our AXPs from V3.0 to V3.2,
and in doing so I stumbled across a problem that didn't previously
exist.

The first system I installed V3.2 on has a CD-ROM reader, and all
went well.  The second system doesn't have one, so I needed to do
the firmware update (and the OSF/1 installation) across the network,
using the first system as the bootp+tftp server.

The instructions on the Firmware Update CD include the following in
the "BOOTP Network Upgrade" section:

	[ much verbiage, including how to modify inetd.conf ]

	-  Find the process of /usr/sbin/inetd daemon.  [...]

	   #  ps aux | grep ine
	   #  kill <ine process number>

	-  Restart the inetd daemon:

	   #  /usr/sbin/inetd

Unfortunately, for all the users who were already logged in on the
first system, killing inetd now kills the rlogind processes spawned
by inetd (and the shells running as subprocesses of rlogind procs).

In V3.0, this didn't happen.  One could kill and restart inetd with
no horrible side-effects.  Is this new behaviour intentional?  If it
is, shouldn't the change have been documented in the release notes?
If it's a bug, will it be fixed in the next release?

And, whether bug, misfeature, or intentional change, is the problem
specific to inetd, or is it a more generic change to the way signal
delivery is implemented?

And regardless, is there any particular reason that the AXP Firmware
Update documentation tells us to "kill inetd_proc" and then restart
it, rather than doing a "kill -HUP inetd_proc", which would have the
same effect (but presumably without the nasty side-effects)?

Mark Bartelt                                           416/978-5619
Canadian Institute for                        mark@cita.toronto.edu
Theoretical Astrophysics                      mark@cita.utoronto.ca

"Nur eine Waffel taugt!"     --     Parsifal, in an Eggo commercial



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: new bug (or misfeature?) in V3.2 inetd
  1995-07-06  4:00 new bug (or misfeature?) in V3.2 inetd Mark Bartelt
@ 1995-07-07  4:00 ` Mark Bartelt
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Bartelt @ 1995-07-07  4:00 UTC (permalink / raw)


To briefly follow up to my own article ...  Before I get swamped with
even *more* messages telling me ``Hey, what you really should be doing
is "kill -HUP inetd_pid"'' (I've gotten a bunch already!), I'd like to
(re)clarify what I said before, namely:

--  I *know* that "kill -HUP inetd_pid" is the generally accepted
    way of doing things.  In fact, I alluded to that myself in the
    original article ...

| And regardless, is there any particular reason that the AXP Firmware
| Update documentation tells us to "kill inetd_proc" and then restart
| it, rather than doing a "kill -HUP inetd_proc", which would have the
| same effect (but presumably without the nasty side-effects)?

... but perhaps the comment got lost in the verbiage.

--  Regardless, it's still the case that:

	--  In V3.0 (and presumably earlier releases), killing inetd
	    did *not* cause its children to die.  (I just confirmed
	    this on one of our systems still running the 3.0 release.)

	--  The new behaviour is either a bug (in which case it should
	    be fixed) or an intentional new feature (in which case it
	    should have been documented in the release notes, and all
	    the documentation which says to kill+restart inetd should
	    have been corrected).

	--  If it was intentional, it's a misfeature (IMHBCO), since
	    I can't think of any rational reason to kill inetd's kids
	    just because it gets nuked itself.  (If anyone can think
	    of a justification, I'd be interested to hear.)

--  And, aside from all the above, what I'd really like to find out is
    whether the new behaviour is inetd-specific, or whether it's just
    a side-effect of an undocumented change in the way signals behave
    in this release.  If the latter case, there may other things which
    act differently now.  (Not to mention the implications for people
    who write code which has to deal sensibly with signal delivery.)

Mark Bartelt                                             416/978-5619
Canadian Institute for                          mark@cita.toronto.edu
Theoretical Astrophysics                        mark@cita.utoronto.ca

"Nur eine Waffel taugt!"      --      Parsifal, in an Eggo commercial



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-07-07  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-06  4:00 new bug (or misfeature?) in V3.2 inetd Mark Bartelt
1995-07-07  4:00 ` Mark Bartelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox