Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Remove `old-security`. Use proper interfaces. #441
Conversation
|
This is just best effort translation of examples. I know most won't work as is. |
zyga
reviewed
Apr 12, 2016
| subscribe: | ||
| command: bin/subscribe | ||
| - plugs: [listener] | ||
| + plugs: [network] |
zyga
reviewed
Apr 12, 2016
| - read-paths: | ||
| - - /etc/hosts.deny | ||
| - - /etc/hosts.allow | ||
| + plugs: [network] |
zyga
reviewed
Apr 12, 2016
| @@ -9,14 +9,7 @@ icon: icon.png | ||
| apps: | ||
| qmldemo: | ||
| command: qmlscene demo.qml -- | ||
| - uses: [mir] |
jdstrand
Apr 12, 2016
unity7 is only for sdoc. IIRC, this is for mir in kiosk mode which will require the future mir interface.
|
A few suggestions for the yaml bits. Otherwise looks good. I guess we'll do a second pass when we have more interfaces and we can see what else is needed. |
jdstrand
reviewed
Apr 12, 2016
| - 'app1': {'command': 'app1.sh'}, | ||
| + 'app1': {'command': 'app.sh'}, | ||
| + 'app2': {'command': 'app.sh', 'plugs': ['network']}, | ||
| + 'app3': {'command': 'app.sh', 'plugs': ['network-server']} |
sergiusens
Apr 12, 2016
Collaborator
Yeah I network-server just to not forget about the concept of being able to do this, thanks @jdstrand .
jdstrand
reviewed
Apr 12, 2016
| - caps: | ||
| - - network-listener | ||
| - - network-service | ||
| - - network-management |
jdstrand
Apr 12, 2016
Technically this would need network-control but please don't add that. Live with the denial instead until https://launchpad.net/bugs/1465724 is fixed.
|
Let's land it and iterate. I'm sure we'll add more interfaces and fix bugs as we go. |
sergiusens commentedApr 12, 2016
LP: #1569452
Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com