by necbot » Sun Aug 14, 2016 4:47 pm
I did not edit the service file. Yes, I understood your instructions except that I don't have a system-resolved.service in my /etc/systemd/system folder. It is in my /etc/systemd/system folder/multi-user.target.wants folder. You said to remove this in your earlier post but not to remove the one in the multi-user-target.wants directory, right? I'm still getting the same error though. Here is what I did....
I removed /etc/machine-id and ran system-machine-id-setup, this ran perfectly with no errors.
I added the systemd-resolved.service.d folder exactly where you said and made the .conf file. So now I have a conf file...
$this->bbcode_second_pass_code('', '/etc/systemd/system/systemd-resolved.service.d/10-networkmanager-wait-online.conf')
the contents of which are...
$this->bbcode_second_pass_code('', '[Unit]
After=NetworkManager-wait-online.service')
my /etc/systemd/network/eth0.network file is....
$this->bbcode_second_pass_code('', '[Match]
Name=eth0
[Network]
DHCP=yes
[DHCP]
CriticalConnection=true')
I restarted and ran...
$this->bbcode_second_pass_code('', '# systemctl restart systemd-resolved')
and got...
$this->bbcode_second_pass_code('', 'Job for systemd-resolved.service failed because the control process exited with error code.
See "systemctl status systemd-resolved.service" and "journalctl -xe" for details.')
systemclt status shows...
$this->bbcode_second_pass_code('', '* systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/systemd-resolved.service.d
`-10-networkmanager-wait-online.conf
Active: failed (Result: start-limit-hit) since Sun 2016-07-31 05:40:25 UTC; 5s ago
Docs: man:systemd-resolved.service(8)
http://www.freedesktop.org/wiki/Software/systemd/resolved
http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Process: 391 ExecStart=/usr/lib/systemd/systemd-resolved (code=exited, status=228/SECCOMP)
Main PID: 391 (code=exited, status=228/SECCOMP)')
Where did I go wrong? I followed what you said exactly.