all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: guix-devel@gnu.org
Subject: networking service not starting with netlink-response-error errno:17
Date: Fri, 14 Jun 2024 13:04:47 +0200	[thread overview]
Message-ID: <87bk43iy40.fsf@xelera.eu> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3125 bytes --]

Hello,

after a reboot on a running remote host (it was running since several
guix system generations ago... but with no reboots meanwhile) I get a
failing networking service and consequently the ssh service (et al)
refuses to start :-(

Sorry I've no text to show you but a screenshot (see attachment below)
because I'm connecting with a remote KVM console appliance.

The networking service is failing with this message (manually copied
here, please forgive mistakes):

--8<---------------cut here---------------start------------->8---

[...] 11:28 vmunix [...] shepherd [1]: Exception caught while starting
networking: (no-such-device "swws-bridge")


shepherd [1]: Exception caught while staring networking. (%exception
#<&netlink-response-error errno: 17>)

--8<---------------cut here---------------end--------------->8---

The strange thing is that all the configured interfaces: eno1


Please find below the relevant parts of the configuration of my host.

As you can see I've installed a libvirt daemon service (it is working)
with an autostarted (by libvirt) bridge interface named "swws-bridge":
I've tried stopping that bridge (virsh net-destroy...) but the
networking service keeps failing after a "herd restart networking"

--8<---------------cut here---------------start------------->8---

;; ------------------------------------
;; operating-system
(operating-system
  (locale "en_US.utf8")
  (timezone "Europe/Rome")
  (keyboard-layout (keyboard-layout "us"))
  (host-name "ane")


[...]


  (services
   (append (modify-services
	    %base-services
	    ;; base-services with modificatios
	    (sysctl-service-type config =>
				 (sysctl-configuration
				  (settings (append '(("net.ipv4.ip_forward" . "1"))
						    %default-sysctl-settings)))))
           (list
            (service static-networking-service-type
        	     (list (static-networking
        		    (addresses (list (network-address
        				      (device ane-wan-device)
        				      (value (string-append ane-wan-ip4 "/24")))))
        		    (routes (list (network-route
        				   (destination "default")
        				   (gateway ane-wan-gateway))
					  ;; ip route add 10.1.2.0/24 dev swws-bridge via 192.168.133.12
					  (network-route
					   (destination "10.1.2.0/24")   ;; lxcbr0 net
					   (device swws-bridge-name)
					   (gateway "192.168.133.12")))) ;; on node002
        		    (name-servers '("185.12.64.1"
        				    "185.12.64.1")))))

	    (service ntp-service-type)

[...]

	    (service libvirt-service-type
		     (libvirt-configuration
		      (unix-sock-group "libvirt")
		      (tls-port "16555")))

	    (service virtlog-service-type
		     (virtlog-configuration
		      (max-clients 1000)
		      (max-size 5)
		      (max-backups 9)))

            (service openssh-service-type
        	     (openssh-configuration
        	      (port-number 22)
                      (password-authentication? #f)
                      (permit-root-login 'prohibit-password)

[...]

--8<---------------cut here---------------end--------------->8---

Please how can I debug this error?


Thanks, Gio'.



[-- Attachment #1.2: 20240614-ane-screenshot_1718359609964.png --]
[-- Type: image/png, Size: 1574555 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 55 bytes --]


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

             reply	other threads:[~2024-06-14 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14 11:04 Giovanni Biscuolo [this message]
2024-06-14 13:07 ` networking service not starting for a network-route setting (was for network with netlink-response-error errno:17) Giovanni Biscuolo
2024-06-17 13:23 ` networking service not starting with netlink-response-error errno:17 Ludovic Courtès
2024-06-17 15:12   ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bk43iy40.fsf@xelera.eu \
    --to=g@xelera.eu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.