Re: Installing connman broke my /etc/resolv.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux