Apache OpenOffice (AOO) Bugzilla – Issue 11840
Install fails at "TMPFILE = 'mktemp -q /tmp/S0.XXXXXX'
Last modified: 2008-05-17 23:45:52 UTC
Attempting to install on Solaris 8 and also on Solaris 9 for Intel. Installation failed when at code that attempts to make a temporary directory: TMPFILE = 'mktemp -q /tmp/S0.XXXXXX' I changed the line to the following and the installation succeded after the change: TMPFILE = 'mkdir /tmp/install/S0.XXXXXX'
Hi Kevin, am I right that the install script isn't intended to be used on Solaris? So it might be better to remove it from the Solaris sets?
Hi, The problem is there is no safe(race free) way to make temp file from a shell script under Solaris. They do not have a mktemp shell invokable command. We should then remove this script from Solaris for safety sake. I will add some code to the OOo 1.1 version of this script to abort if the uname includes Solaris to prevent a race attack from working on anyone on Solaris. Kevin
Hi, Already committed a patch to remove "install" from Solaris builds completely. So resolving this as fixed. Kevin
The Issue you raised has been marked as 'Resolved' and not updated within the last 1 year+. I am therefore setting this issue to 'Verified' as the first step towards Closing it. If you feel this is incorrect, please re-open the issue and add any comments. Many thanks, Andrew Cleaning-up and Closing old Issues ~ The Grand Bug Squash, pre v3 ~ http://marketing.openoffice.org/3.0/announcementbeta.html
As per previous posting: Verified -> Closed. A Closed Issue is a Happy Issue (TM). Regards, Andrew