[SCW C1] Failed to start Network Name Resolution

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Re: [SCW C1] Failed to start Network Name Resolution

Postby necbot » Sun Aug 14, 2016 4:16 pm

/etc/systemd/system/multi-user.target.wants/systemd-resolved.service is a symlink to /usr/lib/systemd/system/systemd-resolved.service

there is no systemd-resolved.service in /etc/systemd/system
necbot
 
Posts: 14
Joined: Fri Jun 20, 2014 11:26 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby WarheadsSE » Sun Aug 14, 2016 4:17 pm

Good. Because that is where it should be.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby necbot » Sun Aug 14, 2016 4:19 pm

So I make those changes you posted in /etc/systemd/system/multi-user.target.wants and NOT in /etc/systemd/system ?
necbot
 
Posts: 14
Joined: Fri Jun 20, 2014 11:26 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby WarheadsSE » Sun Aug 14, 2016 4:21 pm

No. Don't remove that symlink.
You are not supposed to be directly editing a service file anways.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby necbot » Sun Aug 14, 2016 4:23 pm

Okay, so keep the symlink, but make all the other changes?
necbot
 
Posts: 14
Joined: Fri Jun 20, 2014 11:26 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby WarheadsSE » Sun Aug 14, 2016 4:33 pm

Please re-read the post. I was quite explicit on which things should be done.

Never edit a service file directly.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby 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.
necbot
 
Posts: 14
Joined: Fri Jun 20, 2014 11:26 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby WarheadsSE » Sun Aug 14, 2016 4:51 pm

Uhg you have an older image don't you :P

You'll need to check if that file came from their image, and if systemd package is 1) blocked 2) will overwrite it with correct version.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby necbot » Sun Aug 14, 2016 4:53 pm

The image I used is the latest one. I got it from here....

http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz

It is dated August 2, 2016

Is there a more recent one that I'm not seeing?
necbot
 
Posts: 14
Joined: Fri Jun 20, 2014 11:26 pm

Re: [SCW C1] Failed to start Network Name Resolution

Postby WarheadsSE » Sun Aug 14, 2016 5:14 pm

I was referring to the Scaleway C1 image, which ALARM has no control over.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests