Server management doesn't work out of the box
At least the Wi-Fi and services management parts.
For them to work, we need some PAM and PolicyKit configurations to be installed.
We currently do that in ansiblecube.
Since we're providing a Debian Jessie package, it should work out of the box.
Which means we need to move some stuff from ansiblecube into the ideascube package.
Out of the top of my head, I can think of:
- the uwsgi service file. Jessie still uses a SysV initscript for uwsgi, but we need the
PAMName=
directive from systemd unit files. The best solution here would be to use theuwsgi.service
file from Debian Stretch (if there is one), and then just put the requiredPAMName=
directive in a drop-inuwsgi.service.d/ideascube
file. - the PAM session file
- the PolicyKit policy file, which declares a new action
- the PolicyKit authorization file (well, and the other one)
And that should be it.