A bit disappointing that, now after several years, with for instance Client SDK 4.50.FC11, it still doesn't work to try to relocate the temporary installation folder to somewhere else. And there is still no mention of this in the README-file.
I believe it is quite common to disallow exec flag on /tmp in contemporary setups, so this is somewhat annoying. To me it looks like a simple fix, at least to put some information in the README file, and if the location can't be relocated (which also seems a bit strange to me), check it in the installer and put out a plain error message about this
------------------------------
Øyvind Gjerstad
Developer/Architect
PostNord AS
------------------------------
Original Message:
Sent: Tue May 04, 2021 04:24 AM
From: Hrvoje Zokovic
Subject: One comment about linux installation
Yes JJ, I found that. Also, installation debugging is hard work :)
Maybe documentation can mention
export LAX_DEBUG=1
as well :)
Regards
Hrvoje
------------------------------
Hrvoje Zokovic
Original Message:
Sent: Tue May 04, 2021 03:20 AM
From: Jon Ritson
Subject: One comment about linux installation
...
Basically, IATEMPDIR does not relocate that critical Java shared library (libnativeAPI.so) from /tmp to IATEMPDIR and so it still goes to /tmp and you get that message.
------------------------------
Jon Ritson
Original Message:
Sent: Tue May 04, 2021 03:18 AM
From: Jon Ritson
Subject: One comment about linux installation
Hi.
I logged several APARs recently ...
IT36316 INSTALLATION DOCUMENTATION SHOULD INCLUDE THE REQUIREMENT FOR BOTH /TMP AND IATEMPDIR TO NOT HAVE NOEXEC FOR THE FILESYSTEM
IT36318 DOCUMENTATION DOES NOT DETAIL ALL LOG FILES GENERATED DURING INSTALLATION WHICH SHOULD BE REVIEWED ON ANY FAILURE
IT36317 DOCUMENTATION SHOULD INCLUDE RESOLVING SHARED LIBRARY REQUIREMENTS FOR INSTALLING INFORMIX ON LATER OS RELEASES
JJ
------------------------------
Jon Ritson
Original Message:
Sent: Sun May 02, 2021 02:58 PM
From: Hrvoje Zokovic
Subject: One comment about linux installation
I can't find that in installation guide but - when installing you can't have these mount flags on /tmp:
nosuid,nodev,noexec
Even if you try to "move" tmp with IATEMPDIR env variable, installation is still using /tmp, i.e.:
Native API library will be stored as '/tmp/ismp006/libnativeAPI.so'.
resulting in:
Error: Linux System Util Service Initialization Failed. Turn on the System property 'EnableLinuxPPKLogger' for more stack trace details
Error: Linux File Service Initialization Failed. Turn on the System property 'EnableLinuxPPKLogger' for more stack trace details
Execute Custom Code
class com.ibm.informix.install.ia.FixVariables.install() Unexpected Fatal Error:
java.lang.UnsatisfiedLinkError: /tmp/ismp006/libnativeAPI.so (/tmp/ismp006/libnativeAPI.so: failed to map segment from shared object: Operation not permitted)
Keep calm and install informix
Hrvoje
------------------------------
Hrvoje Zokovic
------------------------------
#Informix