[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-28 Thread KJH
That was too soon: correction: 18.04 does not yet fix this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title: Network namespaces support for non-IP suddenly missing To manage

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-27 Thread KJH
A system update on 18.04 now fixes this bug. I'll check later to see if the 16.04 line also fixes it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title: Network namespaces support for

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-27 Thread KJH
This ticket is related to: https://github.com/torvalds/linux/commit/b84bbaf7a6c8cca24f8acf25a2c8e46913a947ba https://github.com/torvalds/linux/commit/9aad13b087ab0a588cd68259de618f100053360e -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-09 Thread KJH
It looks like the frame gets artificially enlarged by something in between my call to send and the receiver, by 14 bytes (an ethernet header size). The bytes 'it' uses to pad are all the same, but always different. If I set the MTU to the correct size (that is, the ethernet *payload* size), then

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-08 Thread KJH
Ok. I've found a clue. It's in the MTU size. If you enlarge the specified MTU size in my test code by 14 (fourteen - the size of an Ethernet header), then the frames go through unhindered. It looks like someone interpreted 'MTU' to mean: 'size of the Ethernet frame' instead of 'size of the

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-08 Thread KJH
The code above formulates, sends and (in a second executable) receives ethernet frames. The network namespaces are set up to enable this. The ethernet frames are unusual for two reasons: they are long (2156 MTU), and they are typed as non-IP (or ARP). Also, they don't use the MAC addresses that

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-08 Thread KJH
The attached tar.gz contains C-files, a Makefile, and a test shell script. It must be made (using 'make'), and run as root. This code works on Ubuntu 16.04 kernel 4.4.0-128-generic (and prints 'success!') but does not work on 4.4.0-130-generic or 4.4.0-131-generic. ** Attachment added: "Tar.gz

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-08-07 Thread KJH
I have source code now that works on the old kernel, and doesn't on the new one. Shall I post it (somehow - I don't know how)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title: Network

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-07-17 Thread KJH
I have more information on this issue. It turns out that I do two things that are unusual: I set the MTU of the ethernet device to 2156. Then I send a non-IP ethernet type packet with a length of 2170 bytes (2156 + 14 bytes ethernet header) using raw sockets. The raw socket receiving it, gets a

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-07-05 Thread KJH
I've run apport-collect twice on this one: the first one is with the working (4.4.0-128-generic) kernel, the second one is with the *non*-working kernel (4.4.0-130-generic). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] ProcEnviron.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159944/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] WifiSyslog.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "WifiSyslog.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159937/+files/WifiSyslog.txt ** Description changed: I run 16.04, and I keep daily track of all dist-upgrades. Yesterday (3 july 2018) there was an upgrade, and it must have

[Bug 1780103] ProcModules.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159946/+files/ProcModules.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] AlsaInfo.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "AlsaInfo.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159938/+files/AlsaInfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] Lspci.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159941/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] WifiSyslog.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "WifiSyslog.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159948/+files/WifiSyslog.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] ProcInterrupts.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159945/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] UdevDb.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159947/+files/UdevDb.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] ProcCpuinfo.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcCpuinfo.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159942/+files/ProcCpuinfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] ProcInterrupts.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcInterrupts.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159934/+files/ProcInterrupts.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] CurrentDmesg.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159940/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] Lspci.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "Lspci.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159930/+files/Lspci.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] ProcCpuinfo.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcCpuinfo.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159931/+files/ProcCpuinfo.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] ProcEnviron.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159933/+files/ProcEnviron.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] CurrentDmesg.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159929/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] CRDA.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "CRDA.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159928/+files/CRDA.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] ProcCpuinfoMinimal.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159943/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] ProcModules.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcModules.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159935/+files/ProcModules.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103

[Bug 1780103] UdevDb.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "UdevDb.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159936/+files/UdevDb.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] CRDA.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "CRDA.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159939/+files/CRDA.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780103 Title:

[Bug 1780103] ProcCpuinfoMinimal.txt

2018-07-05 Thread KJH
apport information ** Attachment added: "ProcCpuinfoMinimal.txt" https://bugs.launchpad.net/bugs/1780103/+attachment/5159932/+files/ProcCpuinfoMinimal.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-07-05 Thread KJH
apport information ** Tags added: apport-collected xenial ** Description changed: I run 16.04, and I keep daily track of all dist-upgrades. Yesterday (3 july 2018) there was an upgrade, and it must have been a kernel upgrade, because my machine had rebooted (which I make it do

Re: [Bug 1780103] Re: Network namespaces support for non-IP suddenly missing

2018-07-04 Thread KJH
I can confirm that the 4.4.0-128-generic kernel does *not* have the problem, while the 4.4.0-130-generic kernel *does*. Op wo 4 jul. 2018 om 17:21 schreef Daniel Manrique < daniel.manri...@canonical.com>: > Hello, > > Thank you for taking the time to report this bug and helping to make > Ubuntu

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2017-03-18 Thread KJH
The thing is, I rely on 'ip' a lot. So, not wanting to have to rely on code I knew was buggy, and how it was buggy, I apt-get sourced it, fixed it, and installed it on all my machines. I have now no machines with that particular bug left. My hunch is that when using network namespaces with

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-10-31 Thread KJH
By the way, the bug was fixed already: http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=a1b4a274d4917be06b3060d3c8e95aba5c92a9a9 So by upgrading to ip version 4.5 this should be fixed. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-10-31 Thread KJH
Well, either that or you change struct nsid_cache (line 138) to struct nsid_cache { struct hlist_node nsid_hash; struct hlist_node name_hash; int nsid; charname[1]; }; I think that that would do the same. --

Re: [Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-10-31 Thread KJH
Please reopen as I've found the cause of the bug and posted it to the forum. 2016-10-26 6:17 GMT+02:00 Launchpad Bug Tracker <1615...@bugs.launchpad.net> : > [Expired for iproute2 (Ubuntu) because there has been no activity for 60 > days.] > > ** Changed in: iproute2 (Ubuntu) >Status:

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-10-31 Thread KJH
I found the bug: in the package iproute2 version 2-4.3, in the file ip/ipnetns.c, line 175 must read: c = malloc(sizeof(*c) + strlen(name) + 1); instead of: c = malloc(sizeof(*c) + strlen(name)); ** Changed in: iproute2 (Ubuntu) Status: Expired => In Progress -- You received this bug

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-08-26 Thread KJH
I have no idea if or whether the 16.10 and 16.04 versions are somehow the same. I'll see if I can write a script to reproduce the bug (which I forgot to post: this causes a segfault). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-08-20 Thread KJH
# cat /etc/issue Ubuntu 16.04.1 LTS \n \l -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615209 Title: ip crashes after a few times adding and removing network namespaces To manage notifications

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-08-20 Thread KJH
# uname -a Linux charcoal 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:28 UTC 2016 i686 i686 i686 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615209 Title: ip crashes after a few

[Bug 1615209] Re: ip crashes after a few times adding and removing network namespaces

2016-08-20 Thread KJH
# ip -V ip utility, iproute2-ss151103 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615209 Title: ip crashes after a few times adding and removing network namespaces To manage notifications about

[Bug 1615209] [NEW] ip crashes after a few times adding and removing network namespaces

2016-08-20 Thread KJH
Public bug reported: # which ip /sbin/ip # valgrind ip netns add black2 ==22804== Memcheck, a memory error detector ==22804== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==22804== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==22804== Command: ip netns