mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
83123a4498
Previously, dependency chain of JoinsNamespaceOf= did not work, e.g. - a.service has JoinsNamespaceOf=b.service - b.service has JoinsNamespaceOf=c.service if, first c.service, next a.service, finally b.service is started, then a.service is not joined to the namespace of c.service. And, as mentioned in the document, the namespace used by b.service is not deterministic. This makes when searching exsiting namespace to be joined, all units in the transitive dependency of JoinsNamespaceOf= are checked.
12 lines
284 B
Desktop File
12 lines
284 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
JoinsNamespaceOf=testsuite-23-joins-namespace-of-8.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
MountAPIVFS=yes
|
|
PrivateTmp=yes
|
|
ExecStart=test -e /tmp/shared-private-file-x
|
|
ExecStart=test -e /tmp/shared-private-file-y
|
|
ExecStart=test -e /tmp/hoge
|