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

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

    <bug>
          <bug_id>18313</bug_id>
          
          <creation_ts>2008-12-23 17:32:33 +0300</creation_ts>
          <short_desc>after entering the hostname, two lines appear in /etc/HOSTNAME</short_desc>
          <delta_ts>2009-01-26 18:40:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>alterator-net-eth</component>
          <version>unspecified</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>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>18290</blocked>
    
    <blocked>18291</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="inger@altlinux.org">inger</assigned_to>
          <cc>slazav</cc>
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83255</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-23 17:32:33 +0300</bug_when>
    <thetext>alterator-net-eth-3.1-alt5.M41.2

After entering the hostname, two lines appear in /etc/HOSTNAME, as described in https://bugzilla.altlinux.org/show_bug.cgi?id=18289#c6 :

After this action in alterator:

# diff -dur /etc/net{.orig,}
Только в /etc/net/ifaces: eth0
# cat /etc/HOSTNAME
dell.home
dell.home
# 

The two entries in /etc/HOSTNAME are without any spaces, but with a new line. 

I don&apos;t know whether two lines are allowed or this is an error.

(This also triggers a minor bug in the code of etcnet: https://bugzilla.altlinux.org/show_bug.cgi?id=18289 -- unexpected expansion to many words.) And then it is probably the reason for further non-working things: https://bugzilla.altlinux.org/show_bug.cgi?id=18290 , https://bugzilla.altlinux.org/show_bug.cgi?id=18291 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83261</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-23 18:53:18 +0300</bug_when>
    <thetext>It happens in the 4.1 Desktop LiveCD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83381</commentid>
    <comment_count>2</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2008-12-24 22:25:16 +0300</bug_when>
    <thetext>Наверное проще всего поставить зависимость на новый setup где /etc/HOSTNAME это ссылка на proc и убрать заполнение /etc/HOSTNAME.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85029</commentid>
    <comment_count>3</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2009-01-26 18:40:47 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; Наверное проще всего поставить зависимость на новый setup где /etc/HOSTNAME это
&gt; ссылка на proc и убрать заполнение /etc/HOSTNAME.

$ rpm -q alterator-net-eth --lastchange
* Чтв Янв 15 2009 Stanislav Ievlev &lt;inger@altlinux.org&gt; 3.3-alt1
- don&apos;t setup /etc/HOSTNAME
...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>