When emerging sys-cluster/resource-agents-1.0.4-r1 with /tmp mounted with the noexec-Flag in /etc/fstab the following error occurs during configure: checking for heartbeat/glue_config.h... yes checking for OCF_ROOT_DIR in heartbeat/glue_config.h... ./configure: line 5306: /tmp/extract_define.OCF_ROOT_DIR.13759: Permission denied printf: usage: printf [-v var] format [arguments] thus the ebuild installs its files to /resource.d instead of /usr/lib64/ocf/resource.d/. A following install of sys-cluster/pacemaker then fails too. Reproducible: Always Steps to Reproduce: 1. mount /tmp with noexec-Flag 2. install sys-cluster/resource-agents 3. Actual Results: Stuff is installed in wrong path Expected Results: Stuff is installed in correct path, or an error is displayed when /tmp is mounted with noexec-Flag.
Help is on the way :) See https://bugs.gentoo.org/show_bug.cgi?id=336140#c5
Thx Lorand