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

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

    <bug>
          <bug_id>17771</bug_id>
          
          <creation_ts>2008-11-03 16:46:34 +0300</creation_ts>
          <short_desc>locate sometimes considers valid database as corrupted</short_desc>
          <delta_ts>2008-11-05 15:19:12 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>slocate</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="Evgenii Terechkov">evg</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>at</cc>
    
    <cc>george</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80603</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2008-11-03 16:46:34 +0300</bug_when>
    <thetext>evg@evg ~ $ rpm -q slocate 
slocate-0.2.15-alt1

Какое-то время назад locate -ie всегда стал выдавать:

evg@evg ~ $ locate -ie /struct.h
locate: /var/lib/locate/locatedb: corrupted database

Зашёл под рутом, руками запустил updatedb - никакой реакций.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80642</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-11-04 18:35:54 +0300</bug_when>
    <thetext>This is /usr/bin/locate regression in slocate-0.2.15-alt1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80643</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-11-04 18:39:56 +0300</bug_when>
    <thetext>Reproducer:
$ rm dir -rf &amp;&amp; mkdir dir dir/foo dir/0 dir/0/`printf %0127d 1` dir/0/`printf %0127d 2` &amp;&amp; /usr/sbin/mklocatedb --searchpaths dir --output db &amp;&amp; slocate -d db foo
slocate: db: corrupted database
$ slocate.old -d db foo
dir/foo
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80646</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2008-11-04 20:20:05 +0300</bug_when>
    <thetext>Fixed in 0.2.16.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80678</commentid>
    <comment_count>4</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2008-11-05 15:19:12 +0300</bug_when>
    <thetext>Туда и дорога.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>