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>
Tue, 20 Aug 2019 11:50:42 +0000 (12:50 +0100)
commitdb87e9bf5389b07a6f32e8a41bf019ffb184df1d
treef1b2e8118193aa4e780391ed9f203b4a4736e62b
parentdd415487f1e2c27c4c3fe04763b6ff4df760f88c
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