[bug-notifications] [findutils 0001101]: gupdatedb mktemp and !

Mantis Bug Tracker noreply at opencsw.org
Sat Jul 2 19:32:47 CEST 2011


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=1101 
====================================================================== 
Reported By:                james
Assigned To:                bwalton
====================================================================== 
Project:                    findutils
Issue ID:                   1101
Category:                   regular use
Reproducibility:            sometimes
Severity:                   tweak
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2005-07-26 18:10 CEST
Last Modified:              2011-07-02 19:32 CEST
====================================================================== 
Summary:                    gupdatedb mktemp and !
Description: 
This started as a request for mktemp but even with mktemp gupdatedb needs a
tweak.  Without CSWmktemp:
$ gupdatedb --old-format
Warning: future versions of findutils will shortly discontinue support for
the old locate database format.
/opt/csw/bin/gupdatedb: mktemp: not found
/opt/csw/bin/gupdatedb: !: not found
/opt/csw/bin/gupdatedb: mktemp: not found
/opt/csw/bin/gupdatedb: !: not found

Install CSWmktemp which is not in the findutils depend list and it still
fails:

$ gupdatedb --old-format
Warning: future versions of findutils will shortly discontinue support for
the old locate database format.
/opt/csw/bin/gupdatedb: !: not found
/opt/csw/bin/gupdatedb: !: not found

becasue the ! is not /bin/sh, I guess the was written for a system that
emulated sh with something else, probably bash.  #!/bin/ksh at the top will
fix it.
====================================================================== 

---------------------------------------------------------------------- 
 (0009056) james (developer) - 2011-05-16 10:56
 https://www.opencsw.org/mantis/view.php?id=1101#c9056 
---------------------------------------------------------------------- 
The date on the POSIX reference is 2004 and this bug was registered in
2005.  It is highly likely at that time, using Solaris 8, /bin/sh was not
POSIX compliment.  Whether it was or not is not relevant to the fact of the
matter being that gupdatedb failed on a target system and was fixable using
the suggestion I made in 2005.

On Solaris 9, the current base system, gupdatedb appear to works.  Is this
proof that if reports are ignored for long enough there exists a
probability that bugs will fix themselves?  And if we wait long enough this
bug report could morph into the complete works of Shakespeare.

 

---------------------------------------------------------------------- 
 (0009175) bwalton (manager) - 2011-07-02 19:32
 https://www.opencsw.org/mantis/view.php?id=1101#c9175 
---------------------------------------------------------------------- 
Closing this since it only affects Solaris 8 which is not supported any
longer.

-Ben



More information about the bug-notifications mailing list