Bind version 9.17.6 patch does not work on WSL
- Dominant language
- C
- Stars
- 3.4k
- Forks
- 539
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
The [latest patch](https://github.com/google/honggfuzz/blob/master/examples/bind/bind-9.17.6.patch) for Bind in the repository doesn't work.
Bind now doesn't have the package, `libtool` as option. So when the [`configure`](https://github.com/google/honggfuzz/blob/master/examples/bind/bind-9.17.6.patch#L308) command is run it prints the following in the end:
```
Unrecognized options:
--without-libtool, --disable-backtrace
```
After `./compile.sh`, the `make install` also finishes without any errors but with some warnings.
Running `named -g` after that gives the following error:
`named: error while loading shared libraries: libisc.so.1705: cannot open shared object file: No such file or directory`
I ran `ldconfig -v` to link the libraries and after that the following error occurs:
```
[2021-07-23T11:52:16+0000][E][19707] nsEnter():83 unshare(0x58020000): Operation not permitted
[2021-07-23T11:52:16+0000][W][19707] nsEnter():85 Executing 'sysctl -w kernel.unprivileged_userns_clone=1' might help with this
```
The `sysctl` did not work as well: `sysctl: cannot stat /proc/sys/kernel/unprivileged_userns_clone: No such file or directory`
(I am using a Docker container/ WSL2 so there is no such file)
Even with version 1.9 and Bind 9.15.4, the above issue `unprivileged_userns_clone` issue occurs even though the `libisc` issue did not occur.
I was able to install and get Bind running with `autoreconf -fi`, `./configure`, `make`, `make install` , and `ldconfig -v` in a Docker container using the normal `clang` (not the `hfuzz-clang`).
Is there a way to get `Honggfuzz` running in a Ubuntu Docker?
Contributor guide
Assessment
This issue has not been assessed yet.