guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

networking service not starting with netlink-response-error errno:17


From: Giovanni Biscuolo
Subject: networking service not starting with netlink-response-error errno:17
Date: Fri, 14 Jun 2024 13:04:47 +0200

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: 20240614-ane-screenshot_1718359609964.png
Description: PNG image

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]