[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cfengine] shellcommands: 3: Bad file descriptor]
From: |
Michael Chesterton |
Subject: |
Re: [Cfengine] shellcommands: 3: Bad file descriptor] |
Date: |
Wed, 21 Sep 2005 08:19:08 +1000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Michael Chesterton <chesty@unconcerned.org> writes:
> cool, that's something I've been searching for without luck.
>
> After pulling my hair out, I finally nailed it.
Not quite, it didn't work from cfservd.
What I found was something is setting DEBCONF_REDIR=1. Which means
this line never gets executed "exec 3>&1 1>&2", which means file
descriptor 3 is never opened hence the error.
Also found I needed to unset DEBIAN_HAS_FRONTEND.
Not sure what's going on here.
It's still not working, though, now I'm getting a file not found, or
no such device (can't remember) error message about /dev/tty.