When you are using network-manager-sstp with Automatic DNS configuration, but don't have resolveconf installed. This will trigger the bug, and make your /etc/resolv.conf readable only by root.
Copy content of ip-up.local.sh
to /etc/ppp/ip-up.local
, and sudo chmod +x /etc/ppp/ip-up.local
.
ppp has a whole up/down scripts system, which is pretty handy when you use it by hand.
But when run from NetworkManager, this gets in the way - and some hooks explicitly bail when they detect they run under NM.
They detect it by looking at "ipparam" - a ppp parameter that's passed straight to the scripts.
The problem is - they only look for values generated by the network-manager-pptp
plugin, and the SSTP plugin generates slightly different ones.
This workaround replaces the whole "run the interface setup scripts" stage with one that ignores scripts when running under NM's SSTP plugin.