Ran into a problem on an Azure RHEL 9 instance where D3_setup could not execute anything out of the /tmp directory resulting in a failed install (/usr/bin/d3 missing, etc.). If you run into this, do the following as root:
mount -o remount,suid,exec /tmp
You should also alter the /etc/fstab to make this permanent after a Linux reboot.
Find this:
/dev/mapper/rootvg-tmplv /tmp xfs defaults,rw,nosuid,noexec,nodev,relatime 0 0
change this part:
nosuid,noexec
to this:
suid
resulting in this:
/dev/mapper/rootvg-tmplv /tmp xfs defaults,rw,suid,nodev,relatime 0 0
While not related to D3 installation, it might be a good idea to make the same changes for the /home directory so that you can execute out of the /home directory as well. To do that, change this line in /etc/fstab as well:
Before:
/dev/mapper/rootvg-homelv /home xfs defaults,rw,nosuid,noexec,nodev,relatime 0 0
After:
/dev/mapper/rootvg-homelv /home xfs defaults,rw,suid,nodev,relatime 0 0
The mount would look like this:
mount -o remount,suid,exec /home
------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------