GNU bug report logs -
#64850
[PATCH 0/1] Provide a way to use multiple dhcp clients with static-networking
Previous Next
Reported by: Alexey Abramov <levenson <at> mmer.org>
Date: Tue, 25 Jul 2023 10:59:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#64850: [PATCH 0/1] Provide a way to use multiple dhcp clients with static-networking
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 64850 <at> debbugs.gnu.org.
--
64850: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64850
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
Alexey Abramov <levenson <at> mmer.org> skribis:
> * gnu/services/networking.scm: Allow setting up provision to allow running
> DHCP client and static network configuration simultaneously.
> ---
> gnu/services/networking.scm | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
> index 5657b141d9..dc75c2f59d 100644
> --- a/gnu/services/networking.scm
> +++ b/gnu/services/networking.scm
> @@ -88,6 +88,7 @@ (define-module (gnu services networking)
> dhcp-client-configuration
> dhcp-client-configuration?
> dhcp-client-configuration-package
> + dhcp-client-configuration-provision
> dhcp-client-configuration-interfaces
> dhcp-client-configuration-shepherd-requirement
>
> @@ -303,6 +304,8 @@ (define-record-type* <dhcp-client-configuration>
> (default isc-dhcp))
> (shepherd-requirement dhcp-client-configuration-shepherd-requirement
> (default '()))
> + (provision dhcp-client-configuration-provision
> + (default '(networking)))
I changed the field name to ‘shepherd-provision’ for consistency and
documented it in ‘doc/guix.texi’. Committed!
Thanks,
Ludo’.
[Message part 3 (message/rfc822, inline)]
In a case you need to configure existing interfaces, rename them or for
example construct a bond first and attach dhcp client to it, we need to run
static-networking AND dhcp-client at the same time. At this moment both
services provision 'networking by default.
Even though we can override provision for static-networking, it is still not
enough in case we need to run multiple dhcp-clients on different interfaces.
This patch will allow provision override for dhcp-client. This is an addition to bug#64616.
Alexey Abramov (1):
services: dhcp-client-configuration: Allow provision override
gnu/services/networking.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.40.1
This bug report was last modified 1 year and 251 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.