core: don't fail on EEXIST when creating mount point
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 28 Jan 2022 22:56:10 +0000 (22:56 +0000)
committerLuca Boccassi <bluca@debian.org>
Mon, 14 Feb 2022 21:56:48 +0000 (21:56 +0000)
commitae8bc570a81e1286eb5b59a77ef179a500b95f9d
treeca78dcc18f8eca03793fd742af2f806f0373ac4d
parente697fa60073f4359e4062a7c6b0b9f5b0edc73f9
core: don't fail on EEXIST when creating mount point

systemd[1016]: Failed to mount /tmp/app1 (type n/a) on /run/systemd/unit-extensions/1 (MS_BIND ): No such file or directory
systemd[1016]: Failed to create destination mount point node '/run/systemd/unit-extensions/1': File exists

(cherry picked from commit 9d6d4c305ab8d65aab7f546450d7331f760b7259)
src/core/namespace.c