Comment 4 for bug 1861648

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote : Re: When booting 20.04 an 'ld-2.23.so' process consumes 100% CPU for minutes

It is, the process is quite elaborate. Snapd runs fc-cache-* binary from the core snap by directly invoking ld.so (the interpreter) from the core snap, passing library path arguments that ensure that library dependencies come from core and lastly the binary itself. You can see it in action here: https://github.com/snapcore/snapd/blob/d4a45e9771e535da9bbe82be7c12e537d83e58cd/cmd/cmdutil/cmdutil.go#L100-L139

The side effect is that argv[0] is set to ld.so, so in ps output it looks like as if ld.so is running.