From: Lars Rustand <rustand.lars@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 68595@debbugs.gnu.org, Julien Lepiller <julien@lepiller.eu>,
Alexey Abramov <levenson@mmer.org>
Subject: bug#68595: VLANs in static-networking-service-type hangs shepherd
Date: Thu, 15 Feb 2024 10:07:51 +0100 [thread overview]
Message-ID: <87il2q3wv2.fsf@yoga.mail-host-address-is-not-set> (raw)
In-Reply-To: <875xyugg6j.fsf@gnu.org>
Ludovic Courtès <ludo@gnu.org> writes:
> Ouch. Could you check what /var/log/messages reports?
>
> Once you’ve 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’ing Alexey and Julien who may know more.
>
> Thanks,
> Ludo’.
Alexey Abramov <levenson@mmer.org> 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.
next prev parent reply other threads:[~2024-02-15 9:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 19:12 bug#68595: VLANs in static-networking-service-type hangs shepherd Lars Rustand
2024-01-19 23:32 ` Lars Rustand
2024-02-12 9:55 ` Ludovic Courtès
2024-02-15 9:07 ` Lars Rustand [this message]
2024-02-12 11:59 ` Alexey Abramov via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87il2q3wv2.fsf@yoga.mail-host-address-is-not-set \
--to=rustand.lars@gmail.com \
--cc=68595@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=levenson@mmer.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).