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

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

    <bug>
          <bug_id>33848</bug_id>
          
          <creation_ts>2017-09-05 18:51:48 +0300</creation_ts>
          <short_desc>connman 1.35 не заполняет /etc/resolv.conf из DHCP</short_desc>
          <delta_ts>2017-09-11 23:25:06 +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>connman</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>regression</keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="manowar@altlinux.org">manowar</assigned_to>
          <cc>manowar</cc>
    
    <cc>mike</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>165590</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-05 18:51:48 +0300</bug_when>
    <thetext>Выношу из bug 33832:

Со сборкой connman-1.35-alt1.M80P.1 у меня сломалось заполнение /etc/resolv.conf как минимум в p8 (сегодня добрался проверить бету стартеркитов -- к сожалению, с проверкой альфы в пятницу был вынужден остановиться как раз на E):

http://nightly.altlinux.org/p8/beta/alt-p8-enlightenment-20170905-i586.iso

Постараюсь сегодня проверить ещё на regular-rc (если воспроизведётся и там,
как ожидаю -- перевешу на сизиф):

http://nightly.altlinux.org/sisyphus/snapshots/20170905/regular-enlightenment-20170905-i586.iso

При этом сам eth0 поднят и сконфигурирован; `systemctl status connman` только:

сен 05 15:34:05 localhost.localdomain connmand[533]: Failed to set domainname
to office.basealt.ru</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165605</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-06 17:20:07 +0300</bug_when>
    <thetext>Да, воспроизводится и на regular-enlightenment-20170906-i586.iso (тж. x86_64).

Может быть связано с bug 33089?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165610</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-06 18:16:47 +0300</bug_when>
    <thetext>PS: заметили, что нет /run/connman/, на который закладывается /lib/systemd/system/connman-openresolv.service; если его создать (755 root:root) и перезапустить connmand, ситуация остаётся прежней.

При этом ping www.ru резолвит(?!) и проходит, а вот firefox и впрямь никак.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165664</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-09 10:00:35 +0300</bug_when>
    <thetext>2 manowar: можешь глянуть?  У меня во вторник стартеркиты...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165672</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-11 10:14:38 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165676</commentid>
    <comment_count>5</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2017-09-11 11:22:54 +0300</bug_when>
    <thetext>Я уже смотрю…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165677</commentid>
    <comment_count>6</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2017-09-11 13:23:23 +0300</bug_when>
    <thetext>136             fd = open(RESOLV_CONF_STATEDIR, O_RDWR | O_CREAT | O_CLOEXEC,
(gdb) s
open (__oflag=524354, __path=0x4a6715 &quot;/connman/resolv.conf&quot;)

#define RESOLV_CONF_STATEDIR STATEDIR&quot;/resolv.conf&quot;

Makefile.am:
statedir = $(runstatedir)/connman
...
-DSTATEDIR=\&quot;&quot;$(statedir)&quot;\&quot; \

Похоже, что префикс &quot;/run&quot; при сборке отвалился…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165678</commentid>
    <comment_count>7</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2017-09-11 13:24:37 +0300</bug_when>
    <thetext>Он даже его создаёт, если под рутом запустить:

# cat /connman/resolv.conf
# Generated by Connection Manager
nameserver ::1
nameserver 127.0.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165679</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-11 13:30:21 +0300</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; Он даже его создаёт, если под рутом запустить:
Охтыжблин, было подозрение в эту сторону, но в корень не воззрел...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165680</commentid>
    <comment_count>9</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-09-11 14:16:20 +0300</bug_when>
    <thetext>connman-1.35-alt2.S1 -&gt; sisyphus:

Mon Sep 11 2017 Paul Wolneykien &lt;manowar@altlinux.org&gt; 1.35-alt2.S1
- Fix: Explicitly set runstatedir=/run (closes: #33848).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165681</commentid>
    <comment_count>10</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-11 14:57:57 +0300</bug_when>
    <thetext>Спасибо!
Паш, собери ещё и в p8 -- именно там нужен.
Андрей, прошу пропустить, мной сизифная сборка проверена.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165683</commentid>
    <comment_count>11</comment_count>
    <who name="manowar@altlinux.org">manowar</who>
    <bug_when>2017-09-11 15:32:00 +0300</bug_when>
    <thetext>http://git.altlinux.org/tasks/188062/logs/events.1.1.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165705</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-09-11 23:25:06 +0300</bug_when>
    <thetext>Ещё раз благодарю всех причастных, на свежесобранном alt-p8-enlightenment-20170911-x86_64.iso с /etc/resolv.conf всё стало хорошо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>