bugfindutils - Bugs: bug #33384, If rm/chmod etc. are not in /bin...

 
 

bug #33384: If rm/chmod etc. are not in /bin or /usr/bin, updatedb fails

Submitter:  James Youngman <jay>
Submitted:  Tue 24 May 2011 12:39:37 AM UTC
   
 
Category:  updatedb Severity:  3 - Normal
Item Group:  Test suite failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  None Fixed Release:  4.5.11
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 May 2011 12:39:37 AM UTC, original submission:  

These errors occur if various tools are not in /bin and are not in /usr/bin:

FAIL: exists1: updatedb is supposed to be silent, .../findutils-4.5.11-git/locate/testsuite/../updatedb: line 263: rm: command not found
.../findutils-4.5.11-git/locate/testsuite/../updatedb: line 312: chmod: command not found
.../findutils-4.5.11-git/locate/testsuite/../updatedb: line 313: mv: command not found

Other similar errors also occur in later tests.

It looks like this is caused by the direct assignment of PATH in pudatedb.sh.  That assignment has been in the source tree since at least the initial revision we can now see:


commit c030b5ee33bbec3c93cddc3ca9ebec14c24dbe07
Author: Kevin Dalley <kevin@seti.org>
Date:   Sun Feb 4 20:35:16 1996 +0000

    Initial revision

James Youngman <jay>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-02 jay Fixed ReleaseNone 4.5.11
        Open/ClosedOpen Closed
    2011-05-24 jay StatusConfirmed Fixed
    2011-05-24 jay SummaryIf rm/chmod etc. not in /bin or /usr/bin, updatedb fails If rm/chmod etc. are not in /bin or /usr/bin, updatedb fails

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code