From: "Ludovic Courtès" <ludo@gnu.org>
To: 64653@debbugs.gnu.org
Cc: Christopher Baines <guix@cbaines.net>, Matt Wette <matt.wette@gmail.com>
Subject: bug#64653: ‘static-networking’ fails to start
Date: Mon, 02 Oct 2023 13:59:13 +0200 [thread overview]
Message-ID: <87msx1jkvi.fsf@gnu.org> (raw)
In-Reply-To: <87pm4tuej8.fsf@inria.fr> ("Ludovic Courtès"'s message of "Sat, 15 Jul 2023 22:04:59 +0200")
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:
> [ 121.281600] shepherd[1]: Service user-homes has been started.
> [ 121.282538] shepherd[1]: Service user-homes started.
> [ 121.368316] ipmi_si IPI0001:00: Using irq 10
> [ 121.405790] ipmi_si IPI0001:00: IPMI message handler: Found new BMC (man_id: 0x0002a2, prod_id: 0x0100, dev_id: 0x20)
> [ 121.419871] shepherd[1]: Exception caught while starting #<<service> 7f19889012a0>: (wrong-type-arg "port-filename" "Wrong type argument in position ~A: ~S" (1 #<closed: file 7f1981887000>) (#<closed: file 7f1981887000>))
> [ 121.420074] shepherd[1]: Service user-homes running with value #t.
> [ 121.420218] shepherd[1]: Service networking failed to start.
>
>
> The failure seems to happen after the whole static networking config has
> been set up though (‘ip a’ shows that everything’s in place).
>
> Problem is that at this point ‘networking’ cannot be started unless you
> manually tear down everything with ‘ip’:
>
> $ sudo herd start networking
> herd: error: exception rattrapée pendant l’exécution de « start » sur le service « networking » :
> Throw to key `%exception' with args `("#<&netlink-response-error errno: 17>")'.
Quick workaround if you encounter this bug:
1. Find the “tear-down” script of your system with:
guix gc -R /run/current-system |grep tear-down-network
2. In a ‘screen’ session, run this as root:
while true ; do herd enable networking; herd start networking; sleep 3; done
3. Run:
sudo guile --no-auto-compile TEAR_DOWN_SCRIPT_FROM_STEP_1
Beautiful, isn’t it?
(We’ll actually work on fixing the bug, too…)
Ludo’.
next prev parent reply other threads:[~2023-10-02 12:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-15 20:04 bug#64653: ‘static-networking’ fails to start Ludovic Courtès
2023-09-17 16:42 ` bug#64653: stopping ntp and dnsmasq Matt Wette
2023-09-17 17:09 ` Matt Wette
2023-10-02 11:59 ` Ludovic Courtès [this message]
2023-11-11 16:25 ` bug#64653: ‘static-networking’ fails to start Leo Nikkilä via Bug reports for GNU Guix
2024-01-03 23:42 ` Ludovic Courtès
2024-01-05 16:32 ` Ludovic Courtès
2024-01-20 21:14 ` bug#64653: works now Matt Wette
2024-03-25 11:52 ` bug#64653: 'static-networking' fails to start Fabio Natali via Bug reports for GNU Guix
2024-03-25 18:43 ` Fabio Natali 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87msx1jkvi.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=64653@debbugs.gnu.org \
--cc=guix@cbaines.net \
--cc=matt.wette@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.