diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-21 14:00:23 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-27 13:55:21 +0100 |
commit | de8563dcec590fd43bdb9a63e957485886e93118 (patch) | |
tree | 8c77d4a18efc07aca6e423e1e1894c29cf5ea1bd /meta/recipes-connectivity/nfs-utils/files | |
parent | 2b152d36581053b2fa9e81b2cd1664b885c951f0 (diff) | |
download | poky-de8563dcec590fd43bdb9a63e957485886e93118.tar.gz |
avahi: fix error at boot time for avahi-daemon.service
The following error messages appear now and then at boot time.
avahi-daemon/chroot.c: open() failed: No such file or directory
Failed to open /etc/resolv.conf: Invalid argument
The problem is about /etc/resolv.conf. In Yocto's systemd based
systems, it's a symlink to /etc/resolv-conf.systemd which in turn
is a symlink to /run/systemd/resolve/resolv.conf. The systemd-resolved
service handles creation of /run/systemd/resolve/resolv.conf file.
So if avahi-daemon is started before systemd-resolved, the error messages
appear.
Fix this problem by making avahi-daemon start after systemd-resolved.
(From OE-Core rev: 647db1d9eb65b225ffbb6953f796232026bfa935)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/nfs-utils/files')
0 files changed, 0 insertions, 0 deletions