Bug 81474

Summary: systemd-networkd: corrupted double-linked list with bond
Product: systemd Reporter: Brandon Philips <brandon>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: alex.crawford, brandon, eugene.yakubovich, mike, teg
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Unit files to reproduce on kvm

Description Brandon Philips 2014-07-18 00:56:48 UTC
Created attachment 103006 [details]
Unit files to reproduce on kvm

Jul 18 00:41:55 jay-coreos-ram-test.novalocal systemd-networkd[634]: bond0           : could not enslave: Operation not supported
Jul 18 00:41:55 jay-coreos-ram-test.novalocal systemd-networkd[634]: bond0           : failed
Jul 18 00:41:55 jay-coreos-ram-test.novalocal systemd-networkd[634]: *** Error in `/usr/lib/systemd/systemd-networkd': corrupted double-linked list: 0x00007f1871bb1030 ***
Comment 1 Brandon Philips 2014-07-18 00:58:58 UTC
The command line that was used:

qemu-system-x86_64 -name test -m 1024 -machine accel=kvm:tcg -net nic,vlan=0,model=virtio -net user,vlan=0,hostfwd=tcp::2222-:22 -netdev user,id=mynet0 -device e1000,netdev=mynet0
Comment 2 Alex Crawford 2014-07-18 02:52:19 UTC
I am not seeing this issue on master (commit 0204152684188302e6c6232e50f30997fecb4ae3). I was occasionally seeing this on v215 so I'm not sure if the bug has been fixed or if it's just less likely now.
Comment 3 Brandon Philips 2014-07-18 07:20:56 UTC
(In reply to comment #2)
> I am not seeing this issue on master (commit
> 0204152684188302e6c6232e50f30997fecb4ae3). I was occasionally seeing this on
> v215 so I'm not sure if the bug has been fixed or if it's just less likely
> now.

That is good news. We should look at the changelog and bisect it to be sure tomorrow.
Comment 4 mike@marineau.org 2014-07-19 02:04:57 UTC
Looks like it was fixed by:

commit e04468dec04a968c523ee09da7d2163a1d1a5a15
Author: Tom Gundersen <teg@jklm.no>
Date:   Mon Jul 7 14:18:26 2014 +0200

    networkd: netdev - add missing refs
    
    Without this, the underlying device would get freed (and hence
    fail).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.