X-Loop: [email protected] Subject: bug#421: isc-dhcp-client: no ipv6 prefix set automatically Reply-To: Adrian Zaugg <[email protected]>, [email protected] Resent-From: Adrian Zaugg <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Sat, 04 Apr 2020 21:18:02 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: report 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: Received: via spool by [email protected] id=B.158603460422186 (code B); Sat, 04 Apr 2020 21:18:02 +0000 Received: (at submit) by bugs.devuan.org; 4 Apr 2020 21:10:04 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sat, 04 Apr 2020 21:10:04 +0000 (UTC) Received: from ente.limmat.ch (ente.limmat.ch [62.12.167.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 97E47F606F8 for <[email protected]>; Sat, 4 Apr 2020 23:00:29 +0200 (CEST) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; secure) header.d=ente.limmat.ch [email protected] header.b="K1jT+j9t"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ente.limmat.ch; s=main; h=X-MTA-Admin-Wish:Date:Message-ID:To:From:Content-Transfer-Encoding:MIME-Version:Content-Type; bh=c1gEhziattlNHQhBEH/7yF3mv50Ubc9+OG9E/Js+m8Y=; b=K1jT+j9tquViJsxPbHritg15UjHvt2HAcOwqw8BwwSPbSZC8vac2ZUgkriwSsl4L0BIodY90R7Gvzu4mF6fCBx6IFyg60gAdePWyox0j9ErCYauUTXkCuOUSH94E6w03mU1KD6Sor1uw04dgCe7vYvifCGQWPa3frcq9Ap5edUxQSi4g6xruhNvUxqoHUW/2gR/sK8UVVVGLaoPrC+2GPk1sTgfulggNX9L6JRs0gcC7xXUxT99ffNpf+CSZtYGSablK1cvNcdGsZfRYV6MqdTqSTGilN05EA9q6+wK+FR2Ny7pvlHl0tjcZleuheF5i2HT5Kwh50rrvA0fqtsatTQ==; Received: from adi by ente.limmat.ch with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jKpu0-00032y-KS; Sat, 04 Apr 2020 23:00:28 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adrian Zaugg <[email protected]> To: Devuan Bug Tracking System <[email protected]> Message-ID: <[email protected]> X-Mailer: reportbug 6.6.3+devuan1.3 Date: Sat, 04 Apr 2020 23:00:28 +0200 X-MTA-Admin-Wish: Preserve the environment, save the climate. X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: isc-dhcp-client Version: 4.3.5-3+deb9u1 Severity: important Requesting an address over dhcp6 does not set the ipv6 prefix length. The address received seems always get a /128 prefix set, even if the dhcp6 server sends another one. I expect dhclient to set the prefix lenght, if the dhcp6 server sends one. The code in /sbin/dhclient-script under "### DHCPv6 Handlers" is the same in ascii and Debian/unstable (4.4.1-2.1+b2). It has a mark "TODO: handle prefix change: ?based on ${old_ip6_prefix} and ${new_ip6_prefix}?"... In the code that does set the ipv6 address using iproute2 there is no prefix mentioned. See line 385 and the following: 385 BOUND6|RENEW6|REBIND6) 386 if [ "${new_ip6_address}" ]; then 387 # set leased IP 388 ip -6 addr add ${new_ip6_address} \ 389 dev ${interface} scope global 390 fi This part has two problems: It should also be called upon reason REBOOT6 (see dhclient-script(8)) and it should set the prefix if one was given. I suggest to change this to: 385 BOUND6|RENEW6|REBIND6|REBOOT6) 386 if [ "${new_ip6_address}" ]; then 387 388 # check wether a prefix was passed and add it to the address 389 if [ -n "$new_ip6_prefixlen" ]; then 390 new_ip6_address_and_prefix="${new_ip6_address}/${new_ip6_prefixlen}" 391 else 392 new_ip6_address_and_prefix="${new_ip6_address}" 393 fi 394 395 # set leased IP 396 ip -6 addr add ${new_ip6_address_and_prefix} \ 397 dev ${interface} scope global According to my tests this resolves the problem. Please review. Regards, Adrian. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 2.1 (ascii) Release: 2.1 Codename: ascii Architecture: x86_64 Kernel: Linux 4.9.0-12-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages isc-dhcp-client depends on: ii debianutils 4.8.1.1 ii iproute2 4.9.0-1+deb9u1 ii libc6 2.24-11+deb9u4 ii libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u5 ii libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5 Versions of packages isc-dhcp-client recommends: ii isc-dhcp-common 4.3.5-3+deb9u1 Versions of packages isc-dhcp-client suggests: pn avahi-autoipd <none> pn isc-dhcp-client-ddns <none> ii resolvconf 1.79 -- Configuration Files: /etc/dhcp/debug changed [not included] -- no debconf information
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Adrian Zaugg <[email protected]> Subject: bug#421: Acknowledgement (isc-dhcp-client: no ipv6 prefix set automatically) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack 421 X-Devuan-PR-Package: isc-dhcp-client Reply-To: [email protected] Date: Sat, 04 Apr 2020 21:18:06 +0000 Thank you for filing a new bug report with Devuan. You can follow progress on this bug here: 421: https://bugs.devuan.org/cgi/= bugreport.cgi?bug=3D421. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 421: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D421 Devuan Bug Tracking System Contact [email protected] with problems
X-Loop: [email protected] Subject: bug#421: isc-dhcp-client: no ipv6 prefix set automatically Reply-To: Mark Hindley <[email protected]>, [email protected] Resent-From: Mark Hindley <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Sun, 05 Apr 2020 09:03:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: References: <[email protected]> <[email protected]> Received: via spool by [email protected] id=B421.15860772028234 (code B ref 421); Sun, 05 Apr 2020 09:03:01 +0000 Received: (at 421) by bugs.devuan.org; 5 Apr 2020 09:00:02 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sun, 05 Apr 2020 09:00:01 +0000 (UTC) Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 041F2F60C54 for <[email protected]>; Sun, 5 Apr 2020 10:49:05 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=apollo) by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <[email protected]>) id 1jL0xg-0006ur-UY; Sun, 05 Apr 2020 09:49:01 +0100 Received: from mark by apollo with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jL0xf-0003iT-T9; Sun, 05 Apr 2020 09:48:59 +0100 Date: Sun, 5 Apr 2020 09:48:59 +0100 From: Mark Hindley <[email protected]> To: Adrian Zaugg <[email protected]>, [email protected] Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Control: tags -1 debian On Sat, Apr 04, 2020 at 11:00:28PM +0200, Adrian Zaugg wrote: > Package: isc-dhcp-client > Version: 4.3.5-3+deb9u1 > Severity: important > > Requesting an address over dhcp6 does not set the ipv6 prefix length. The address received seems always get > a /128 prefix set, even if the dhcp6 server sends another one. Adrian, Thanks for this. However isc-dhcp-client is not a forked package and Devuan uses the Debian pacakges directly. You would be better reporting this directly to Debian's BTS. Thanks. Mark
Received: (at 421) by bugs.devuan.org; 5 Apr 2020 09:00:02 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sun, 05 Apr 2020 09:00:01 +0000 (UTC) Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 041F2F60C54 for <[email protected]>; Sun, 5 Apr 2020 10:49:05 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=apollo) by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <[email protected]>) id 1jL0xg-0006ur-UY; Sun, 05 Apr 2020 09:49:01 +0100 Received: from mark by apollo with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jL0xf-0003iT-T9; Sun, 05 Apr 2020 09:48:59 +0100 Date: Sun, 5 Apr 2020 09:48:59 +0100 From: Mark Hindley <[email protected]> To: Adrian Zaugg <[email protected]>, [email protected] Subject: Re: bug#421: isc-dhcp-client: no ipv6 prefix set automatically Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Control: tags -1 debian On Sat, Apr 04, 2020 at 11:00:28PM +0200, Adrian Zaugg wrote: > Package: isc-dhcp-client > Version: 4.3.5-3+deb9u1 > Severity: important > > Requesting an address over dhcp6 does not set the ipv6 prefix length. The address received seems always get > a /128 prefix set, even if the dhcp6 server sends another one. Adrian, Thanks for this. However isc-dhcp-client is not a forked package and Devuan uses the Debian pacakges directly. You would be better reporting this directly to Debian's BTS. Thanks. Mark
X-Loop: [email protected] Subject: bug#421: reported to Debian under #955825 Reply-To: Adrian Zaugg <[email protected]>, [email protected] Resent-From: Adrian Zaugg <[email protected]> Resent-To: [email protected] Resent-CC: [email protected] X-Loop: [email protected] Resent-Date: Sun, 05 Apr 2020 12:18:01 +0000 Resent-Message-ID: <[email protected]> Resent-Sender: [email protected] X-Devuan-PR-Message: followup 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: debian References: <[email protected]> Received: via spool by [email protected] id=B421.158608860217589 (code B ref 421); Sun, 05 Apr 2020 12:18:01 +0000 Received: (at 421) by bugs.devuan.org; 5 Apr 2020 12:10:02 +0000 Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sun, 05 Apr 2020 12:10:02 +0000 (UTC) Received: from ente.limmat.ch (ente.limmat.ch [62.12.167.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 60D30F6093C for <[email protected]>; Sun, 5 Apr 2020 13:59:01 +0200 (CEST) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; secure) header.d=ente.limmat.ch [email protected] header.b="PoLwEKSg"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ente.limmat.ch; s=main; h=X-MTA-Admin-Wish:Content-Transfer-Encoding:Content-Language:Content-Type:MIME-Version:User-Agent:Date:Message-ID:Autocrypt:From:To; bh=rHnOTUTfsGp8s5Lm6+U0ZikZInSqtthDZoU6aITCFH8=; b=PoLwEKSgyitdZIwn/fNyER7GjsOJ1XBSWjy0/qkWR0e4RYRSHQB0cZir4Dfa8K3nxUUmi+PHmXUeuK5efsDnuZYhWMUj8SitIHh57uDiIDUjYvmGLB9FjIfRgQpENO6JUn+uVsSUB5X7Shzq0PgsJL++oKDIXRAv71m7T59QAtcrQIdkR+gKkYqof7YPxMeDVeBATsJLDY/G+Bik/0BGbk8xztoCzyZTOBc9O3Cp33ADlVWE/e/fhDPbvrF29Ua3DtVQ1Q3w6WTCDo/An8ZhemwRzR99GjQC1vBokIBbl93SO3xj/bsNcC2LTd3Tg8B9DhxWpfG6879NkbOzsu274w==; Received: from yoghurt.3eck.net ([62.12.167.105] helo=ki.intern.3eck.net) by ente.limmat.ch with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <[email protected]>) id 1jL3vY-0001Jd-ME for [email protected]; Sun, 05 Apr 2020 13:59:00 +0200 To: [email protected] From: Adrian Zaugg <[email protected]> Autocrypt: [email protected]; prefer-encrypt=mutual; keydata= mQINBE3Ia7cBEADr56lgL7v0YzLcyS6VPYQLp2r0QYV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ahe71Gj+FkQARAQABiQIfBBgBCAAJ AhsMBQJS4FqlAAoJEF98KdI0V0ZjW6gQAJm1/zJ3YX2Vy5hA/SoufUYPBvWNRppFNCumHzJy lPJjpUVvz4x3dK04ok0fd9IRVw1JdSkYajei7fatUCrzZfxjAqihGziaaGSygasFLxn1gZQz h50eJpnUnjeRFBFw0yiD7Kdx14/EW5CsXUurbmuhL2njVDvKURe22T4eeHhcdCtIDPdvcxc2 bmTibQZ9nMKraXtEQCkU8yr0p+GkkuFiWYmqLayIvxeDnm4mMpXcTnfbihyL9Tz7N0m9jbLD fPO2dp8hufMUkhizNQNr7wC7qQi9w3b7QEi7bLk0Szt/oOldlkuVnB+hAQEzmhsA37JSXN9A qtCNYP/1WN4sHskqrmbAaWBD9AwGpDEEtNX0oUKR1YTyMkv+zHa+/LaXWe0Zod8j2Hh9CofK KB5BoMvclteIY3qTuoHbphJrGw9OTyHoEkV4Wjg/w2h2+7GLIDTnNEBsstCe3y03NNavRvlo DRioDlbum1sZC3Lu9G3Lpn8SpMOBJ2QUPRuhJ6sHMs4zMBGxOIKYtC0JyJtdoOwZi0SmdJtE jko4xf3DxgIwDOEHBy8saLwsbGJguRujrND37atMoSigjI9yTAeZ4M+SxYm+8hexzWFQIrnu ESIo5Xs7vVZtfRwKbQTo6U4CZdFhdWL2ozF3OOnNv5cI9Sc2qmj1apZ7oNjaOeLDNqcT Message-ID: <[email protected]> Date: Sun, 5 Apr 2020 13:58:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-CH Content-Transfer-Encoding: 7bit X-Welcome: ente.limmat.ch X-Virus-Scanned: ClamAV on ente.limmat.ch X-Spam-Scanned: No. Real men don't spam. (user authentication succeeded) X-MTA-Admin-Wish: Preserve the environment, save the climate. X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Could you please close this bug, I reported it to Debian directly. You can find it under #955825 [1]. Thank you. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955825
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Adrian Zaugg <[email protected]> Subject: bug#421: Info received (reported to Debian under #955825) Message-ID: <[email protected]> References: <[email protected]> X-Devuan-PR-Message: ack-info 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Sun, 05 Apr 2020 12:18:05 +0000 Thank you for the additional information you have supplied regarding this bug report. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): [email protected] If you wish to submit further information on this problem, please send it to [email protected]. Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system. --=20 421: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D421 Devuan Bug Tracking System Contact [email protected] with problems
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Mark Hindley <[email protected]> Subject: bug#421: marked as done (isc-dhcp-client: no ipv6 prefix set automatically) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: closed 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Mon, 06 Apr 2020 09:18:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1586164681-6787-0" This is a multi-part message in MIME format... ------------=_1586164681-6787-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Mon, 6 Apr 2020 09:59:40 +0100 with message-id <[email protected]> and subject line Re: reported to Debian under #955825 has caused the Devuan bug report #421, regarding isc-dhcp-client: no ipv6 prefix set automatically to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) --=20 421: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D421 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1586164681-6787-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 4 Apr 2020 21:10:04 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sat, 04 Apr 2020 21:10:04 +0000 (UTC) Received: from ente.limmat.ch (ente.limmat.ch [62.12.167.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 97E47F606F8 for <[email protected]>; Sat, 4 Apr 2020 23:00:29 +0200 (CEST) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; secure) header.d=ente.limmat.ch [email protected] header.b="K1jT+j9t"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ente.limmat.ch; s=main; h=X-MTA-Admin-Wish:Date:Message-ID:To:From:Content-Transfer-Encoding:MIME-Version:Content-Type; bh=c1gEhziattlNHQhBEH/7yF3mv50Ubc9+OG9E/Js+m8Y=; b=K1jT+j9tquViJsxPbHritg15UjHvt2HAcOwqw8BwwSPbSZC8vac2ZUgkriwSsl4L0BIodY90R7Gvzu4mF6fCBx6IFyg60gAdePWyox0j9ErCYauUTXkCuOUSH94E6w03mU1KD6Sor1uw04dgCe7vYvifCGQWPa3frcq9Ap5edUxQSi4g6xruhNvUxqoHUW/2gR/sK8UVVVGLaoPrC+2GPk1sTgfulggNX9L6JRs0gcC7xXUxT99ffNpf+CSZtYGSablK1cvNcdGsZfRYV6MqdTqSTGilN05EA9q6+wK+FR2Ny7pvlHl0tjcZleuheF5i2HT5Kwh50rrvA0fqtsatTQ==; Received: from adi by ente.limmat.ch with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jKpu0-00032y-KS; Sat, 04 Apr 2020 23:00:28 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adrian Zaugg <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: isc-dhcp-client: no ipv6 prefix set automatically Message-ID: <[email protected]> X-Mailer: reportbug 6.6.3+devuan1.3 Date: Sat, 04 Apr 2020 23:00:28 +0200 X-MTA-Admin-Wish: Preserve the environment, save the climate. X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: isc-dhcp-client Version: 4.3.5-3+deb9u1 Severity: important Requesting an address over dhcp6 does not set the ipv6 prefix length. The address received seems always get a /128 prefix set, even if the dhcp6 server sends another one. I expect dhclient to set the prefix lenght, if the dhcp6 server sends one. The code in /sbin/dhclient-script under "### DHCPv6 Handlers" is the same in ascii and Debian/unstable (4.4.1-2.1+b2). It has a mark "TODO: handle prefix change: ?based on ${old_ip6_prefix} and ${new_ip6_prefix}?"... In the code that does set the ipv6 address using iproute2 there is no prefix mentioned. See line 385 and the following: 385 BOUND6|RENEW6|REBIND6) 386 if [ "${new_ip6_address}" ]; then 387 # set leased IP 388 ip -6 addr add ${new_ip6_address} \ 389 dev ${interface} scope global 390 fi This part has two problems: It should also be called upon reason REBOOT6 (see dhclient-script(8)) and it should set the prefix if one was given. I suggest to change this to: 385 BOUND6|RENEW6|REBIND6|REBOOT6) 386 if [ "${new_ip6_address}" ]; then 387 388 # check wether a prefix was passed and add it to the address 389 if [ -n "$new_ip6_prefixlen" ]; then 390 new_ip6_address_and_prefix="${new_ip6_address}/${new_ip6_prefixlen}" 391 else 392 new_ip6_address_and_prefix="${new_ip6_address}" 393 fi 394 395 # set leased IP 396 ip -6 addr add ${new_ip6_address_and_prefix} \ 397 dev ${interface} scope global According to my tests this resolves the problem. Please review. Regards, Adrian. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 2.1 (ascii) Release: 2.1 Codename: ascii Architecture: x86_64 Kernel: Linux 4.9.0-12-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages isc-dhcp-client depends on: ii debianutils 4.8.1.1 ii iproute2 4.9.0-1+deb9u1 ii libc6 2.24-11+deb9u4 ii libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u5 ii libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5 Versions of packages isc-dhcp-client recommends: ii isc-dhcp-common 4.3.5-3+deb9u1 Versions of packages isc-dhcp-client suggests: pn avahi-autoipd <none> pn isc-dhcp-client-ddns <none> ii resolvconf 1.79 -- Configuration Files: /etc/dhcp/debug changed [not included] -- no debconf information ------------=_1586164681-6787-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 421-done) by bugs.devuan.org; 6 Apr 2020 09:10:04 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Mon, 06 Apr 2020 09:10:03 +0000 (UTC) Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 8FBA6F609F2 for <[email protected]>; Mon, 6 Apr 2020 10:59:48 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=apollo) by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <[email protected]>) id 1jLNbb-0008KJ-Vf for [email protected]; Mon, 06 Apr 2020 09:59:45 +0100 Received: from mark by apollo with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jLNbY-0006Wg-KZ for [email protected]; Mon, 06 Apr 2020 09:59:40 +0100 Date: Mon, 6 Apr 2020 09:59:40 +0100 From: Mark Hindley <[email protected]> To: [email protected] Subject: Re: reported to Debian under #955825 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Sun, 5 Apr 2020 13:58:54 +0200 Adrian Zaugg <[email protected]> wrote: > > Could you please close this bug, I reported it to Debian directly. You > can find it under #955825 [1]. Thank you. > > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955825 Thanks. Closing here. Mark ------------=_1586164681-6787-0--
MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: [email protected] From: "Devuan bug Tracking System" <[email protected]> To: Adrian Zaugg <[email protected]> Subject: bug#421 closed by Mark Hindley <[email protected]> (Re: reported to Debian under #955825) Message-ID: <[email protected]> References: <[email protected]> <[email protected]> X-Devuan-PR-Message: they-closed 421 X-Devuan-PR-Package: isc-dhcp-client X-Devuan-PR-Keywords: debian Reply-To: [email protected] Date: Mon, 06 Apr 2020 09:18:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1586164684-6787-1" This is a multi-part message in MIME format... ------------=_1586164684-6787-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the isc-dhcp-client package: #421: isc-dhcp-client: no ipv6 prefix set automatically It has been closed by Mark Hindley <[email protected]>. Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mark Hindley <mark@hin= dley.org.uk> by replying to this email. --=20 421: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D421 Devuan Bug Tracking System Contact [email protected] with problems ------------=_1586164684-6787-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 421-done) by bugs.devuan.org; 6 Apr 2020 09:10:04 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Mon, 06 Apr 2020 09:10:03 +0000 (UTC) Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 8FBA6F609F2 for <[email protected]>; Mon, 6 Apr 2020 10:59:48 +0200 (CEST) Received: from apollo.hindleynet ([192.168.1.3] helo=apollo) by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <[email protected]>) id 1jLNbb-0008KJ-Vf for [email protected]; Mon, 06 Apr 2020 09:59:45 +0100 Received: from mark by apollo with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jLNbY-0006Wg-KZ for [email protected]; Mon, 06 Apr 2020 09:59:40 +0100 Date: Mon, 6 Apr 2020 09:59:40 +0100 From: Mark Hindley <[email protected]> To: [email protected] Subject: Re: reported to Debian under #955825 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> X-Debbugs-No-Ack: No Thanks User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org On Sun, 5 Apr 2020 13:58:54 +0200 Adrian Zaugg <[email protected]> wrote: > > Could you please close this bug, I reported it to Debian directly. You > can find it under #955825 [1]. Thank you. > > > [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955825 Thanks. Closing here. Mark ------------=_1586164684-6787-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 4 Apr 2020 21:10:04 +0000 Return-Path: <[email protected]> Delivered-To: [email protected] Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for <debbugs@localhost> (single-drop); Sat, 04 Apr 2020 21:10:04 +0000 (UTC) Received: from ente.limmat.ch (ente.limmat.ch [62.12.167.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 97E47F606F8 for <[email protected]>; Sat, 4 Apr 2020 23:00:29 +0200 (CEST) Authentication-Results: vm6.ganeti.dyne.org; dkim=pass (2048-bit key; secure) header.d=ente.limmat.ch [email protected] header.b="K1jT+j9t"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ente.limmat.ch; s=main; h=X-MTA-Admin-Wish:Date:Message-ID:To:From:Content-Transfer-Encoding:MIME-Version:Content-Type; bh=c1gEhziattlNHQhBEH/7yF3mv50Ubc9+OG9E/Js+m8Y=; b=K1jT+j9tquViJsxPbHritg15UjHvt2HAcOwqw8BwwSPbSZC8vac2ZUgkriwSsl4L0BIodY90R7Gvzu4mF6fCBx6IFyg60gAdePWyox0j9ErCYauUTXkCuOUSH94E6w03mU1KD6Sor1uw04dgCe7vYvifCGQWPa3frcq9Ap5edUxQSi4g6xruhNvUxqoHUW/2gR/sK8UVVVGLaoPrC+2GPk1sTgfulggNX9L6JRs0gcC7xXUxT99ffNpf+CSZtYGSablK1cvNcdGsZfRYV6MqdTqSTGilN05EA9q6+wK+FR2Ny7pvlHl0tjcZleuheF5i2HT5Kwh50rrvA0fqtsatTQ==; Received: from adi by ente.limmat.ch with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1jKpu0-00032y-KS; Sat, 04 Apr 2020 23:00:28 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adrian Zaugg <[email protected]> To: Devuan Bug Tracking System <[email protected]> Subject: isc-dhcp-client: no ipv6 prefix set automatically Message-ID: <[email protected]> X-Mailer: reportbug 6.6.3+devuan1.3 Date: Sat, 04 Apr 2020 23:00:28 +0200 X-MTA-Admin-Wish: Preserve the environment, save the climate. X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Package: isc-dhcp-client Version: 4.3.5-3+deb9u1 Severity: important Requesting an address over dhcp6 does not set the ipv6 prefix length. The address received seems always get a /128 prefix set, even if the dhcp6 server sends another one. I expect dhclient to set the prefix lenght, if the dhcp6 server sends one. The code in /sbin/dhclient-script under "### DHCPv6 Handlers" is the same in ascii and Debian/unstable (4.4.1-2.1+b2). It has a mark "TODO: handle prefix change: ?based on ${old_ip6_prefix} and ${new_ip6_prefix}?"... In the code that does set the ipv6 address using iproute2 there is no prefix mentioned. See line 385 and the following: 385 BOUND6|RENEW6|REBIND6) 386 if [ "${new_ip6_address}" ]; then 387 # set leased IP 388 ip -6 addr add ${new_ip6_address} \ 389 dev ${interface} scope global 390 fi This part has two problems: It should also be called upon reason REBOOT6 (see dhclient-script(8)) and it should set the prefix if one was given. I suggest to change this to: 385 BOUND6|RENEW6|REBIND6|REBOOT6) 386 if [ "${new_ip6_address}" ]; then 387 388 # check wether a prefix was passed and add it to the address 389 if [ -n "$new_ip6_prefixlen" ]; then 390 new_ip6_address_and_prefix="${new_ip6_address}/${new_ip6_prefixlen}" 391 else 392 new_ip6_address_and_prefix="${new_ip6_address}" 393 fi 394 395 # set leased IP 396 ip -6 addr add ${new_ip6_address_and_prefix} \ 397 dev ${interface} scope global According to my tests this resolves the problem. Please review. Regards, Adrian. -- System Information: Distributor ID: Devuan Description: Devuan GNU/Linux 2.1 (ascii) Release: 2.1 Codename: ascii Architecture: x86_64 Kernel: Linux 4.9.0-12-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages isc-dhcp-client depends on: ii debianutils 4.8.1.1 ii iproute2 4.9.0-1+deb9u1 ii libc6 2.24-11+deb9u4 ii libdns-export162 1:9.10.3.dfsg.P4-12.3+deb9u5 ii libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5 Versions of packages isc-dhcp-client recommends: ii isc-dhcp-common 4.3.5-3+deb9u1 Versions of packages isc-dhcp-client suggests: pn avahi-autoipd <none> pn isc-dhcp-client-ddns <none> ii resolvconf 1.79 -- Configuration Files: /etc/dhcp/debug changed [not included] -- no debconf information ------------=_1586164684-6787-1--
Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <[email protected]>.
Last modified:
Thu, 30 Jan 2025 06:39:01 UTC