First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 120471
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: net-zope <net-zope@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francesco R. (RETIRED) <vivo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120471 depends on: Show dependency tree
Bug 120471 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-26 14:47 0000
Under certain circumstances, mine where ssh + chroot, if that mean something.

"dialog" program, widely used inside the script, return an error "cannot open
tty-output", 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 "Please choose a username and password for the initial user." \
    --inputbox "Username:" 0 0 "admin")
RESULT=$?
--- from ---

to 

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

may be other are affected, or is this one a misconfiguration issue of this
particular box ?

------- Comment #1 From Radoslaw Stachowiak 2006-05-28 10:16:09 0000 -------
I was unable to reproduce this. Can You provide me more information, for
example if it happened more than once?

------- Comment #2 From Francesco R. (RETIRED) 2006-05-29 10:36:11 0000 -------
it's a "corner case" it happen if "dialog" cannot find/use /dev/tty* feel free
to fix as wontfix

------- Comment #3 From Tupone Alfredo 2008-11-16 16:05:35 0000 -------
Fixed in app-admin/zope-config-0.6.
Thanks

First Last Prev Next    No search results available      Search page      Enter new bug