Red Hat Bugzilla – Bug 18658
possible problem with $HOME/.terminfo + set[gu]id programs
Last modified: 2007-04-18 12:29:05 EDT
OpenBSD people have issued a fix a couple of days ago for libcurses which makes it ignore terminal descriptions in $HOME/.terminfo as well as TERMCAP. I looked at this briefly, and the the basic idea behind it seems to be applicable for curses 4.0-5.1 (at least) on RHL. I'm not sure if this is strictly necessary, but probably would be worth checking out. ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.7/common/027_curses.patch
We're aware of the problem and its fix (it's somewhat different from the BSD one); the fixed package will be released later today.
The fixed package is in rawhide; the updates are (still) waiting for QA approval.