Re: kernel-package hooks transition

2005-12-26 Thread Sven Luther
On Sun, Dec 25, 2005 at 01:50:35PM -0800, Steve Langasek wrote: > On Sun, Dec 25, 2005 at 03:34:43PM +, Colin Watson wrote: > > The STOP command causes the debconf frontend to shut down; that would > > certainly break anything trying to talk to debconf after it. May be > > worth removing that a

Re: kernel-package hooks transition

2005-12-25 Thread Steve Langasek
On Sun, Dec 25, 2005 at 03:34:43PM +, Colin Watson wrote: > On Sun, Dec 25, 2005 at 01:51:00AM +0100, Sven Luther wrote: > > On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > > > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > > > Notice that the debconf helper sc

Re: kernel-package hooks transition

2005-12-25 Thread Colin Watson
On Sun, Dec 25, 2005 at 01:51:00AM +0100, Sven Luther wrote: > On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > > Notice that the debconf helper scripts provide stdout on &3, so any > > > scripts writing to stdout onl

Re: kernel-package hooks transition

2005-12-25 Thread Colin Watson
On Sun, Dec 25, 2005 at 01:43:19AM +0100, Sven Luther wrote: > On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > > Notice that the debconf helper scripts provide stdout on &3, so any > > > scripts writing to stdout onl

Re: kernel-package hooks transition

2005-12-24 Thread Adam Heath
On Sun, 25 Dec 2005, Sven Luther wrote: > Well, you are the expert, i said this, because the > /usr/share/debconf/confmodule script i use in mkvmlinuz and recomended by > debconf-devel says : > > # Redirect standard output to standard error. This prevents common > # mistakes by mak

Re: kernel-package hooks transition

2005-12-24 Thread Sven Luther
On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > Notice that the debconf helper scripts provide stdout on &3, so any > > scripts writing to stdout only need to redirect their output to &3, no > > ? > > No, that won't

Re: kernel-package hooks transition

2005-12-24 Thread Sven Luther
On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > Notice that the debconf helper scripts provide stdout on &3, so any > > scripts writing to stdout only need to redirect their output to &3, no > > My impression is that t

Re: kernel-package hooks transition

2005-12-24 Thread Sven Luther
On Sat, Dec 24, 2005 at 05:30:26PM +, Colin Watson wrote: > On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > > Notice that the debconf helper scripts provide stdout on &3, so any > > scripts writing to stdout only need to redirect their output to &3, no > > ? > > No, that won't

Re: kernel-package hooks transition

2005-12-24 Thread Colin Watson
On Sat, Dec 24, 2005 at 05:03:17PM +0100, Sven Luther wrote: > Notice that the debconf helper scripts provide stdout on &3, so any > scripts writing to stdout only need to redirect their output to &3, no > ? No, that won't work; if you send something to fd 3, it will go to the debconf frontend an

Re: kernel-package hooks transition

2005-12-24 Thread Sven Luther
On Sat, Dec 24, 2005 at 09:19:36AM -0600, Manoj Srivastava wrote: > Hi, > > In the recent 10.X series, kernel package has started > producing image packages whose maintainer scripts use debconf for > user interaction. Unfortunately, this meant that any hook scripts > called in the main