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, 30 Mar 2023 19:32:31 +0000 (20:32 +0100)
commit0d07e3788ca950665254310d7c5f074fe5bfb9b6
treeed132ba3ce83ce0da8a87cf15879b5e08045620f
parent14cbeab85c2a2a10aadc39e954ef8ddd435b5028
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