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

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

    <bug>
          <bug_id>26813</bug_id>
          
          <creation_ts>2012-01-13 14:10:58 +0400</creation_ts>
          <short_desc>Невозможность скачивания metadata при автоустановке с диска</short_desc>
          <delta_ts>2018-06-09 12:24:32 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>installer</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Andriy Stepanov (stanv)">stanv</assigned_to>
          <cc>aen</cc>
    
    <cc>antohami</cc>
    
    <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>klark</cc>
    
    <cc>mike</cc>
    
    <cc>omg</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>128268</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-01-13 14:10:58 +0400</bug_when>
    <thetext>При запуске автоустановки (altlinux.org/Autoinstall) с диска скрипт скачивания 20-metadata-autoinstall.sh запускается перед 25-dhcp-client.sh. Нужно запуск автоустановки запускать не только после запуска dhcpcd, но и дожидаться получения сетевого адреса в самом скрипте 20-metadata-autoinstall.sh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128270</commentid>
    <comment_count>1</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2012-01-13 14:42:49 +0400</bug_when>
    <thetext>Насколько я помню, там идет failback на стандартное расположение Metadata что на диске.
Т.е. стандартное поведение нарушаться не должно.
Также, я согласен что 20-metadata-autoinstall.sh нужно запускать после 25-dhcp-client.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128271</commentid>
    <comment_count>2</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2012-01-13 14:50:17 +0400</bug_when>
    <thetext>Правильно ли я понял, чтобы закрыть эту багу достаточно переименовать
20-metadata-autoinstall.sh -&gt; 26-metadata-autoinstall.sh

?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128273</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2012-01-13 15:19:59 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; Правильно ли я понял, чтобы закрыть эту багу достаточно переименовать
&gt; 20-metadata-autoinstall.sh -&gt; 26-metadata-autoinstall.sh ?
Нет. Нужно проверять при использовании curl ещё и доступность сети. Если нет, то хотя бы подождать наличия адреса (по dhcp он не сразу получается). Думаю, sleep 10 сделать будет проще всего.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128309</commentid>
    <comment_count>4</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2012-01-16 13:47:34 +0400</bug_when>
    <thetext>http://git.altlinux.org/people/stanv/packages/?p=installer.git;a=shortlog;h=refs/heads/sisyphus

Необходимо протестировать )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171726</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey Bubnov">omg</who>
    <bug_when>2018-06-08 16:41:05 +0300</bug_when>
    <thetext>Наступили на туже багу. Вот немного изменённый подход, чтоб не затрагивало установку без сети. Протестил локально под виртуалбоксом.

http://git.altlinux.org/people/omg/packages/?p=installer.git;a=shortlog;h=refs/heads/sisyphus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171771</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-06-09 12:24:32 +0300</bug_when>
    <thetext>installer-1.8.41-alt1 -&gt; sisyphus:

Fri Jun 08 2018 Sergey Bubnov &lt;omg@altlinux&gt; 1.8.41-alt1
- Wait for DHCP responce when `curl=` is in kernel parameters
  (closes: #26813)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>