nextcloud: Fix install failure due to PrivateTmp=yes
Fixes: #2463 (closed).
-
When FreedomBox service is run via systemd and if the unit has PrivateTmp=yes as was recently introduced, then 'podman exec --user www-data' fails with error 'Error: unable to find user www-data: no matching entries in passwd file'.
-
The problem seems isolated to this specific instance and does not seem to effect the container start up (which happens via systemd).
Tests:
-
Without the patch, start FreedomBox service via systemd and install Nextcloud. It fails.
-
With the patch, install succeeds and functional tests for Nextcloud succeed.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org