Bug 42906 - Provide auralis App as Docker App
Provide auralis App as Docker App
Status: RESOLVED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: Jürn Brodersen
App Center maintainers
:
Depends on:
Blocks: 42243
  Show dependency treegraph
 
Reported: 2016-11-09 14:34 CET by Felix Botner
Modified: 2017-09-11 12:36 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
brodersen: Patch_Available+


Attachments
join script (456 bytes, application/x-shellscript)
2016-11-17 12:16 CET, Jürn Brodersen
Details
unjoin script (237 bytes, application/x-shellscript)
2016-11-17 12:16 CET, Jürn Brodersen
Details
preinst script (optional) (412 bytes, application/x-shellscript)
2016-11-17 12:17 CET, Jürn Brodersen
Details
univention-docker-auralis package (12.04 KB, application/zip)
2016-11-17 12:18 CET, Jürn Brodersen
Details
ini file for docker installation (2.31 KB, text/plain)
2016-11-17 12:20 CET, Jürn Brodersen
Details
join script (249 bytes, application/x-shellscript)
2017-01-13 15:16 CET, Jürn Brodersen
Details
ini file for docker installation (2.31 KB, text/plain)
2017-01-13 15:21 CET, Jürn Brodersen
Details
univention-auralis package (10.82 KB, application/zip)
2017-01-13 15:39 CET, Jürn Brodersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2016-11-09 14:34:05 CET
The auralis App should be provided as Docker App.
Comment 1 Jürn Brodersen univentionstaff 2016-11-17 12:16:26 CET
Created attachment 8228 [details]
join script
Comment 2 Jürn Brodersen univentionstaff 2016-11-17 12:16:51 CET
Created attachment 8229 [details]
unjoin script
Comment 3 Jürn Brodersen univentionstaff 2016-11-17 12:17:19 CET
Created attachment 8230 [details]
preinst script (optional)
Comment 4 Jürn Brodersen univentionstaff 2016-11-17 12:18:05 CET
Created attachment 8231 [details]
univention-docker-auralis package
Comment 5 Jürn Brodersen univentionstaff 2016-11-17 12:20:57 CET
Created attachment 8232 [details]
ini file for docker installation
Comment 6 Jürn Brodersen univentionstaff 2016-11-17 12:33:30 CET
After replacing univention-auralis with univention-docker-auralis, adding the join/unjoin scripts and changing the ini file, a docker installation should be possible.

I added a preinst script to make an upgrade from a non docker version possible. But I'm not sure what data needs to copied. For now only the data from the auralis database is accessible from outside the container.
Comment 7 Felix Botner univentionstaff 2016-12-19 10:15:44 CET
Please move everything from univention-docker-auralis to univention-auralis, we want a patch for the univention-auralis package
Comment 8 Jürn Brodersen univentionstaff 2017-01-13 15:16:09 CET
Created attachment 8348 [details]
join script
Comment 9 Jürn Brodersen univentionstaff 2017-01-13 15:21:45 CET
Created attachment 8349 [details]
ini file for docker installation
Comment 10 Jürn Brodersen univentionstaff 2017-01-13 15:39:13 CET
Created attachment 8350 [details]
univention-auralis package

Reverted package name change back to univention-auralis and code cleanup.

The interesting files are:
usr/sbin/univention-auralis-setup:
  Copy from the auralis package with changes to setup auralis without root access to the database. Plus some file permission changes because some docker storage drivers don't like unix acls.

usr/sbin/univention-auralis-ldap-setup:
  Setup a ldap connection

usr/sbin/univention-auralis-docker-setup:
  Setting everything up

usr/bin/auralis-console:
  A wrapper to manage problems with unix acls on docker