Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 21 |
Nodes: | 6 (0 / 6) |
Uptime: | 31:44:10 |
Calls: | 139 |
Files: | 91 |
Messages: | 42,724 |
Hello,
I detected and issue with Debian SID and DHCP for IPv6.
In my network I use DHCPv6 server which works fine on stable versions of Debian or Trixie but when I add to sources.list sid source and do update
and upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog and
systemctl is reporting failed networking service and only ipv4
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
What is interesting when the system is already running I can do:
dhclient -6 enp0s3
and I get ipv6 address correctly
The problem is reproducible on Virtualbox: just install testing Debian
and add sid to source.list and do update/upgrade in apt.
The issue is very strange because during upgrade to SID I do not see installation of any networking packages.
What do you think?
Best regards,
Łukasz
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
śr., 31 lip 2024 o 00:50 George at Clug <Clug@goproject.info> napisał(a):
On Wednesday, 31-07-2024 at 06:01 Łukasz Kalamłacki wrote:
Hello,
I detected and issue with Debian SID and DHCP for IPv6.
In my network I use DHCPv6 server which works fine on stable versions of Debian or Trixie but when I add to sources.list sid source and do update
Please let us know what you have added and also what you have in "sources.list sid source"
Did you add something (or change?) something to /etc/apt/sources.list ?
Did you change anything else?
George.
and upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog and
systemctl is reporting failed networking service and only ipv4
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
What is interesting when the system is already running I can do:
dhclient -6 enp0s3
and I get ipv6 address correctly
The problem is reproducible on Virtualbox: just install testing Debian and add sid to source.list and do update/upgrade in apt.
The issue is very strange because during upgrade to SID I do not see installation of any networking packages.
What do you think?
Best regards,
Łukasz
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
In my network I use DHCPv6 server which works fine on stable versions of Debian or Trixie but when I add to sources.list sid source and do update
Please let us know what you have added and also what you have in "sources.list sid source"
Did you add something (or change?) something to /etc/apt/sources.list ?
Did you change anything else?
George.
and upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog and
systemctl is reporting failed networking service and only ipv4
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
What is interesting when the system is already running I can do:
dhclient -6 enp0s3
and I get ipv6 address correctly
The problem is reproducible on Virtualbox: just install testing Debian and add sid to source.list and do update/upgrade in apt.
The issue is very strange because during upgrade to SID I do not see installation of any networking packages.
What do you think?
Best regards,
Łukasz
On Wed, Jul 31, 2024 at 08:33:28AM +0200, Łukasz Kalamłacki wrote:
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
So that was the _only_ line in your /etc/apt/sources.list at that
point?
You install testing - upgrade as far as you can - then delete
everything in /etc/apt/sources.list and replace it with the line
above?
If you end up with an accidental mixture of trixie and sid, it would
be very hard to work out how to disentangle it.
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
śr., 31 lip 2024 o 00:50 George at Clug napisał(a):
On Wednesday, 31-07-2024 at 06:01 Łukasz Kalamłacki wrote:
Hello,
I detected and issue with Debian SID and DHCP for IPv6.
versions ofIn my network I use DHCPv6 server which works fine on stable
do updateDebian or Trixie but when I add to sources.list sid source and
/etc/apt/sources.list ?Please let us know what you have added and also what you have in "sources.list sid source"
Did you add something (or change?) something to
Did you change anything else?
George.
and upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog and
systemctl is reporting failed networking service and only ipv4
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
What is interesting when the system is already running I can do:
dhclient -6 enp0s3
and I get ipv6 address correctly
DebianThe problem is reproducible on Virtualbox: just install testing
and add sid to source.list and do update/upgrade in apt.
seeThe issue is very strange because during upgrade to SID I do not
installation of any networking packages.
What do you think?
Best regards,
Łukasz
Hi,the
I had besides sid also trixie sources but I bet that with only sid
result will be the same.need
Could you try to reproduce on VirtualBox at your side. You do not
dhcpv6 server. In normal behavior you should get timeout, but thisbug will
cause quick end with error from the first post.wrote:
Best regards,
Łukasz
śr., 31 lip 2024 o 10:35 Andrew M.A. Cater napisał(a):
On Wed, Jul 31, 2024 at 08:33:28AM +0200, Łukasz Kalamłacki
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
point?So that was the _only_ line in your /etc/apt/sources.list at that
everythingYou install testing - upgrade as far as you can - then delete
wouldin /etc/apt/sources.list and replace it with the line above?
If you end up with an accidental mixture of trixie and sid, it
and dobe very hard to work out how to disentangle it.
Andy
versions ofIn my network I use DHCPv6 server which works fine on stable
Debian or Trixie but when I add to sources.list sid source
inupdate
Please let us know what you have added and also what you have
/etc/apt/sources.list ?"sources.list sid source"
Did you add something (or change?) something to
Did you change anything else?
George.
andand upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog
ipv4systemctl is reporting failed networking service and only
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
do:What is interesting when the system is already running I can
dhclient -6 enp0s3
and I get ipv6 address correctly
testingThe problem is reproducible on Virtualbox: just install
Debian
and add sid to source.list and do update/upgrade in apt.
not seeThe issue is very strange because during upgrade to SID I do
installation of any networking packages.
What do you think?
Best regards,
Łukasz
Hi,
I added only this to sources list:
deb http://deb.debian.org/debian/ sid main contrib non-free
and nothing else
Best regards,
Łukasz
śr., 31 lip 2024 o 00:50 George at Clug napisał(a):
On Wednesday, 31-07-2024 at 06:01 Łukasz Kalamłacki wrote:
Hello,
I detected and issue with Debian SID and DHCP for IPv6.
versions ofIn my network I use DHCPv6 server which works fine on stable
do updateDebian or Trixie but when I add to sources.list sid source and
/etc/apt/sources.list ?Please let us know what you have added and also what you have in "sources.list sid source"
Did you add something (or change?) something to
Did you change anything else?
George.
and upgrade I get and error that:
"Link local ipv6 for interface is not configured" in syslog and
systemctl is reporting failed networking service and only ipv4
addressing is available.
configuration in /etc/network/interfaces
auto enp0s3
iface enp0s3 inet dhcp
iface enp0s3 inet6 dhcp
What is interesting when the system is already running I can do:
dhclient -6 enp0s3
and I get ipv6 address correctly
DebianThe problem is reproducible on Virtualbox: just install testing
and add sid to source.list and do update/upgrade in apt.
seeThe issue is very strange because during upgrade to SID I do not
installation of any networking packages.
What do you think?
Best regards,
Łukasz
</div><div>Good news is I still cannot replicate your issue. Hopefully the issue was because of the non sid sources. </div><div><br></div><div>All the best with your fault finding, and thanks for the fun of running up a couple of VMs. I reallyenjoy how VMs make testing easy.</div><div><br></div><div>Below is my checking after building the Bookworm VM, to upgrading to sid, and then checking once again.</div><div><br></div><div>George.<br></div></div><div><br></div><div># cat /etc/network/
# The primary network interface<br>allow-hotplug enp1s0<br>iface enp1s0 inet dhcp<br><br><br><br># ip -6 a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000<br> inet6 ::1/128 scope host noprefixroute <br> valid_lft forever preferred_lft forever<br>2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000<br> inet6 fe80::5054:ff:fe95:9109/64 scope link proto kernel_ll <br> &
<br>On Wednesday, 31-07-2024 at 18:15 Łukasz Kalamłacki wrote:<br><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; "><div dir="ltr"><div>Hi,</div><div><br></div><div>Are youable to reproduce at your side? You can verify this on VirtualBox even without DHCPv6 server. In normal circumstances you should get timeout on dhclient but the BUG causes that Debian should end immediately without timeout and with the error mentioned in
Hi,
I did further test on VirtualBox and on KVM.
VirtualBox on Linux somehow blocks IPv6 in bridged mode of the network configuration, so I created VM on KVM in bridged mode of the network
brctl addbr bri0
brctl addif bri0 eth1
ifconfig bri0 up
connected cable rj45, because we cannot add to the bridge wlan iface
and after adding:
auto enp8s0
iface enp8s0 inet dhcp
iface enp8s0 inet6 dhcp
to /etc/network/interfaces
and added to /etc/apt/sources.list removing all other lines
deb http://deb.debian.org/debian/ sid main non-free-firmware
deb-src http://deb.debian.org/debian/ sid main non-free-firmware
and I did
apt update
apt full-upgrade
and everything works surprisingly.
But right now I have other issue with the system where previously I did
the update wrong way, because on that machine ipv6 still does not work
and after deleting everything besides sid from sources.lists and executing
apt update
apt full-upgrade
ipv6 fails.
Do you have solution for me?
Best regards,
Łukasz
On 31.07.2024 12:51, George at Clug wrote:
Łukasz,
I wanted to do another try, but this time stay with the initial Debian installation, that is not alter /etc/network/interfaces file.
So this time I just built Bookworm, then upgraded to Sid.
Good news is I still cannot replicate your issue. Hopefully the issue
was because of the non sid sources.
All the best with your fault finding, and thanks for the fun of
running up a couple of VMs. I really enjoy how VMs make testing easy.
Below is my checking after building the Bookworm VM, to upgrading to
sid, and then checking once again.
George.
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp1s0
iface enp1s0 inet dhcp
# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000 inet6 fe80::5054:ff:fe95:9109/64 scope link
valid_lft forever preferred_lft forever
# journalctl | grep -i ipv6
Jul 31 20:06:07 debsid1 kernel: Segment Routing with IPv6
Jul 31 20:06:07 debsid1 kernel: In-situ OAM (IOAM) with IPv6
Jul 31 20:06:07 debsid1 kernel: mip6: Mobile IPv6
===============================================================================
# nano /etc/apt/sources.list
deb https://ftp.debian.org/debian/ sid contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ sid contrib main non-free non-free-firmware
# apt update && apt full-upgrade -y
# systemctl reboot
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp1s0
iface enp1s0 inet dhcp
# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000 inet6 fe80::5054:ff:fe95:9109/64 scope link proto kernel_ll valid_lft forever preferred_lft forever
# journalctl | grep -i ipv6
Jul 31 20:06:07 debsid1 kernel: Segment Routing with IPv6
Jul 31 20:06:07 debsid1 kernel: In-situ OAM (IOAM) with IPv6
Jul 31 20:06:07 debsid1 kernel: mip6: Mobile IPv6
Jul 31 20:41:06 debsid1 kernel: Segment Routing with IPv6
Jul 31 20:41:06 debsid1 kernel: In-situ OAM (IOAM) with IPv6
Jul 31 20:41:06 debsid1 kernel: mip6: Mobile IPv6
On Wednesday, 31-07-2024 at 18:15 Łukasz Kalamłacki wrote:
Hi,
Are you able to reproduce at your side? You can verify this on
VirtualBox even without DHCPv6 server. In normal circumstances you
should get timeout on dhclient but the BUG causes that Debian
should end immediately without timeout and with the error
mentioned in the first post in syslog.
So are you able to reproduce at your side?
Best regards,
Łukasz
śr., 31 lip 2024 o 10:06 George at Clug <Clug@goproject.info>
napisał(a):
Łukasz,
I wonder if the issue is that you are missing
"non-free-firmware" which provides the non-free drivers for
things like sound, network and WiFI devices?
(Hopefully you only have 'sid' sources and no sources for
other versions, for example 'bookworm' or 'backports')
It could help to at least add "non-free-firmware" even if
there is another issue?
https://gist.github.com/hakerdefo/124a37ca927018f8b52a72e316d160fa#file-sources-list
<https://gist.github.com/hakerdefo/124a37ca927018f8b52a72e316d160fa#file-sources-list>
Debian Sid (Unstable) complete sources.list
deb https://ftp.debian.org/debian/
<https://ftp.debian.org/debian/> sid contrib main non-free
non-free-firmware
# deb-src https://ftp.debian.org/debian/
<https://ftp.debian.org/debian/> sid contrib main non-free
non-free-firmware
Uncomment the deb-src line, if you want to enable the source
repos.
George.
On Wednesday, 31-07-2024 at 16:33 Łukasz Kalamłacki wrote:
> Hi,
>
> I added only this to sources list:
>
> deb http://deb.debian.org/debian/
<http://deb.debian.org/debian/> sid main contrib non-free
>
> and nothing else
>
> Best regards,
> Łukasz
>
> śr., 31 lip 2024 o 00:50 George at Clug
<Clug@goproject.info> napisał(a):
>
> >
> >
> > On Wednesday, 31-07-2024 at 06:01 Łukasz Kalamłacki wrote:
> > > Hello,
> > >
> > >
> > > I detected and issue with Debian SID and DHCP for IPv6.
> > >
> > >
> > > In my network I use DHCPv6 server which works fine on
stable versions of
> > > Debian or Trixie but when I add to sources.list sid
source and do update
> >
> > Please let us know what you have added and also what you
have in
> > "sources.list sid source"
> >
> > Did you add something (or change?) something to
/etc/apt/sources.list ?
> >
> > Did you change anything else?
> >
> > George.
> >
> >
> >
> > > and upgrade I get and error that:
> > >
> > > "Link local ipv6 for interface is not configured" in
syslog and
> > > systemctl is reporting failed networking service and
only ipv4
> > > addressing is available.
> > >
> > >
> > > configuration in /etc/network/interfaces
> > >
> > > auto enp0s3
> > >
> > > iface enp0s3 inet dhcp
> > >
> > > iface enp0s3 inet6 dhcp
> > >
> > >
> > > What is interesting when the system is already running I
can do:
> > >
> > > dhclient -6 enp0s3
> > >
> > > and I get ipv6 address correctly
> > >
> > >
> > > The problem is reproducible on Virtualbox: just install
testing Debian
> > > and add sid to source.list and do update/upgrade in apt.
> > >
> > >
> > > The issue is very strange because during upgrade to SID
I do not see
> > > installation of any networking packages.
> > >
> > >
> > > What do you think?
> > >
> > >
> > > Best regards,
> > >
> > > Łukasz
> > >
> > >
> >
> >
>