<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>30171</bug_id>
          
          <creation_ts>2003-10-02 08:59 0000</creation_ts>
          <short_desc>esearch new package doesn&apos;t work when /tmp and /var are in different partitions</short_desc>
          <delta_ts>2003-12-27 00:19:05 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Portage Development</product>
          <component>Unclassified (old)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>davefx@gmail.com</reporter>
          <assigned_to>genone@gentoo.org</assigned_to>
          <cc>davidpeter@web.de</cc>

      

      
          <long_desc isprivate="0">
            <who>davefx@gmail.com</who>
            <bug_when>2003-10-02 08:59:04 0000</bug_when>
            <thetext>I&apos;ve got /tmp and /usr in different partitions.

I&apos;ve done &quot;eupdatedb&quot; and...

 * indexing: 99%
Traceback (most recent call last):
  File &quot;/usr/sbin/eupdatedb&quot;, line 110, in ?
    rename(tmpfile, esearchdbfile)
OSError: [Errno 18] Invalid cross-device link

That line in /usr/sbin/eupdatedb is 
&quot;rename(tmpfile, esearchdbfile)&quot;

which cannot be done: they are in different partitions. 


Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davefx@gmail.com</who>
            <bug_when>2003-10-02 09:00:08 0000</bug_when>
            <thetext>Upps! I should have said /var.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>davidpeter@web.de</who>
            <bug_when>2003-10-02 10:42:00 0000</bug_when>
            <thetext>Hi,

Thanks for the bug-report.
I&apos;ve fixed the bug by using shutil.copyfile and os.unlink. It should be working
now. So we just have to wait for an developer to bump the ebuild to esearch-0.4.2
;-)

I also replaced the counter (0% to 100%) by an ebuild-countdown, because
the display was often wrong (as I see in your message where it only went
up to 99%).

David</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>genone@gentoo.org</who>
            <bug_when>2003-10-02 19:25:57 0000</bug_when>
            <thetext>0.4.2 in cvs</thetext>
          </long_desc>
      
    </bug>

</bugzilla>