Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. [PATCH] connman.service.in: add CAP_SYS_ADMIN for
      setdomainname (Julien Massot)


----------------------------------------------------------------------

Message: 1
Date: Fri,  1 Feb 2019 10:57:22 +0100
From: Julien Massot <[email protected]>
To: [email protected]
Subject: [PATCH] connman.service.in: add CAP_SYS_ADMIN for
        setdomainname
Message-ID: <[email protected]>

From: Julien Massot <[email protected]>

connman fail to set the domain name using setdomainname on
systemd based system.

The reason is that setdmainname requires CAP_SYS_ADMIN
---
 src/connman.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/connman.service.in b/src/connman.service.in
index 9f5c10fe..7376346e 100644
--- a/src/connman.service.in
+++ b/src/connman.service.in
@@ -13,7 +13,7 @@ BusName=net.connman
 Restart=on-failure
 ExecStart=@sbindir@/connmand -n
 StandardOutput=null
-CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW 
CAP_SYS_TIME CAP_SYS_MODULE
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW 
CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_ADMIN
 ProtectHome=true
 ProtectSystem=full
 
-- 
2.20.1



------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 40, Issue 1
**************************************

Reply via email to