iproute is missing a Conflicts: kernel < 2.6.23 otherwise you end up with a non-functional system, because even the lo interface cannot be brought up.
Thank you for your report. The build of iproute is at the moment dependent on the rhbz#431182. I hope that I'll build it soon with updated spec file.
Now I fix the building problem in rawhide, but add conflicts into spec isn't solution. Testcase on my computer: rpm -q iproute kernel iproute-2.6.22-4.fc9 kernel-2.6.23.14-107.fc8 but I have reported problems in KVM with kernel-2.6.21 and iproute-2.6.23 Iproute should be backward compatible. Could you tell me more about versions, which were tested and aren't working? rpm -q kernel kernel-xen iproute uname -a
just take rawhide: iproute-2.6.23-1 kernel-xen-2.6.21.7* this is x86_64 note, that rawhide's iproute is newer than your iproute-2.6.22-4.fc9
I've hit the bug in current Rawhide in Xen. It is fixed in upstream iproute already. I tested the patch and it helped. (I had to comment out the generation of documentation in the specfile to workaround the TeX problem). commit 66e529f579f45351828fc82d6ba2629cc6eb3ddd Author: Patrick McHardy <kaber> Date: Thu Oct 25 19:46:29 2007 +0200 iproute 2.6.23 incompatibility Arkadiusz Miskiewicz wrote: > People are reporting that >> ip link set multicast on dev eth0 (Invalid argument) >> no longer works when using iproute 2.6.23 on kernel 2.6.21. >> >> On my testing machine it also fails: >> # ./ip link set eth0 multicast on >> RTNETLINK answers: Invalid argument It seems it fails to properly detect that your kernel is missing RTM_NEWLINK support. Apparently the reason is that the kernels I tested with return a different error in this situation. Signed-off-by: Patrick McHardy <kaber> Signed-off-by: Stephen Hemminger <shemminger> diff --git a/ip/iplink.c b/ip/iplink.c index 8e0ed2a..f28f91c 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -107,7 +107,8 @@ static int accept_msg(const struct sockaddr_nl *who, { struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(n); - if (n->nlmsg_type == NLMSG_ERROR && err->error == -EOPNOTSUPP) + if (n->nlmsg_type == NLMSG_ERROR && + (err->error == -EOPNOTSUPP || err->error == -EINVAL)) have_rtnl_newlink = 0; else have_rtnl_newlink = 1;
Thanks for patch. Ok, I push the new version of iproute into rawhide. Happy testing.
*** Bug 377711 has been marked as a duplicate of this bug. ***
*** Bug 731180 has been marked as a duplicate of this bug. ***