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

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

    <bug>
          <bug_id>6291</bug_id>
          
          <creation_ts>2005-03-21 13:08:52 +0300</creation_ts>
          <short_desc>Change of hostname by initscript</short_desc>
          <delta_ts>2005-08-30 15:10:11 +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>apache2</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sviatoslav Sviridov">svd</reporter>
          <assigned_to name="Yurix">yurix</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22654</commentid>
    <comment_count>0</comment_count>
    <who name="Sviatoslav Sviridov">svd</who>
    <bug_when>2005-03-21 13:08:53 +0300</bug_when>
    <thetext>В /etc/rc.d/init.d/httpd2 имеются следующие строчки:

### Hack for bad hostname configuration
thehost=`hostname`
hostname -i 1&gt;/dev/null 2&gt;/dev/null|| hostname localhost

Необходимость изменение имени хоста в данном скрипте вызывает сомнение...
Действительно ли это надо здесь? Может, просто выводить сообщение с
предупреждением? или хотя-бы не делать этого из коробки, а сделать
кофигурабельным, например в /etc/sysconfig/httpd2... Хотя, лучше, наверно, все
же просто предупреждение показывать...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23576</commentid>
    <comment_count>1</comment_count>
    <who name="Yurix">yurix</who>
    <bug_when>2005-04-19 20:13:09 +0400</bug_when>
    <thetext>Fixed in 2.0.54.alt1 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>