all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* networking service not starting with netlink-response-error errno:17
@ 2024-06-14 11:04 Giovanni Biscuolo
  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
  0 siblings, 2 replies; 4+ messages in thread
From: Giovanni Biscuolo @ 2024-06-14 11:04 UTC (permalink / raw)
  To: guix-devel


[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-17 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 11:04 networking service not starting with netlink-response-error errno:17 Giovanni Biscuolo
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

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.