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

Submitted by:  James Youngman <jay>
Submitted on:  Tue 24 May 2011 12:39:37 AM UTC  
 
Category: updatedbSeverity: 3 - Normal
Item Group: Test suite failureStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: NoneFixed Release: 4.5.11

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Feb 2013 02:55:27 PM UTCjayFixed ReleaseNone=>4.5.11
      Open/ClosedOpen=>Closed
    Tue 24 May 2011 10:21:14 AM UTCjayStatusConfirmed=>Fixed
    Tue 24 May 2011 12:39:52 AM UTCjaySummaryIf 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.1-cleanup