<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>120471</bug_id>
          
          <creation_ts>2006-01-26 14:47 0000</creation_ts>
          <short_desc>app-admin/zope-config , ncurses fail to found tty</short_desc>
          <delta_ts>2008-11-16 16:05:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vivo@gentoo.org</reporter>
          <assigned_to>net-zope@gentoo.org</assigned_to>
          <cc>dickey@radix.net</cc>

      

      
          <long_desc isprivate="0">
            <who>vivo@gentoo.org</who>
            <bug_when>2006-01-26 14:47:17 0000</bug_when>
            <thetext>Under certain circumstances, mine where ssh + chroot, if that mean something.

&quot;dialog&quot; program, widely used inside the script, return an error &quot;cannot open tty-output&quot;, like it was a terminal-less connection, the solution for me was to change all the occurencies where dialog is called in a subshell from:

--- from ---
USER=$(dialog --stdout \
    --backtitle &quot;Please choose a username and password for the initial user.&quot; \
    --inputbox &quot;Username:&quot; 0 0 &quot;admin&quot;)
RESULT=$?
--- from ---

to 

--- to ---
dialog --output-fd 3 \
    --backtitle &quot;Please choose a username and password for the initial user.&quot; \
    --inputbox &quot;Username:&quot; 0 0 &quot;admin&quot; \
    3&gt; &quot;/tmp/${tmpfile}&quot;
RESULT=$?
USER=$(&lt; &quot;/tmp/${tmpfile}&quot; )
--- to ---

may be other are affected, or is this one a misconfiguration issue of this particular box ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>radek@gentoo.org</who>
            <bug_when>2006-05-28 10:16:09 0000</bug_when>
            <thetext>I was unable to reproduce this. Can You provide me more information, for example if it happened more than once?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vivo@gentoo.org</who>
            <bug_when>2006-05-29 10:36:11 0000</bug_when>
            <thetext>it&apos;s a &quot;corner case&quot; it happen if &quot;dialog&quot; cannot find/use /dev/tty* feel free to fix as wontfix</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tupone@gentoo.org</who>
            <bug_when>2008-11-16 16:05:35 0000</bug_when>
            <thetext>Fixed in app-admin/zope-config-0.6.
Thanks</thetext>
          </long_desc>
      
    </bug>

</bugzilla>