]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: handle lookup paths being symlinks
authorAndreas Rammhold <andreas@rammhold.de>
Wed, 18 Aug 2021 17:10:08 +0000 (19:10 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 May 2022 12:46:52 +0000 (14:46 +0200)
commit66c38cd0536c50769eba6abccf383bbaceb268ca
tree5f9d342abe1b0e35498d99cafeb766314f7a6d97
parenta8796773b0877847a93f645766a496f9480f9f73
core: handle lookup paths being symlinks

With a recent change paths leaving the statically known lookup paths would be
treated differently then those that remained within those. That was done
(AFAIK) to consistently handle alias names. Unfortunately that means that on
some distributions, especially those where /etc/ consists mostly of symlinks,
would trigger that new detection for every single unit in /etc/systemd/system.
The reason for that is that the units directory itself is already a symlink.

Rebased-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
src/basic/unit-file.c