[systemd-devel] [PATCH] install: Assume *.wants symlinks have the same name as their target for scalability.

David Timothy Strauss david at davidstrauss.net
Thu Dec 12 11:05:02 PST 2013


On Thu, Dec 12, 2013 at 6:23 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> This isn't right. Units might be symlinked under different names, we
> need to support that. For example, all template instances carry a
> different name for the symlink then for the source.

Good point, though we could still support that with smarter matching
that doesn't require dereferencing the symlink. Would that work in the
mean time?

> We need to find a different solution here. Maybe introduce a cache
> object or so where we load everything we find in too and that can be
> indexed by the target rather then the name of a symlink.

I'm up for anything that fixes the timeouts this is causing.


More information about the systemd-devel mailing list