"make install" fails due to "text file busy" error

Hi,

On Linux 'make install' fails to overwrite existing Unbound binaries
due to "text file busy" error when the unbound process is running.
This is because the Makefile uses cp(1) to install binaries.

  Here is quick fix to avoid this issue, but it might be better
to use install(1) or install.sh.

Regards,

(attachments)

unbound-1.5.7-makeinstall.diff (1.53 KB)

Hi Daisuke,

Hi,

On Linux 'make install' fails to overwrite existing Unbound
binaries due to "text file busy" error when the unbound process is
running. This is because the Makefile uses cp(1) to install
binaries.

Here is quick fix to avoid this issue, but it might be better to
use install(1) or install.sh.

Thank you for the fix. Not sure how install can be used to fix the
issue, so I'll use the -f flag from this patch.

Best regards, Wouter