Red Hat Bugzilla – Bug 8047
A bug in rc.local produces incorrect processors number on rh 6.1
Last modified: 2014-03-16 22:11:49 EDT
In the current version of initscripts, in order to get the number of
processors in the system and to print that on the login, the rc.local
makes something like
grep -cl <some regular expression> <somefile>
this should be fixed as
egrep -c <the same reg. ex. > <the same file>
The egrep is used to count the number of processor, with the -c option.
I can be more precise if necessary.
This is fixed in the various errata initscripts.