Issue 11840

Summary: Install fails at "TMPFILE = 'mktemp -q /tmp/S0.XXXXXX'
Product: Installation Reporter: Unknown <non-migrated>
Component: codeAssignee: khendricks
Status: CLOSED FIXED QA Contact: issues@installation <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.2Keywords: oooqa
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Unknown 2003-02-25 23:26:44 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'
Comment 1 Olaf Felka 2003-02-26 16:06:50 UTC
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?
Comment 2 khendricks 2003-03-24 19:27:28 UTC
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 
 
Comment 3 khendricks 2003-05-28 16:18:23 UTC
Hi,

Already committed a patch to remove "install" from Solaris builds
completely.

So resolving this as fixed.

Kevin
Comment 4 ace_dent 2008-05-17 21:41:25 UTC
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
Comment 5 ace_dent 2008-05-17 23:45:52 UTC
As per previous posting: Verified -> Closed.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew