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

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

    <bug>
          <bug_id>33135</bug_id>
          
          <creation_ts>2017-02-17 17:19:47 +0300</creation_ts>
          <short_desc>Конфликтующие системы управления hostname у systemd и etcnet</short_desc>
          <delta_ts>2017-11-22 18:01:38 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>alterator-net-eth</component>
          <version>не указана</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>
          
          <blocked>30940</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Novikov">sotor</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>vseleznv</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161962</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Novikov">sotor</who>
    <bug_when>2017-02-17 17:19:47 +0300</bug_when>
    <thetext>Имя компьютера меняется в разных местах по разному:

Начальное имя:
$ hostname
c184.office.basealt.ru

Меняем имя в &quot;acc-&gt;Ethernet интерфейсы&quot; на test01 и перезагружаемся.
Теперь имя:
$ hostname
test01.office.basealt.ru

Меняем имя на test02 и перезагружаемся:
# hostnamectl set-hostname test02
Теперь имя:
$ hostname
test02
Хотя в &quot;acc-&gt;Ethernet интерфейсы&quot; имя все еще test01.office.basealt.ru

Далее меняем имя в &quot;acc-&gt;Ethernet интерфейсы&quot; на test03 и перезагружаемся:
$ hostname
test02
При этом в имя &quot;acc-&gt;Ethernet интерфейсы&quot; имя test03.office.basealt.ru


acc пишет в файл /sysconfig/network, а hostnamectl пишет в файл /etc/hostname</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161964</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2017-02-17 17:21:54 +0300</bug_when>
    <thetext>В идеале надо переходить на systemd&apos;шную.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161973</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2017-02-18 09:03:40 +0300</bug_when>
    <thetext>Тем временем писать в оба места.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167392</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-11-22 18:01:38 +0300</bug_when>
    <thetext>alterator-net-eth-5.1.0-alt1 -&gt; sisyphus:

Tue Nov 21 2017 Mikhail Efremov &lt;sem@altlinux&gt; 5.1.0-alt1
- Check for configured FreeIPA domain.
- Allow setup fqdn during system installation (closes: #34224).
- Use /etc/hostname if it exists (closes: #33135).
- Preserve /etc/sysconfig/network file metadata.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>