I have a VPN client in my Docker container (ubuntu:18.04).
The client must do the following:
mv /etc/resolv.conf /etc/resolv.conf.orig
Run Code Online (Sandbox Code Playgroud)
Then the client should create new /etc/resolv.conf with their DNS servers. However, the move fails with an error:
mv: cannot move '/etc/resolv.conf' to '/etc/resolv.conf.orig': Device or resource busy
Run Code Online (Sandbox Code Playgroud)
Can this be fixed? Thank you advance.
P.S.: I can 't change the VPN client code.