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

2010-06-03 Thread Russ Allbery
Russ Allbery 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 maintainer scripts to

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 > @@ -355

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 La

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 > @@ -35

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 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 $DEBIAN_FRONTEND !=

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 questi

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

2009-08-21 Thread Vincent Danjean
Russ Allbery wrote: > Vincent Danjean 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 aptitude upgrade. But I don't know how to detect that >>> case

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

2009-08-20 Thread Russ Allbery
Vincent Danjean 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 aptitude upgrade. But I don't know how to detect that >> case as different from a truly no

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 aptitude upgrade. But I don't know how to detect that case as > different from a truly non-interactive install. I had is

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

2009-08-08 Thread Russ Allbery
Steve Langasek 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 and I'd lik

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 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 propose

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

2009-08-08 Thread Russ Allbery
Julien Cristau 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 and I'd like

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 p

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 a/

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 requirem