GNU bug report logs - #44571
Cannot configure a static IPv6 with static-networking-service-type

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: divoplade <d@HIDDEN>; dated Wed, 11 Nov 2020 10:57:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 44571 <at> debbugs.gnu.org:


Received: (at 44571) by debbugs.gnu.org; 11 Nov 2020 12:03:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 11 07:03:56 2020
Received: from localhost ([127.0.0.1]:40459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kcoqy-0007xp-1X
	for submit <at> debbugs.gnu.org; Wed, 11 Nov 2020 07:03:56 -0500
Received: from lepiller.eu ([89.234.186.109]:53816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kcoqu-0007xe-Ka
 for 44571 <at> debbugs.gnu.org; Wed, 11 Nov 2020 07:03:54 -0500
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id 96ce14e0;
 Wed, 11 Nov 2020 12:03:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=Gmqx9a6Gw9ItqHqK8F6kznb5R6bePBMPkJ4uQ8Mvr3U=; b=BrdkZR5uOO4s
 d42DgfKLoc+Os0K2WZDdwpgiFn5UQXfXory17os4z7dYREVerOdVSe5lPZfF1d8G
 uz4hIZHrsnE2SnhargGVgu5f1rr7B5IcCvfUjFn4Bhud3olD5fPCdbBxrJ73R+q7
 UM8sFpoleaoVp/uAdWdOaLY04QdznID+Y8hq9bGCAUvVgy24rkVDSb2khJeNAdqq
 YPl9hOlhsGKmJrX6MkUWDlUsLL7bI6OQpO9da6ztqICrbxqqB6A2JZDHMgtcOm1V
 uqz082880osHE+rsf3akRTllIiVI9NqAlNey3JYklFF4keYVTX9S9PUcZsbfoiBE
 Wi3ckwkH/A==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 467580be
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Wed, 11 Nov 2020 12:03:46 +0000 (UTC)
Date: Wed, 11 Nov 2020 07:03:30 -0500
User-Agent: K-9 Mail for Android
In-Reply-To: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@HIDDEN>
References: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#44571: Cannot configure a static IPv6 with
 static-networking-service-type
To: bug-guix@HIDDEN,divoplade <d@HIDDEN>,44571 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <3121D0B2-5320-4232-A968-E68A791F6A80@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 44571
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)



Le 11 novembre 2020 05:56:24 GMT-05:00, divoplade <d@divoplade=2Efr> a =C3=
=A9crit :
>Dear guix,
>
>My interface should be configured to have 2 static ip addresses, an
>IPv4 address and a global IPv6 address=2E
>
>The static-networking-service-type will only accept one per device, and
>will reject the IPv6 address (if I drop the IPv4 address) because it
>can't parse it=2E

Thanks for the report=2E This is a known issue and I'm working on it=2E Th=
e idea is to implement the netlink interface in guile and use it to configu=
re the network=2E I currently have the low-level bits for managing interfac=
es and addresses=2E I'm missing the routing part=2E Once I have this, I can=
 think of a high-level interface that will allow us to build a static-netwo=
rk-service-type that understands IPv4 and IPv6=2E

See https://git=2Elepiller=2Eeu/guile-netlink

>
>My workaround is to add a shepherd service that runs ip address add dev
>eno1 the-address and ip address delete dev eno1 the-address, with ip
>from iproute2=2E Maybe static-networking-service-type could do something
>better for me?
>
>Best regards,
>
>divoplade




Information forwarded to bug-guix@HIDDEN:
bug#44571; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 12:04:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 11 07:04:00 2020
Received: from localhost ([127.0.0.1]:40462 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kcor2-0007y6-97
	for submit <at> debbugs.gnu.org; Wed, 11 Nov 2020 07:04:00 -0500
Received: from lists.gnu.org ([209.51.188.17]:53388)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1kcor1-0007xz-3d
 for submit <at> debbugs.gnu.org; Wed, 11 Nov 2020 07:03:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57466)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1kcor0-0006Kw-UX
 for bug-guix@HIDDEN; Wed, 11 Nov 2020 07:03:58 -0500
Received: from lepiller.eu ([2a00:5884:8208::1]:40790)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1kcoqy-0004nb-Mi
 for bug-guix@HIDDEN; Wed, 11 Nov 2020 07:03:58 -0500
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id 96ce14e0;
 Wed, 11 Nov 2020 12:03:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :in-reply-to:references:mime-version:content-type
 :content-transfer-encoding:subject:to:from:message-id; s=dkim;
 bh=Gmqx9a6Gw9ItqHqK8F6kznb5R6bePBMPkJ4uQ8Mvr3U=; b=BrdkZR5uOO4s
 d42DgfKLoc+Os0K2WZDdwpgiFn5UQXfXory17os4z7dYREVerOdVSe5lPZfF1d8G
 uz4hIZHrsnE2SnhargGVgu5f1rr7B5IcCvfUjFn4Bhud3olD5fPCdbBxrJ73R+q7
 UM8sFpoleaoVp/uAdWdOaLY04QdznID+Y8hq9bGCAUvVgy24rkVDSb2khJeNAdqq
 YPl9hOlhsGKmJrX6MkUWDlUsLL7bI6OQpO9da6ztqICrbxqqB6A2JZDHMgtcOm1V
 uqz082880osHE+rsf3akRTllIiVI9NqAlNey3JYklFF4keYVTX9S9PUcZsbfoiBE
 Wi3ckwkH/A==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 467580be
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Wed, 11 Nov 2020 12:03:46 +0000 (UTC)
Date: Wed, 11 Nov 2020 07:03:30 -0500
User-Agent: K-9 Mail for Android
In-Reply-To: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@HIDDEN>
References: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#44571: Cannot configure a static IPv6 with
 static-networking-service-type
To: bug-guix@HIDDEN,divoplade <d@HIDDEN>,44571 <at> debbugs.gnu.org
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <3121D0B2-5320-4232-A968-E68A791F6A80@HIDDEN>
Received-SPF: pass client-ip=2a00:5884:8208::1;
 envelope-from=julien@HIDDEN; helo=lepiller.eu
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)



Le 11 novembre 2020 05:56:24 GMT-05:00, divoplade <d@divoplade=2Efr> a =C3=
=A9crit :
>Dear guix,
>
>My interface should be configured to have 2 static ip addresses, an
>IPv4 address and a global IPv6 address=2E
>
>The static-networking-service-type will only accept one per device, and
>will reject the IPv6 address (if I drop the IPv4 address) because it
>can't parse it=2E

Thanks for the report=2E This is a known issue and I'm working on it=2E Th=
e idea is to implement the netlink interface in guile and use it to configu=
re the network=2E I currently have the low-level bits for managing interfac=
es and addresses=2E I'm missing the routing part=2E Once I have this, I can=
 think of a high-level interface that will allow us to build a static-netwo=
rk-service-type that understands IPv4 and IPv6=2E

See https://git=2Elepiller=2Eeu/guile-netlink

>
>My workaround is to add a shepherd service that runs ip address add dev
>eno1 the-address and ip address delete dev eno1 the-address, with ip
>from iproute2=2E Maybe static-networking-service-type could do something
>better for me?
>
>Best regards,
>
>divoplade




Information forwarded to bug-guix@HIDDEN:
bug#44571; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Nov 2020 10:56:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 11 05:56:36 2020
Received: from localhost ([127.0.0.1]:40358 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kcnno-00065V-4p
	for submit <at> debbugs.gnu.org; Wed, 11 Nov 2020 05:56:36 -0500
Received: from lists.gnu.org ([209.51.188.17]:35180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <d@HIDDEN>) id 1kcnnm-00065N-LF
 for submit <at> debbugs.gnu.org; Wed, 11 Nov 2020 05:56:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43194)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <d@HIDDEN>) id 1kcnnm-0007iY-75
 for bug-guix@HIDDEN; Wed, 11 Nov 2020 05:56:34 -0500
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:52391)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <d@HIDDEN>) id 1kcnni-0006Rl-Iz
 for bug-guix@HIDDEN; Wed, 11 Nov 2020 05:56:33 -0500
X-Originating-IP: 86.254.138.104
Received: from divoplade.home (lfbn-poi-1-813-104.w86-254.abo.wanadoo.fr
 [86.254.138.104]) (Authenticated sender: d@HIDDEN)
 by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1BDAC40007
 for <bug-guix@HIDDEN>; Wed, 11 Nov 2020 10:56:25 +0000 (UTC)
Message-ID: <1ec636e29d4ab70948fce3cf016d5240977a4423.camel@HIDDEN>
Subject: Cannot configure a static IPv6 with static-networking-service-type
From: divoplade <d@HIDDEN>
To: bug-guix@HIDDEN
Date: Wed, 11 Nov 2020 11:56:24 +0100
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=217.70.183.194; envelope-from=d@HIDDEN;
 helo=relay2-d.mail.gandi.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/11 05:56:26
X-ACL-Warn: Detected OS   = Linux 3.11 and newer [fuzzy]
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Dear guix,

My interface should be configured to have 2 static ip addresses, an
IPv4 address and a global IPv6 address.

The static-networking-service-type will only accept one per device, and
will reject the IPv6 address (if I drop the IPv4 address) because it
can't parse it.

My workaround is to add a shepherd service that runs ip address add dev
eno1 the-address and ip address delete dev eno1 the-address, with ip
from iproute2. Maybe static-networking-service-type could do something
better for me?

Best regards,

divoplade





Acknowledgement sent to divoplade <d@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#44571; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Dec 2020 17:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.