<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>23872</bug_id>
          
          <creation_ts>2010-08-10 20:49:00 +0400</creation_ts>
          <short_desc>&apos;ip route get&apos; gets nothing</short_desc>
          <delta_ts>2010-08-13 10:44:47 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>iproute2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111113</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2010-08-10 20:49:00 +0400</bug_when>
    <thetext>Для 2.6.35-alt1 &apos;ip route get &lt;IP&gt;&apos; не выдаёт информацию о маршрутах:

Поведение 2.6.34-alt1:
   # rpm -aq | grep iproute2
   iproute2-2.6.34-alt1
   # ip addr show eth0
   2: eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
       link/ether 00:0a:e4:b7:3c:6a brd ff:ff:ff:ff:ff:ff
       inet 192.168.250.51/24 brd 192.168.250.255 scope global eth0
   # ip route get 192.168.250.254
   192.168.250.254 dev eth0  src 192.168.250.51 
       cache  mtu 1500 advmss 1460 hoplimit 64

Устанавливаем 2.6.35-alt1
   # apt-get install iproute2-2.6.35-alt1.x86_64.rpm libnetlink-2.6.35-alt1.x86_64.rpm 
   ...
   # rpm -aq | grep iproute2
   iproute2-2.6.35-alt1

И получаем:

   # ip route get 192.168.250.254
   # ip route get 192.168.250.1
   #

Как результат, например, нарушается работа скриптов vzctl: при запуске VE становится возможным назначение VE уже присутствующего в сети IP; в таблицу ARP не заносятся значения
для назначаемых на venet0  IP, что приводит к недоступности VE с других машин в сети.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111124</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2010-08-11 10:59:19 +0400</bug_when>
    <thetext>Патч для исправления ошибки:  http://www.spinics.net/lists/netdev/msg137465.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111142</commentid>
    <comment_count>2</comment_count>
    <who name="Victor Forsyuk">force</who>
    <bug_when>2010-08-11 20:24:47 +0400</bug_when>
    <thetext>Спасибо за патч. Завтра соберу.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111175</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-08-13 09:57:32 +0400</bug_when>
    <thetext>iproute2-2.6.35-alt2 -&gt; sisyphus:

* Thu Aug 12 2010 Victor Forsiuk &lt;force@altlinux&gt; 2.6.35-alt2
- Fix bug with &apos;ip route get&apos; (Closes: #23872).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>