Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Russ Allbery
The previous discussion on this bug didn't reach a final consensus on wording, but I still believe we have a consensus that this is the right general direction. Here's an updated patch that includes the permission suggested by Steve Langasek for maintainer scripts to abort for high-priority

Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Guillem Jover
On Sat, 2009-08-08 at 12:51:33 -0700, Russ Allbery wrote: Julien Cristau jcris...@debian.org writes: what does this change mean for essential packages that want to prompt the user when debconf isn't available? E.g. libc6.postinst tries to use debconf, and if that's not available and

Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Guillem Jover
Hi! On Thu, 2010-06-03 at 09:34:32 -0700, Russ Allbery wrote: I'm looking for seconds or further discussion if people don't believe that this is the right direction to go. diff --git a/policy.sgml b/policy.sgml index af00c0e..3f6b82d 100644 --- a/policy.sgml +++ b/policy.sgml @@ -3557,15

Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Andrew McMillan
On Thu, 2010-06-03 at 09:34 -0700, Russ Allbery wrote: The previous discussion on this bug didn't reach a final consensus on wording, but I still believe we have a consensus that this is the right general direction. Here's an updated patch that includes the permission suggested by Steve

Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Steve Langasek
On Thu, Jun 03, 2010 at 09:34:32AM -0700, Russ Allbery wrote: I'm looking for seconds or further discussion if people don't believe that this is the right direction to go. diff --git a/policy.sgml b/policy.sgml index af00c0e..3f6b82d 100644 --- a/policy.sgml +++ b/policy.sgml @@ -3557,15

Bug#224509: Don't require a TTY during maintainer script execution

2010-06-03 Thread Russ Allbery
Russ Allbery r...@debian.org writes: The previous discussion on this bug didn't reach a final consensus on wording, but I still believe we have a consensus that this is the right general direction. Here's an updated patch that includes the permission suggested by Steve Langasek for

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-21 Thread Vincent Danjean
Russ Allbery wrote: Vincent Danjean vincent.danj...@ens-lyon.org writes: Russ Allbery wrote: I'm also not sure that I was right in my previous message about using the exit status of tty, since it still does make sense to prompt if run via ssh host aptitude upgrade. But I don't know how to

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-20 Thread Vincent Danjean
Russ Allbery wrote: I'm also not sure that I was right in my previous message about using the exit status of tty, since it still does make sense to prompt if run via ssh host aptitude upgrade. But I don't know how to detect that case as different from a truly non-interactive install. I had

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-20 Thread Russ Allbery
Vincent Danjean vincent.danj...@ens-lyon.org writes: Russ Allbery wrote: I'm also not sure that I was right in my previous message about using the exit status of tty, since it still does make sense to prompt if run via ssh host aptitude upgrade. But I don't know how to detect that case as

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-08 Thread Julien Cristau
On Fri, Aug 7, 2009 at 19:43:29 -0700, Russ Allbery wrote: I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while and I'd like to put it to bed. Here's

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-08 Thread Russ Allbery
Julien Cristau jcris...@debian.org writes: On Fri, Aug 7, 2009 at 19:43:29 -0700, Russ Allbery wrote: I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-08 Thread Andrew McMillan
On Fri, 2009-08-07 at 19:43 -0700, Russ Allbery wrote: I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while and I'd like to put it to bed. Here's proposed

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-08 Thread Steve Langasek
On Fri, Aug 07, 2009 at 07:43:29PM -0700, Russ Allbery wrote: I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while and I'd like to put it to bed. Here's

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-08 Thread Russ Allbery
Steve Langasek vor...@debian.org writes: On Fri, Aug 07, 2009 at 07:43:29PM -0700, Russ Allbery wrote: I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while

Bug#224509: Don't require a TTY during maintainer script execution

2009-08-07 Thread Russ Allbery
I think at this point, now that debconf is mandatory for all but essential packages, removing the guarantee of a controlling terminal is uncontroversial. This bug has been open for a while and I'd like to put it to bed. Here's proposed wording. I'm looking for feedback or seconds. diff --git

Bug#224509: Don't require a TTY during maintainer script execution

2008-04-14 Thread Riku Voipio
Notice that packages requiring TTY during installations will nowadays fail to install in debian-installer (see #282147), buildd chroots, and will hang piuparts testing. Therefor packages using tty in maintainer scripts are already de facto buggy in common debian usage situations. The TTY