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

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

    <bug>
          <bug_id>11250</bug_id>
          
          <creation_ts>2007-03-28 18:11:50 +0400</creation_ts>
          <short_desc>Не создаёт запись для localhost в /etc/hosts</short_desc>
          <delta_ts>2007-10-15 12:35:22 +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>alterator-net-general</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>http://lists.altlinux.org/pipermail/sisyphus/2007-March/095667.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Slava Semushin">php-coder</reporter>
          <assigned_to name="inger@altlinux.org">inger</assigned_to>
          <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>mithraen</cc>
    
    <cc>rider</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47331</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2007-03-28 18:11:51 +0400</bug_when>
    <thetext>(Я не знаю точно какой из компонентов альтератора редкатирует /etc/hosts,
поэтому повешал на тот, который, как мне кажется, наиболее подходит.)

После установки системы в /etc/hosts я получил запись вида:

coder@alt0 ~ $ cat /etc/hosts
127.0.0.1       alt0.domain alt0

Из-за чего у меня, при таких настройках отказывался запускаться PostgreSQL:

coder@alt0 ~ $ sudo service postgresql start
Adjusting environment for postgresql:                                   [ DONE ]
Starting postmaster service:                                            [ DONE ]
Link postgresql socket:                                                 [FAILED]
coder@alt0 ~ $ echo $?
0

(BTW, mihraen@, а почему у него статус завершения ноль?)

После добавления в /etc/hosts записи для localhost, PostgreSQL успешно запускается:

coder@alt0 ~ $ cat /etc/hosts
127.0.0.1       alt0.jet.msk.su alt0 localhost</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47333</commentid>
    <comment_count>1</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2007-03-28 18:19:11 +0400</bug_when>
    <thetext>А что за версия net-general?
Вроде как не должно там такого быть.

Можно попробовать его потестировать через alterator-cmdline (на предмет добавляется)

$alterator-cmdline /net-general action write hostname &quot;alt0.domain&quot;

Если тут всё сработает, то значит надо выяснять всё ли в порядке в
alterator-install2.



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47377</commentid>
    <comment_count>2</comment_count>
    <who name="inger@altlinux.org">inger</who>
    <bug_when>2007-03-29 18:22:31 +0400</bug_when>
    <thetext>В общем у меня не воспроизводится, или перевешивать надо на installer или я
закрываю багу.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47378</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2007-03-29 18:23:54 +0400</bug_when>
    <thetext>Я бы хотел дождаться новой беты, прежде чем закрывать</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48275</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-04-07 04:24:46 +0400</bug_when>
    <thetext>Новая бета опубликована, проверьте, пожалуйста, ещё раз.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56546</commentid>
    <comment_count>5</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2007-10-15 12:35:11 +0400</bug_when>
    <thetext>Закрываю как FIXED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>