Opened 18 years ago
Closed 18 years ago
#1832 closed defect (fixed)
Moving 'find' breaks 'updatedb'
Reported by: | JoeTakagi | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Revision 7668/ch6-findutils moves 'find' from /usr/bin to /bin. However, this breaks the 'updatedb' script which expects 'find' to be located in /usr/bin as it was at compile time.
Possible fixes:
sed -i -e 's@BINDIR=/usr/bin@BINDIR=/bin@' /usr/bin/updatedb
or, ln -s ../../bin/find /usr/bin
or, invoke updatedb as follows: 'BINDIR=/bin updatedb [args]'
Note:
See TracTickets
for help on using tickets.
Added a sed to fix the /usr/bin/updatedb script.
Fixed at revision 7674.