bugfindutils - Bugs: bug #12491, updatedb broken with solaris su

 
 

bug #12491: updatedb broken with solaris su

Submitter:  None
Submitted:  Mon 28 Mar 2005 01:36:39 PM UTC
   
 
Category:  updatedb Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Tim Bishop Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.20
Fixed Release:  4.2.21
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 12 Jul 2005 02:05:05 PM UTC, comment #4: 

Sorry for the massively late response. It seems the latet release (4.2.23) works fine. Many thanks,

Tim Bishop.

Anonymous
Tue 07 Jun 2005 11:35:40 PM UTC, comment #3: 

You can download a release of findutils in which this problem is
fixed from ftp://alpha.gnu.org/gnu/findutils.

The releases on alpha.gnu.org are for testing purposes, so please
take the time to download the release and verify that your
problem has been solved.  Once the release has been sufficiently
tested, it can be uploaded to ftp.gnu.org for everybody to use it.

James Youngman <jay>
Group administrator
Mon 04 Apr 2005 08:51:15 PM UTC, comment #2: 

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Group administrator
Mon 04 Apr 2005 08:50:52 PM UTC, comment #1: 

I believe that the attached patch fixes the problem. 

James Youngman <jay>
Group administrator
Mon 28 Mar 2005 01:36:39 PM UTC, original submission:  

This is a problem with 4.2.20 (it's not in the Release box on the bug report form).

The solaris su doesn't support the -s flag. So when update db runs something like "su -s /bin/sh -c command" it ends up just starting /bin/sh.

Not sure on the best fix - I guess some way of disabling this feature at runtime? It's worth noting that the FreeBSD su also doesn't support this behaviour. Is it a linux-only feature?

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #2840:  updatedb.su-s.1.patch added by jay (2KiB - text/x-patch - Proposed patch (1))

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-07 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.21
2005-04-04 jay StatusNone Fixed
    Assigned toNone jay
    ReleaseNone 4.2.20
    Attached File- Added updatedb.su-s.1.patch, #2382
2005-03-28 None Carbon-Copy- Added tim --AT-- bishnet --DOT-- net

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code