Bug 39412 - The App Center Docker implementation still uses aufs
The App Center Docker implementation still uses aufs
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Dirk Wiesenthal
Arvid Requate
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-26 15:09 CEST by Stefan Gohmann
Modified: 2015-11-17 12:11 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-09-26 15:09:33 CEST
The App Center Docker implementation still uses aufs, for example:

sed: kann /var/lib/docker/aufs/mnt/9232e2894a1d6c2daa6ac5f7f5bc271e1483c0a4ac2b831f1d7c7cbe7b371e12/var/www/owncloud/config/config.php nicht lesen: Datei oder Verzeichnis nicht gefunden

I guess 
/var/lib/docker/devicemapper/mnt/9232e2894a1d6c2daa6ac5f7f5bc271e1483c0a4ac2b831f1d7c7cbe7b371e12/rootfs/
would be the right directory.
Comment 1 Dirk Wiesenthal univentionstaff 2015-09-27 01:05:04 CEST
OK, this is the right directory for containers running with devicemapper as storage driver.

But I struggle to find the directory for stopped containers. This is needed to copy docker scripts (like setup, store_data) into the container even when the app was stopped.

It was: /var/lib/docker/aufs/diff/$CONTAINER
Comment 2 Dirk Wiesenthal univentionstaff 2015-09-27 01:11:26 CEST
I built a version that does not use the now bugged path_not_running() method. This is just a interim solution until I find out the correct path
Comment 3 Dirk Wiesenthal univentionstaff 2015-09-28 01:19:33 CEST
Docker scripts are now copied into the container just before they are executed (therefore may be copied multiple times, but I think this is okay).

This way I do not need the path to a stopped container anymore. I am still interested, but I have removed the method for now completely.
Comment 4 Arvid Requate univentionstaff 2015-09-30 17:24:46 CEST
Ok, I added a changelog entry along with Bug #39418.
Comment 5 Stefan Gohmann univentionstaff 2015-11-17 12:11:32 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".