croserver: Fix systemd address families
The croserver opens a network socket, not a unix socket.
OpenBMC will hit this and cause croserver to exit if run on a kernel
with seccomp system call filtering enabled.
(From meta-openpower rev: 4e016c59f027ba09a9a4efe363e531c37f4bbb69)
Change-Id: Ib6bd0bb5d2e9f87eca5f1e61210511f49544fc01
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-bsp/ecmd/files/croserver.service b/meta-openpower/recipes-bsp/ecmd/files/croserver.service
index 38d1fd2..79809e1 100644
--- a/meta-openpower/recipes-bsp/ecmd/files/croserver.service
+++ b/meta-openpower/recipes-bsp/ecmd/files/croserver.service
@@ -9,4 +9,4 @@
Restart=on-failure
ProtectHome=yes
ProtectSystem=full
-RestrictAddressFamilies=AF_UNIX
+RestrictAddressFamilies=AF_INET AF_INET6