Been using openconnect for a few years now.
I currently have net-misc/openconnect-7.06-r1 installed.
This morning, when logged in at a remote site, I noticed that when
clicking, or typing, nothing would happen. Which somehow seemed to
result in a similar behavior back on the local system, i.e. attempting
to type commands in terminal had stopped working.

Having rebooted my system and poked around system log and config
files, I noticed that my /etc/resolv.conf got overwritten by
openconnect. Further investigation indicated that it is done by design
via this script: /etc/openconnect/openconnect.sh.
I do not know if this is a recent change in openconnect's behaviour, I
had no trouble of this sort doing remote work on the same system
yesterday.

An ad-hoc solution I have found online and applied to my environment is this:
http://serverfault.com/questions/331299/how-can-i-stop-openconnect-from-changing-etc-resolv-conf
chattr +i /etc/resolv.conf

This seems to have helped. I can click and type both on remote systems
and the local one with no trouble at all.

Anyone else experienced this?
What are your thoughts and suggestions on the matter?

Thanks.

Reply via email to