Description of problem: openoffice.org-3.1.1 has program unopkg which is used when 3rd party components like openoffice.org-voikko are installed. /usr/lib64/openoffice.org3/program/unopkg has wrong arguments to mktemp causing empty variable for temporary directory. INSTDIR=`/bin/mktemp -d --tmpdir unoinstall.XXXXXX` --tmpdir is not valid option and this causes variable INSTDIR being empty. This means that temporary files are written to /. At the end of the unopkg there is another failure caused by this, only -n check is preventing removing whatever... if [ -n "$INSTDIR" ]; then rm -rf $INSTDIR fi Suggested fix: INSTDIR=`/bin/mktemp -d /tmp/unoinstall.XXXXXX` [ $? -gt 0 ] && INSTDIR=/tmp/unoinstall.$$ That would make sure that wrong parameters for mktemp cause at least some randomization and make sure there is no possibility for empty install dir.
RHEL-5's mktemp doesn't support --tmpdir, should use -t instead on RHEL-5
Created attachment 405913 [details] proposed patch
I guess it's best option to refuse to run command if tmpdir creation fail.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
This should be fixed as a side effect of rebasing to LibreOffice 3.4.5