remove "." path components from required mount paths
authorStephane Chazelas <stephane.chazelas@gmail.com>
Wed, 6 Mar 2019 22:16:55 +0000 (22:16 +0000)
committerAdrian Bunk <bunk@debian.org>
Thu, 29 Jun 2023 13:57:02 +0000 (14:57 +0100)
commit607268554b656843fdda049890b5890f0b62869a
tree02ef468b889d43a839d14cd5f3a881d3e1aea935
parent6c3fdc040b337f28f7f5ee4b0c105b237c6e784d
remove "." path components from required mount paths

unit_require_mounts_for may be passed path arguments that contain "."
components like for user's home directories where "." is sometimes used
to specify some form of anchor point.

This change stops considering such path as an error and removes the "."
components instead.

Closes: #11910
(cherry picked from commit 106bf8e445a797f9d9c88b827ed42193f2f6b838)

Gbp-Pq: Name remove-.-path-components-from-required-mount-paths.patch
src/core/unit.c