Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclusive Flag problems / resolvconf location #8

Open
andywuest opened this issue Feb 26, 2016 · 5 comments
Open

exclusive Flag problems / resolvconf location #8

andywuest opened this issue Feb 26, 2016 · 5 comments
Assignees

Comments

@andywuest
Copy link

Hi,

i have finally successully used your problem. However i encountered one problem:
you have lately added the exclusive flag, which does not work for me, since i am on a old
distro. As you can see the flag was added in ubuntu in 15.10. however i am still on 14.04 LTS.
Maybe you can make this more dynamic via calling (lsb_release -c) to check the version.
Unfortunately the resolvconf itself does not show a version, so it is not so easy to find out
if the resolvconf supports the -x or not.

http://manpages.ubuntu.com/manpages/trusty/en/man8/resolvconf.8.html
http://manpages.ubuntu.com/manpages/wily/en/man8/resolvconf.8.html

Another thing i noticed is this.

You might need to set the path manually here, i.e.

RESOLVCONF=/sbin/resolvconf

why not use
RESOLVCONF=$(type -p resolvconf)
this will find the path to the resolvconf by itself.

@GitHorst
Copy link

I encountered exactly the same issues on Mint 17.3 (i.e. LTS 14.04).
Basically I cannot use it, because I don't have -x flag available but without the flag (i.e. if i remove it from the line in the script), it does not update the resolv.conf correctly and thus i still cannot access the local servers at work through the vpn from home.

@voldemorte
Copy link

I'm on a Fedora 24 machine and I'm facing the similar problem.
The resolvconf binary is not available and the command type -p resolvconf shows up empty.

@alfredopalhares
Copy link
Owner

You are right; this can easly resolved.with this and a fallback to /sbin/resolvconf If not binary is found.

@alfredopalhares alfredopalhares self-assigned this Jan 9, 2017
@markus-daniel
Copy link

On Fedora 26 there is no resolvconf binary installed nor available.
I assume I have to use an other way to update /etc/resolv.conf

@troshko111
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants