This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [setup] [PATCH] Redirect stdin from /dev/null when running postinstall scripts


Pavel Tsekov wrote:
On Mon, 13 Sep 2004, Igor Pechtchanski wrote:

Hi,

The patch below redirects stdin from /dev/null when running postinstall
scripts, so that installation doesn't hang if a program called from a
postinstall script decides to ask the user something.  AFAICS, this is
against the CVS HEAD.

But then what happens with the script that requested user input ? Isn't it possible that the package would end up misconfigured ?

Maybe. But better than setup hanging, and it's a pretty major bug in the package if it is doing critical user interaction in it's postinstall script.


Max.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]