Description : Fixed to fail to systemd-hostnamed service
authorwchang kim <wchang.kim@samsung.com>
Wed, 16 Nov 2016 01:26:37 +0000 (10:26 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 26 Jan 2024 16:49:49 +0000 (17:49 +0100)
tizen platform links /opt/home to /home.

systemd-hostnamed.service has the parameter - ProtectHome=yes.

In this case, it occurs that systemd-hostnamed.service: Failed at step NAMESPACE spawning /usr/lib/systemd/systemd-hostnamed: Too many levels of symbolic links

I can't change the link. So I removed "ProtectHome=yes".

Change-Id: I640c2f6d410eb9aff7ba3d120a2ffb58b9990c95
Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
units/systemd-hostnamed.service.in

index bb336df..4b59ecf 100644 (file)
@@ -19,7 +19,6 @@ PrivateTmp=yes
 PrivateDevices=yes
 PrivateNetwork=yes
 ProtectSystem=yes
-ProtectHome=yes
 MemoryDenyWriteExecute=yes
 SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io
 SmackProcessLabel=System