remove "." path components from required mount paths
authorStephane Chazelas <stephane.chazelas@gmail.com>
Wed, 6 Mar 2019 22:16:55 +0000 (22:16 +0000)
committerMichael Biebl <biebl@debian.org>
Sat, 24 Oct 2020 18:44:48 +0000 (19:44 +0100)
commit2b81c443827b3087c2c3989f19627c43e87c7f79
treef71afa5cbc2625c22a8e23019cd5374d1f4b2553
parent1f648771689f8a97bf197141fb4c059b3c32b9cd
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