dracut-install: error out, if ldd reports no execution permission

This turns off lazy resolving on noexec mounted tmp directories.

https://bugzilla.redhat.com/show_bug.cgi?id=953426
master
Harald Hoyer 2013-04-18 12:54:55 +02:00
parent 2b125c69cc
commit b4dc22cab7
1 changed files with 6 additions and 0 deletions

View File

@ -285,6 +285,12 @@ static int resolve_deps(const char *src)

log_debug("ldd: '%s'", buf);

if (strstr(buf, "you do not have execution permission")) {
log_error(buf);
ret+=1;
break;
}

if (strstr(buf, "not a dynamic executable"))
break;