Bug 310 - ^C or ^Z in do-it-yourself FTP installation crashes system
Summary: ^C or ^Z in do-it-yourself FTP installation crashes system
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-04-08 23:40 UTC by uhclem%nemesis
Modified: 1995-04-08 23:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uhclem%nemesis 1995-04-08 23:40:03 UTC
[FDIV004]

During installation, if you specify that you want to do your own FTP
commands, if you abort a mget or other FTP operation with interrupt
(Control-C), FTP does not receive the interrupt, but the install
shell/program does, and it pops up partially on the screen with

	"Installation Aborted",

but FTP is still running, asking questions.

In my case, I forgot to turn PROMPTing off before I started a mget,
and did a Control-C to start the process over.  I was expecting a
	"Continue with mget?"
prompt to answer "no" to, but instead FTP never got the
Control-C signal as it had been intercepted upstairs somewhere.

Fix: 

When letting the user do his own FTP commands in the installation,
allow all signals to pass to FTP, and do not abort or otherwise respond to
the interrupt signal while FTP is running.


*END*
How-To-Repeat: 
Install the system using do-it-yourself FTP download mechanism.  Use
mget for FTP with prompting enabled.  At any of the file prompts, 
press CTRL-C.  You probably can also cause the error at any prompt in
FTP.
Comment 1 jkh freebsd_committer freebsd_triage 1995-06-24 16:32:01 UTC
State Changed
From-To: open->closed

Old install program.