sqlci prints no banner or prompt when used in a su session

Bug #1329001 reported by Hans Zeller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Medium
Dave George

Bug Description

When running in a shell that was started by the "su" command, sqlci displays no banner or prompt and appears hung, although it is not. This is caused by a bug in Linux that doesn't set the stdout permissions correctly after the su command, but most other programs don't seem to be affected by this bug.

sudo su - trafodion
sqlci
# shows no prompt

For a more detailed explanation of the Linux bug, see the first answer to this question: http://unix.stackexchange.com/questions/38538/bash-dev-stderr-permission-denied

This is listed as a problem in our release notes. The recommended workaround is

sudo su - trafodion
sqlci | cat
# this shows the prompt

Dave George knows how to fix this and has agreed to do the fix, but I don't think he has a LaunchPad user id yet.

Tags: sql-general
Changed in trafodion:
milestone: none → r0.9
importance: Undecided → Medium
Changed in trafodion:
assignee: nobody → Dave George (d-george-b)
Revision history for this message
Suresh Subbiah (suresh-subbiah) wrote :

Fix was committed by Dave George a few weeks ago.

Changed in trafodion:
status: New → Fix Committed
Changed in trafodion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.