From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YOUtCnHryWWZtwAAqHPOHw:P1 (envelope-from ) for ; Mon, 12 Feb 2024 10:57:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YOUtCnHryWWZtwAAqHPOHw (envelope-from ) for ; Mon, 12 Feb 2024 10:57:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BmG18ZET; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707731824; a=rsa-sha256; cv=none; b=OiTfvYeVgOjMEUpNXl6Y6TObPNb/uAdMCsEcOY+nakAvNDlg1f5y7ouVQdW/9p+VuwaVan qshMgCQN+8fo/O072epc6JAIEFbrXT/B5voR3BNnAoxRBf1fzHVq3/OICYqmCUbSAdQFQM qcFcsnqrZp0LoavwDsarjMa8xOSH1g14dBR9DgoX1PcA2y5TQslWxPNHwMAJDFvWRinPNH 9q51E07m6NE68CgpznaLM0FpfIXQXY14bXOC0z1Ws2596Ee+a4kPwRYqRMjcxD4Wp3bG0e rfJFUVvo3rAJvk60SsnaTXZrDv4F82YcM4EMTqRfPDxmmjeGfjcJD/z/jvaFzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=BmG18ZET; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707731824; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Y5gd7AMXK/6JioBRRK5o2EfKfcXL6eAcl2lK7h754DY=; b=f12+XENa5tgIV3uq3GwT1ZWyZnN1e2qsgzqPGPL6Qo7KPdg9EFtZAjP79BEqQemfOXz/K5 QBhxyKh5DcCJJcHOAVvDJuVSAPDXnEhBD5/NUjK/mlbUEDtpe385D4/btxqqqbHURhmSRY SW4BxBdha+Zzzd97mhf838ghmA74Q+shS6F9LgwLHEFNf0146ngnFyUnDJs5ravZzi4VrS hMgadv3qyVUIkzFkWfyqE0+FAtufn4Y/iJfMCnUSgkLuCe8B7q4Zw1ckubXntWryHFp9br gJwQ4O2KtSDLYf3FPB7dYFZ/Njn5yKhfH5J4zGhAjfEfm4FyvLTGuKqhsHHtgQ== 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 1591372CF9 for ; Mon, 12 Feb 2024 10:57:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZT3O-00031T-Uz; Mon, 12 Feb 2024 04:56:46 -0500 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 1rZT3N-00030j-Fh for bug-guix@gnu.org; Mon, 12 Feb 2024 04:56:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZT3N-0002YJ-7C for bug-guix@gnu.org; Mon, 12 Feb 2024 04:56:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZT3d-0006CX-SN for bug-guix@gnu.org; Mon, 12 Feb 2024 04:57:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68595: VLANs in static-networking-service-type hangs shepherd Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2024 09:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68595 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars Rustand Cc: 68595@debbugs.gnu.org, Julien Lepiller , Alexey Abramov Received: via spool by 68595-submit@debbugs.gnu.org id=B68595.170773176423592 (code B ref 68595); Mon, 12 Feb 2024 09:57:01 +0000 Received: (at 68595) by debbugs.gnu.org; 12 Feb 2024 09:56:04 +0000 Received: from localhost ([127.0.0.1]:44362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZT2h-00068P-Kh for submit@debbugs.gnu.org; Mon, 12 Feb 2024 04:56:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZT2f-00067a-GM for 68595@debbugs.gnu.org; Mon, 12 Feb 2024 04:56:02 -0500 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 1rZT2H-0002Jr-FF; Mon, 12 Feb 2024 04:55:37 -0500 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=Y5gd7AMXK/6JioBRRK5o2EfKfcXL6eAcl2lK7h754DY=; b=BmG18ZET/ET6jTd8dzuf 9HvtU8k95n/gTrkBnFXqGfoIpcdHwqhLGscc2D50ZeXS+YCGviuAVgbt8oiD6qo0Sppjnw5YtlPHb NtPxsw6vUPf1/8ppqo32RzwoYHrkjx+8V6ezTdDPuh7gLax3V3Q2rQp+yApLd8kL6bHwrlKU63xqO YGtIIucIKMaPpjJqK+XA5IgByevPt2vm2OiZmj0cHPWD7ovpbLz4/v/iGiX3j98vwj6AoL0bieKxB o8ZtcZjygbC87GAsUC2hADa+568oF98z+trOfT9yKacTXHc6GQatHTK3TMGzwhKfp0YsFCUuJdrWI olj2xwr1pEkMbQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87v87pc7ul.fsf@yoga.mail-host-address-is-not-set> (Lars Rustand's message of "Fri, 19 Jan 2024 20:12:24 +0100") References: <87v87pc7ul.fsf@yoga.mail-host-address-is-not-set> Date: Mon, 12 Feb 2024 10:55:32 +0100 Message-ID: <875xyugg6j.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.73 X-Migadu-Queue-Id: 1591372CF9 X-Migadu-Spam-Score: -5.73 X-TUID: u004q0sRLY7N Hi, Lars Rustand skribis: > Like the title says, if you add any VLAN in a > static-networking-service-type it seems like the whole shepherd daemon > freezes up and anything that depends on it stops responding. > Additionally the networking does not get fully configured either. > > After configuring a VLAN `herd status`, `herd restart networking` and > any other herd command hangs forever with no output. Even reboot is not > working. The only remedy is to restart the system using the power > button, but even after the restart the networking service still fails to > start. Ouch. Could you check what /var/log/messages reports? Once you=E2=80=99ve reproduced the hang, could you attach GDB to shepherd a= nd get a backtrace? gdb -p 1 bt (I recommend doing that in a VM rather than on your main machine!) > 1. Add a static network with a VLAN to your system config (see below for > minimal example) > 2. Reconfigure your system > 3. Restart the networking service with `sudo herd restart networking` > 4. Observe that herd does not finish > 5. Try to run `herd status`, `guix system reconfigure`, or `sudo reboot`. > 6. Observe that none of the commands seem to have any effect, and that > they hang indefinitely with no output > > (service static-networking-service-type > (list (static-networking > (links > (list (network-link > (name "myvlan") > (type 'vlan) > (arguments '((id . 3) > (link . "eth0")))))) > (addresses > (list (network-address > (device "myvlan@eth0") > (value "192.168.0.2/24"))))))) You mentioned in your other message that the example from the manual works fine. Could you try and reduce your config until you find which bit makes it fail? Cc=E2=80=99ing Alexey and Julien who may know more. Thanks, Ludo=E2=80=99.