[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53225: shepherd freezes if wireguard is started with dns config enab
From: |
Ludovic Courtès |
Subject: |
bug#53225: shepherd freezes if wireguard is started with dns config enabled |
Date: |
Thu, 13 Jan 2022 16:11:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Nathan Dehnel <ncdehnel@gmail.com> skribis:
> When dns is specified, wireguard runs wg-quick, which runs resolvconf,
> which runs /run/current-system/profile/bin/herd restart, which causes
> shepherd to freeze because I guess it doesn't like being given
> multiple start commands at once. I'm not sure how to fix it.
What do you mean by “freezing”? Does ‘herd status’ and similar commands
block forever? Or is it something else?
Requests in the Shepherd are currently handled sequentially. So if you
issue several ‘herd restart’ commands, they’ll be processed one at a
time. This is usually okay because ‘start’ commands are expected to be
quick (just wait for the daemon to write its PID file or similar).
Thanks,
Ludo’.