From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2IrEGdI4cGb9gwEA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 13:23:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2IrEGdI4cGb9gwEA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 15:23:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=T8E4AE+S; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718630610; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nlI6F5rl95Qcis5HdF7DrriG1E4CXYy931L3a8iDHLw=; b=DH2b+6cEq7/ZnywAevWpTk9nGzAmmz6i5Eef0pHL3X+F2KT9x9iC+Im981UIivknuu/JQK yLTGZ8Ema675Dwlhn1I4x8rHL2t7Dql0TbIzAVwoOe+UJlHzp1OrZED7kDOIajquZqdwaD ABMLSiWN/JYwj6Wu3RR7LUt4Oh2LjjM8R9q/vjY3VQLgVZr3u1q6GmHimvr6zS9dkQZTnd K7LFfw3v1PHq5oXO23Mftww0jsb214lXc8zGsMacwo/Qyl+3Res/1uSrKtYNiTHyr172WK vXje5cHajanHX6CdEZGHHZhWoW0Up2E8QH34GBz9C1e0qwgwLyejZVKheffy0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=T8E4AE+S; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718630610; a=rsa-sha256; cv=none; b=BqVGQeBTBoFTbewZrwyZ1dA74u/z4RTZgPF7Ob+tHTnVv3rK65wTK8lLdUA6vesnUahbtg qBcFyVC4FlqYlc0COPHsF5uO53JAHZoBrUTvL+anDEfCdVVppAPc0XmK09eVBmxvWrx9Oj 9iTJUZTse2DRyMAZlEEGNWI1WureNg0FXzW5T+FEzNdj1KKeyyzKmATLYn/NkLSWyptDcD ppVy/tKESfeHRltG97NjGlHnSNvefK7TN7QXaB48VpP1JSjNnoSyhcJENCzEvbOkH/9+Dh FhPLFC/H8xr81HfKs5P0fZN4DuXgE/XlWcfiUHMbVN8keFn/5DX6tDhScgoUFw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 361876AA8E for ; Mon, 17 Jun 2024 15:23:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJCKJ-0007hx-EX; Mon, 17 Jun 2024 09:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJCKH-0007hZ-9C for guix-devel@gnu.org; Mon, 17 Jun 2024 09:23:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sJCKG-0008UV-To; Mon, 17 Jun 2024 09:23:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=nlI6F5rl95Qcis5HdF7DrriG1E4CXYy931L3a8iDHLw=; b=T8E4AE+S2k1Xpu55NQ2L yOEQzb1EynU1neMZrWdiWkUdJYLjSTB0wwCxAcDOi8odKOaZPcgb8pz+POSp8BCtHG1XmR7mxBieJ 6ZrAgM9U5axa4qpA3Ysoy947pdp1TEqrglV4O4n7TZqYDuGAwol58ZVWRkrUhG/00U1yoiYhj849P rUGs6OxfV0hD0UqbYNi0LKtnkaEz8P5xIpz/tnmuw1NnFf0p8q4dZUEdVJ8eAaW8/teru/qTGEqx5 cc3baSJBvGtO22bhD5x5KkvZz/OSO0jJuogJAfYChs0XljgaWACiHuG/BvT6Z5fSx9uThLxE0YaWj kyIXAGcBeLRjww==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Giovanni Biscuolo Cc: guix-devel@gnu.org Subject: Re: networking service not starting with netlink-response-error errno:17 In-Reply-To: <87bk43iy40.fsf@xelera.eu> (Giovanni Biscuolo's message of "Fri, 14 Jun 2024 13:04:47 +0200") References: <87bk43iy40.fsf@xelera.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 30 Prairial an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Chariot X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 17 Jun 2024 15:23:07 +0200 Message-ID: <87cyof7lfo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 361876AA8E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -11.10 X-Spam-Score: -11.10 X-TUID: YR67FwNc9q4A Hi Giovanni, Giovanni Biscuolo skribis: > 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): > > > [...] 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>) 17 =3D EEXIST, which is netlink=E2=80=99s way of saying that the device/rou= te/link it=E2=80=99s trying to add already exists. The problem here is that static networking adds devices, routes, and links (see =E2=80=98network-set-up/linux=E2=80=99 in the code). If it fail= s in the middle, then it may have added devices without adding routes, so you end up with half-configured networking. Ideally this would be transactional. When that happens, you need to check the logs and use the =E2=80=98ip=E2=80= =99 command to figure out which part failed exactly. In your case, the root problem seems to be that =E2=80=9Cswws-bridge=E2=80=9D did not exist. Then you can (1) manually fix it with =E2=80=98ip=E2=80=99, and (2) adjust = your Guix System config to fix the problems you found. This is inconvenient at best. I would be interested in hearing suggestions on how to improve on this. HTH, Ludo=E2=80=99.