Created attachment 24333 [details] Use full path to dnsdomainname and domainname in mkcompile_h Currently scripts/mkcompile_h checks for /bin/dnsdomainname and /bin/domainname when trying to find the DNS name. But when creating the file - the full absolute path to the executable isn't used. IMO if we check for "/bin/dnsdomainname", we should also use "/bin/dnsdomainname" - and not blindly trust /bin is the first directory in $PATH. I've attached a patch to use "/bin/dnsdomainname" instead of "dnsdomainname". And "/bin/domainname" instead of "domainname"
Can you send the patch to linux-kernel@vger.kernel.org with a signed-off-by: line as per Documentation/SubmittingPatches Thanks Alan