On Fri, May 20, 2011 at 11:32:21AM +0100, Dave Martin wrote:
On Thu, May 19, 2011 at 02:20:59PM -0700, Steve Langasek wrote:
On Wed, May 18, 2011 at 02:48:25PM -0300, Ricardo Salveti wrote:
- too many shells started to parse shell scripts
I can see a lot of 'sh', 'cat', 'rm', 'sleep', 'run-parts', I think this could all be optimized.
"run-parts" here is surprising; I'm not aware of anything that should call this in the normal boot sequence. The closest I can think of is update-motd, but that should only trigger as part of a login session, not with an autologin.
I think digging into this further will turn up a bug...
Is run-parts used to run legacy sysvinit scripts, or is that handled by something else?
/etc/init.d/rc (and/or startpar) does its own sequencing of init scripts, run-parts is too generic to do the job.