[Buildroot] [Bug 9881] New: systemd-resolved not setting resolv.conf link

bugzilla at busybox.net bugzilla at busybox.net
Wed May 17 12:46:42 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=9881

            Bug ID: 9881
           Summary: systemd-resolved not setting resolv.conf link
           Product: buildroot
           Version: 2017.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: posted at heine.so
                CC: buildroot at uclibc.org
  Target Milestone: ---

I have a configuration with Network-Manager and systemd-resolved but without
systemd-networkd.

This leads to a system with an invalid resolv.conf configuration.

The built system still has this configuration from skeleton:
/etc/resolv.conf -> ../tmp/resolv.conf

systemd is not touching /etc/resolv.conf since it exists (but points to
nothing.)


the systemd.mk defines this:

define SYSTEMD_INSTALL_RESOLVCONF_HOOK
        ln -sf ../run/systemd/resolve/resolv.conf \
                $(TARGET_DIR)/etc/resolv.conf
endef

But this is only used when systemd-networkd is selected. I guess this should
also be done when only BR2_PACKAGE_SYSTEMD_RESOLVED is selected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list