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=953426master
parent
2b125c69cc
commit
b4dc22cab7
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue