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 kL57K23YzWWjxwAAqHPOHw:P1 (envelope-from ) for ; Thu, 15 Feb 2024 10:25:01 +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 kL57K23YzWWjxwAAqHPOHw (envelope-from ) for ; Thu, 15 Feb 2024 10:25:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=N1O3+6+X; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707989101; 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=Yxf6X8ONTD3Sh21FHtT4pHiI35Ngeymfr74VvAYpYMk=; b=jEnSCmD4zS2oMC9B44ULdkV5bur7oH+LcU2T77cAryyJ3YEc2jnyBm4iIPCuQ/naYVB6oV CQ+64sdd5ekQD+6NoD5Ig+bBTBMjnS63CSjkolCQo+qvE5HuuGW5vKJ53uHkaU5Hs6TzV3 04UAr8ZJtOHEQVnUYC6W0rCYRUZckbZB35MszagauCJtcZhs4B7ex0VJqlNjncjhVG6ROi RITel9rUH1Wx+QoFaFoHhmanf5WtOImNf0FT1TizmNVTBjyJBDNoNwplTSfaEahvB2bq8v WHEh9aKTV+fUmtNS75H02U4KV1l64FeGm83z5JdPKNB2L4/zJ9N6/eRo5IaZRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=N1O3+6+X; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707989101; a=rsa-sha256; cv=none; b=gwH2S8mWZ5Hbm7QrVfsQcP/cOAacw71u2b+mttuznEszhBrth7g2qMcQza9MYMYy/zHI/u CogUdGvNJu53SNw9tvm392lclD8sCOzMDuTZWxKg46eS4tP7a8UI4tvgGd0zkqSnOVeeET Wwwj71uA9H/7kFlfaXOzrSFRBZHqQiRc4lWH5Sha05R4hPIN8Kjtf3E4KRXi0Dard59BhQ EFc3kYt8uk0hirfSvuMjkiPcZ3H6sHeBaImlfNOfvSxkM/VgDRmTMhypNORq6zmA41qbtk GWKz1fZhgrRXLIO7y9f8AyY44MWqRqMjrN4uajELTPb/DHD2IsrAEFTEDbIEmg== 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 67FCE22913 for ; Thu, 15 Feb 2024 10:25:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raXz3-0002z5-Kd; Thu, 15 Feb 2024 04:24:45 -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 1raXz2-0002yk-Iq for bug-guix@gnu.org; Thu, 15 Feb 2024 04:24:44 -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 1raXz2-0003Q4-AY for bug-guix@gnu.org; Thu, 15 Feb 2024 04:24:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raXzK-000230-Go for bug-guix@gnu.org; Thu, 15 Feb 2024 04:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68595: VLANs in static-networking-service-type hangs shepherd Resent-From: Lars Rustand Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Feb 2024 09:25:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 68595@debbugs.gnu.org, Julien Lepiller , Alexey Abramov Received: via spool by 68595-submit@debbugs.gnu.org id=B68595.17079890577811 (code B ref 68595); Thu, 15 Feb 2024 09:25:02 +0000 Received: (at 68595) by debbugs.gnu.org; 15 Feb 2024 09:24:17 +0000 Received: from localhost ([127.0.0.1]:54100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raXya-00021v-JF for submit@debbugs.gnu.org; Thu, 15 Feb 2024 04:24:16 -0500 Received: from mail-lf1-f53.google.com ([209.85.167.53]:43206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raXyX-00021e-J4 for 68595@debbugs.gnu.org; Thu, 15 Feb 2024 04:24:14 -0500 Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-5112bd13a4fso1798387e87.0 for <68595@debbugs.gnu.org>; Thu, 15 Feb 2024 01:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707988969; x=1708593769; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=Yxf6X8ONTD3Sh21FHtT4pHiI35Ngeymfr74VvAYpYMk=; b=N1O3+6+X4t7GCbDorXdlctN4cFiZkXRa09G/nguxL0Pf306Mp9Y4V6MnQiXlRhNzSP W1u2e1MH8lEUBRz0WInsyrXXwQsHJhkZJ3OIx2PjBQ863hNeSYMuOcF7Q039FStWcsW1 UnM0hu1Pe+GiEpDc2JQjGKhSkuTfnfhZNPHMtpO55QpwLRV7OOWECi8pz/VMoap0HUHo x4ud3As/k1Whk8pa3s8iCf1+M1/fQ4z0ipkMDG3bG3vYPchIKWpnsZW7sJyww1lNxc3B fmyBczEy0SQkrOPTx/Q3Xacclf9SV8yowGaMyx/0ieM97zZcxjhmUnyRF25nEgiSdPj9 v0Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707988969; x=1708593769; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Yxf6X8ONTD3Sh21FHtT4pHiI35Ngeymfr74VvAYpYMk=; b=O1wFeDVv0W+iIDqGXdunV6yzhAMb8J1Iv6ChvKLdzX9FBlVrUY6Y0H5Bn0vIV7gF1b ee0A9sqRwUnNk3NCQdAJt8QDxVQN5YcRdV/sQ+h4aXMuvRmyVqoJ5KdpkkQIN0yXqrV+ 5R6d7LXCZksaIEY8DAbo/INEyUMTITuLfkRMNDHZsLODTYf32xMywOIf2u0d6sdhrVAI Qz7via5OuC9B8cLQV3suD9wHvQd2hHFNlcObEb6xiqeocA7inPWCRDiuPvipsRssGJjA 5I/lGD6pKJqRraZLV+/uTIkNoIkIs8r7Hw0RTPYBI8Q2DjIckOcYrKn4kQHe9HM+GH63 Ej2A== X-Gm-Message-State: AOJu0YycYCdbwPfhfC6aemLK+Vrz7xJd1290s2nyMEsaiN3I5NPVWkzK fTfCVu+qR+izufXWQoBBINM7FQWTYWSlhQa0S2o5Q0zyxaoTle9E X-Google-Smtp-Source: AGHT+IGnafva1vft6p4Y2ja5zLIyeS/uElRHOAaQEtL6CBmDH8bHbNIHrYg9pV+I5dOAoyz8pyHu2Q== X-Received: by 2002:a05:6512:3b93:b0:511:aa89:2cd8 with SMTP id g19-20020a0565123b9300b00511aa892cd8mr1776225lfv.18.1707988968555; Thu, 15 Feb 2024 01:22:48 -0800 (PST) Received: from localhost ([2a01:799:9ec:800:98fb:6748:4742:315b]) by smtp.gmail.com with ESMTPSA id u12-20020ac24c2c000000b00511510cb561sm167306lfq.79.2024.02.15.01.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 01:22:47 -0800 (PST) References: <87v87pc7ul.fsf@yoga.mail-host-address-is-not-set> <875xyugg6j.fsf@gnu.org> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Lars Rustand Date: Thu, 15 Feb 2024 10:07:51 +0100 In-reply-to: <875xyugg6j.fsf@gnu.org> Message-ID: <87il2q3wv2.fsf@yoga.mail-host-address-is-not-set> 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-Migadu-Spam-Score: -3.51 X-Spam-Score: -3.51 X-Migadu-Queue-Id: 67FCE22913 X-TUID: vZffmWcah5Gz Ludovic Court=C3=A8s writes: > Ouch. Could you check what /var/log/messages reports? > > Once you=E2=80=99ve reproduced the hang, could you attach GDB to shepherd= and > get a backtrace? > > gdb -p 1 > bt > > (I recommend doing that in a VM rather than on your main machine!) > I have unfortunately been unable to reproduce the full shepherd hang, even though I have followed the exact same procedure as before. I still experience that the command `herd restart networking` hangs indefinitely the first time after adding a VLAN, but now this has not triggered the whole shepherd to hang afterwards anymore. The basic error 17 still comes any time I try to start networking service while having a VLAN configured. > > 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? The configuration I have already attached is as minimal as it is possible. It only includes the mandatory OS fields and a minimal static-networking-configuration. I have already found which bit makes it fail. It is the use of VLAN for any normal network link. VLANs seem to only work for bond devices as in the example. The reproduction steps are maybe a little over-complicated however, and are only necessary in order to reproduce the full "shepherd hangs" bug, which I now am unable to reproduce anyway. But what I believe is the root of the problem is the error 17 on starting the networking service. This can be reproduced much more simply and reliably by just starting a VM the normal way with the static-networking snippet already enabled when building it. So here are the new simplified reproduction steps for reproducing only the error 17 and unfunctional VLAN networking: Use the OS config from my first post, but uncomment the static networking block. Build and run the VM with `$(guix system vm minimal.scm)`. That's it. > Cc=E2=80=99ing Alexey and Julien who may know more. > > Thanks, > Ludo=E2=80=99. Alexey Abramov writes: > Hi Lars, > > I see, Could you please, replace the device name to "myvlan" and not > "myvlan@eth0" in the network-address. > > Even though ip link (iproute2) shows you 'myvlan@eth0' this is not an > actual name of the interfaces. > I have tried with your suggestion, but everything behaves exactly the same.