#1832: Moving 'find' breaks 'updatedb'
-----------------------+----------------------------------------------------
 Reporter:  JoeTakagi  |       Owner:  lfs-book@linuxfromscratch.org
     Type:  defect     |      Status:  new                          
 Priority:  normal     |   Milestone:  6.2                          
Component:  Book       |     Version:  SVN                          
 Severity:  normal     |    Keywords:                               
-----------------------+----------------------------------------------------
 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 '[EMAIL PROTECTED]/usr/[EMAIL PROTECTED]/bin@' /usr/bin/updatedb

 or,
 ln -s ../../bin/find /usr/bin

 or,
 invoke updatedb as follows: 'BINDIR=/bin updatedb [args]'

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1832>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to