Debian Bug report logs -
#791906
ifenslave uses obsolete /sys/class/net/{bond}/slave_ naming
Reported by: Louis Bouchard <louis.bouchard@ubuntu.com>
Date: Thu, 9 Jul 2015 12:21:01 UTC
Severity: important
Tags: patch
Found in version ifenslave/2.6
Fixed in version ifenslave/2.7
Done: Dmitry Smirnov <onlyjob@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Guus Sliepen <guus@debian.org>:
Bug#791906; Package ifenslave.
(Thu, 09 Jul 2015 12:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Louis Bouchard <louis.bouchard@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Guus Sliepen <guus@debian.org>.
(Thu, 09 Jul 2015 12:21:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: ifenslave
Version: 2.6
Severity: important
Tags: patch
Dear Maintainer,
Starting with kernel 3.13
(commit http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=5831d66e8097aedfa3bc35941cf265ada2352317),
/sys/class/net/{bond}/slave_{ifname} (notice the slave_) no longer exist.
It has been replaced by /sys/class/net/{bond}/lower_{ifname}. The proposed patch adds
support for the new naming while remaining backward compatible.
Without this patch, trying to add a bond when this one is already defined
leads to the following obscure error :
root@sid-ifenslave:/sbin# ifenslave bond0 eth1 eth2
sh: echo: I/O error
eth1: could not add interface
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ifenslave depends on:
ii ifupdown 0.7.50
ii iproute2 3.16.0-2
Versions of packages ifenslave recommends:
ii net-tools 1.60-26+b1
ifenslave suggests no packages.
-- no debconf information
[ifenslave_k3.13.patch (text/x-diff, attachment)]
Added tag(s) pending.
Request was from Dmitry Smirnov <onlyjob@member.fsf.org>
to control@bugs.debian.org.
(Mon, 13 Jul 2015 11:51:06 GMT) (full text, mbox, link).
Message sent on
to Louis Bouchard <louis.bouchard@ubuntu.com>:
Bug#791906.
(Mon, 13 Jul 2015 11:51:09 GMT) (full text, mbox, link).
Message #10 received at 791906-submitter@bugs.debian.org (full text, mbox, reply):
tag 791906 pending
--
We believe that the bug #791906 you reported has been fixed in the Git
repository. You can see the commit message below and/or inspect the
commit contents at:
http://anonscm.debian.org/cgit/collab-maint/ifenslave.git/diff/?id=c4ce52c
(This message was generated automatically by
'git-post-receive-tag-pending-commitmsg' hook).
---
commit c4ce52c
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Date: Mon Jul 13 11:02:41 2015
Fix change in /sys/class/net/{bond}/slave_ naming after k3.13 (Closes: #791906)
Starting in kernel 3.13, slave_{ifname} is no longer present and
has been replaced by lower_{ifname}. Take this change into account
to avoid ambiguous error when ifenslave is run with existing bond
defined.
Ubuntu-Bug: http://bugs.launchpad.net/bugs/1326854
Thanks, Louis Bouchard <louis.bouchard@ubuntu.com>
Reply sent
to Dmitry Smirnov <onlyjob@debian.org>:
You have taken responsibility.
(Mon, 13 Jul 2015 12:06:10 GMT) (full text, mbox, link).
Notification sent
to Louis Bouchard <louis.bouchard@ubuntu.com>:
Bug acknowledged by developer.
(Mon, 13 Jul 2015 12:06:10 GMT) (full text, mbox, link).
Message #15 received at 791906-close@bugs.debian.org (full text, mbox, reply):
Source: ifenslave
Source-Version: 2.7
We believe that the bug you reported is fixed in the latest version of
ifenslave, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 791906@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Smirnov <onlyjob@debian.org> (supplier of updated ifenslave package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 13 Jul 2015 21:02:29 +1000
Source: ifenslave
Binary: ifenslave ifenslave-2.6
Architecture: source all
Version: 2.7
Distribution: unstable
Urgency: low
Maintainer: Guus Sliepen <guus@debian.org>
Changed-By: Dmitry Smirnov <onlyjob@debian.org>
Description:
ifenslave - configure network interfaces for parallel routing (bonding)
ifenslave-2.6 - transitional package, use "ifenslave"
Closes: 791906
Changes:
ifenslave (2.7) unstable; urgency=low
.
* Fix change in /sys/class/net/{bond}/slave_ naming after k3.13
(Closes: #791906). Thanks, Louis Bouchard.
* Standards-Version: 3.9.6.
Checksums-Sha1:
2f866b57fe715cdb4e8ff7f095b4fa3175ff5f05 1613 ifenslave_2.7.dsc
7a7c8f79fcee1515024648cd7a4fff061cd43761 13056 ifenslave_2.7.tar.xz
9d9a6b97a73d8f44b5a8e2466822309722a0e1cd 5952 ifenslave-2.6_2.7_all.deb
08dad17b04253d9209a3f764d08e95c3399fc247 15586 ifenslave_2.7_all.deb
Checksums-Sha256:
9da5a23714ba4408a68dfa6bc0bfccafc8adc08b00fe6f4c3383596d14788562 1613 ifenslave_2.7.dsc
41984eed04c3d40d171424d7f1f4ee48a58c820cc61619272435060959b9ae32 13056 ifenslave_2.7.tar.xz
f3c8cd33b2d72398a0201b291ede256d329b97f89d80c76d2e3f59a36f5be0e1 5952 ifenslave-2.6_2.7_all.deb
cb6d9a6a3f7434bfdb24de488dc1887176de6bd60788a555ff5604c7884dceae 15586 ifenslave_2.7_all.deb
Files:
0beda9cec69acfc509eaf5b2d1a5be88 1613 net optional ifenslave_2.7.dsc
2319e3d7bf31ec80a0082a6e17f5edaf 13056 net optional ifenslave_2.7.tar.xz
804023146cb79c83345d3ed7eebac4c9 5952 oldlibs extra ifenslave-2.6_2.7_all.deb
70b51b5267793ca061b3fd247b233177 15586 net optional ifenslave_2.7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVo5v6AAoJEFK2u9lTlo0b5CYP/Rsz3rsfk8ku3UbNmtsKd8d8
5gXBqcfTOQPpCGEl0VoJYqnUGGxEUo5C8/ODw8e7iL6UQxpTew3X+8hv2frMqrij
rocvAoGqcpTZZMagqlVRgGcN1yxE83RQx2UwynxuZ/HyeuRWr+4yd3A6M62gtW6T
efDfW3JWTPGPHo2gBKy/9g4eMysgpaa6IlEQ+wmw0cmBrpDb8K5Ys5Xgo/mgDOko
FlTKAU9Ksl04rCaa1sQLZNQTLK8DKyH5MF1jIqUDOjpetI9h6lbbTmTvLHylGaZK
JGA+YuUSDAwBNT2LEmIc6xD8jX9sC62W5z5Mkh8lQ2ISgCUMuyJ52rj+6uqrlhxl
0LYdGXxBiSSUIY3vlOGsQ/2S1XHwhfCEm/arqYppnpC7lbnzKBCT7mKFdRXoGbi1
Twh44D+8YMp0GBF7TYWKi9hVlFeRnF3sWV0Q58BK6x8C0F4PrGJUsjXvAI6K463s
Aa4HkjXA9/FQk2XYtT84oKbdJtHssqSsIhzHWtNisXf4V3enimUEp1798yKY8e8r
U8KoDUBQN/HoTsJGKy1ncamLEDQ9lFxOOqIk1tCn/6IkJbuCx0xQ+l6GFo4H3FoS
99xdKOuCMThVLwZYX/rpBe0F0ImjqA4kP4CEV9CRTKnsRIziG1jyf7uk3FsDuvdK
i5rJXYKd27Yyx34Si3hH
=lLJP
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 21 Aug 2015 07:25:59 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 07:50:05 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.