On Thu, Mar 22, 2018 at 11:58 AM, Artur Iwicki <iwicki.artur@xxxxxxxxxx> wrote: > > After I installed the connman package, my system failed to resolve > domain names. Even after removing connman, the errors persisted. I > fiddled around with /etc/resolv.conf and noticed that I get "failed to > write to linked file" errors. I performed "ls -l" and saw the > following dangling symlink: > /etc/resolv.conf -> /var/run/connman/resolv.conf > After removing it and creating an empty file for /etc/resolf.conf, > everything returned to normal. > > Can the connman maintainer check if the package installs and removes > itself correctly? Can you resolve hostnames with an empty "/etc/resolv.conf"? Have you rebooted since creating that empty file? The second question's because I've just installed connman and it has $ cat /usr/lib/tmpfiles.d/connman_resolvconf.conf d /var/run/connman - - - - L+ /etc/resolv.conf - - - - /var/run/connman/resolv.conf So a "/etc/resolv.conf" symlink will be created no matter what. AFAIUI, connman acts as a dns proxy by default. 1) To set a global nameserver Edit "/etc/connman/main.conf" and set "FallbackNameservers=nameserver_ip_address[,nameserver_ip_address_2]" 2) To set a "your_service" nameserver Run "connmanctl config {your_service} --nameservers {nameserver_ip_address} [{nameserver_ip_address_2}]" _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx