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

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

    <bug>
          <bug_id>23767</bug_id>
          
          <creation_ts>2010-07-14 00:34:11 +0400</creation_ts>
          <short_desc>Hardcoded %buildhost in hsh-initroot</short_desc>
          <delta_ts>2010-09-21 00:26:02 +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>hasher</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr. Br. George">george</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>at</cc>
    
    <cc>erthad</cc>
    
    <cc>evg</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110603</commentid>
    <comment_count>0</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2010-07-14 00:34:11 +0400</bug_when>
    <thetext>$ grep buildhost /usr/bin/hsh-initroot
%buildhost ${USER:-`id -nu`}.hasher.altlinux.org

This misleads people that use hasher outside altlinux.org, making %buildhost rpm section close to non-informative.

I suggest ${USER:-`id -nu`}.hasher.$(hostname)
or ${USER:-`id -nu`}.hasher.$(hostname -d) instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110604</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2010-07-14 00:58:34 +0400</bug_when>
    <thetext>Please have a look at /etc/sisyphus_check/check.d/020-check-buildhost
The change you propose would render this test useless for locally built packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112411</commentid>
    <comment_count>2</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2010-09-21 00:26:02 +0400</bug_when>
    <thetext>Aw. So buildhost field isn&apos;t any &quot;host&quot; at all, it denotes build engine version instead. Swell.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>