cancel
Showing results for 
Search instead for 
Did you mean: 

Yosemite, Pulse and /etc/hosts file

New Member

Yosemite, Pulse and /etc/hosts file

While I was logged in to a VPN using Pulse Secure, I decided to make some edits to my /etc/hosts file.  (The edits were unrelated to the Pulse secure address.)  When I disconnected from Pulse, it overwrote the ENTIRE /etc/hosts file, discarding my changes.  This is very easy to preproduce.

 

The app should not overwrite the entire file.  It should re-read /etc/hosts and then modify ONLY the text that the app itself inserted, i.e. between the BEGIN/END tags that the app inserted.

 

FWIW, I'm using Pulse Secure 5.2.5 (897), on MacOS 10.12.6

 

 

2 REPLIES 2
Moderator

Re: Yosemite, Pulse and /etc/hosts file

That is an expected behavior at this time. I would recommend working with your account team to let the product team know that this is inefficient for your needs and causes problems.
when the VPN is up, changes should be made to both /etc/hosts & /etc/pulse-hosts.bak
Moderator
Moderator

Re: Yosemite, Pulse and /etc/hosts file

As @zanyterp mentioned, Pulse Client will restore the hosts.bak (backup file; took before VPN connection) with the original one which will cause custom modified data to be overwritten.

Pulse Connect Secure Certified Expert