Red Hat Bugzilla – Bug 448158
Nroff script attempts to use PATH commands as opposed to fully-defined ones.
Last modified: 2013-04-12 15:44:21 EDT
Description of problem: nroff shell script has incomplete path information. Version-Release number of selected component (if applicable): 1.18.1.1 How reproducible: The nroff shell script, a helper agent for the critical man utility, does not have full path commands in some places. This causes it, when used with a restricted shell that does not have these paths in by default, to either fail to output a manpage, or to print an erroneous error about the manpage being used in an old character set, such as: XXX XXX WARNING: old character encoding and/or character set XXX Steps to Reproduce: 1. Install a package such as rbash (or modify your path such that you have access to the man command but not iconv and/or mktemp). 2. run man, note erroneous results. Actual results: Expected results: Additional info: I am filing this as a bug because at other points in the same code, utilities such as "iconv" are called via their full path, thus if they resided elsewhere in the path, this would still be broken.
Created attachment 306547 [details] Simple patch to fix.
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
Resolved in groff-1.18.1.1-12
Updated, %{?dist} was missing, groff-1.18.1.1-13.el5
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: - open manual page in restricted shell environment - the manual page is not displayed or an warning message about using old character sets appears - updated nroff script to use full paths when invkoing external binaries - the manual pages can be displayed in restricted shell environment
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1484.html