[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#207453: apache-common: /usr/share/apache/postinst.common: line 189: /dev/tty: No such device or address



On Sun, Sep 28, 2003 at 08:18:38PM +0200, Fabio Massimo Di Nitto wrote:
> On Fri, 26 Sep 2003, Steve Langasek wrote:

> > On Fri, Sep 26, 2003 at 06:55:08AM +0200, Fabio Massimo Di Nitto wrote:

> > > We are working on it and we are at a good point. Basically we are getting
> > > rid of apacheconfig and switching to debconf. It is taking sometime
> > > because not everything is trivial but it will fix a couple of tons of
> > > bugs, it will clean the way on how LoadModules are handled and some other
> > > nice things.

> > > PS help is always appreciated :-))))

> > Well, I'm glad to hear that apacheconfig is being phased out; but I
> > wonder if now is the time for this?

> It is the only way to fix correctly the 2 RC bugs we have now. They are
> mutually exclusive. You fix one the other is broken and viceversa.

I'm not sure I understand why; it seems to me that the fix suggested in
my previous message would handle both cases:

if test -t; then
	if ! $apacheconfig "$@"< /dev/tty > /dev/tty; then
		[...]
	fi
else
	if ! yes '' | $apacheconfig "$@"; then
		[...]
	fi
fi

Of course, using debconf is far more elegant, so if this is really only
a week out, I'll stop distracting you with irrelevant kludges. :)

Thanks,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature


Reply to: