[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#63006: Updating locate database slows down initial boot process.



Santiago Vila <sanvila@unex.es> writes:

> I don't know what exactly do you refer. 

I had been confused what was responsible for this problem.  Thanks for
opening my eyes.

> The locate database update is performed by a script named
> /sbin/setup.sh in the base system, which removes itself afterwards,
> this file is executed only if it exists, by these lines in
> /etc/init.d/rcS
> 
> if [ -x /sbin/setup.sh ]
> then
>   /sbin/setup.sh
> fi
> 
> so I think just commenting out the line which adds the setup.sh 
> file to the base2_2.tgz file should work:
[...]
> Is this safe and robust enough?

Yes.  Actually I adopted a slightly different fix.

This will be fixed in 2.2.14.  Thanks for the report.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Reply to: