Launching the license container after a Qlik Catalog Installation fails with the error:
Insufficient UIDs or GIDs available in user namespace
Additional error lines:
oci: initializing source oci:/var/tmp/podman3573106205:: open /var/tmp/podman3573106205/index.json: not a directory
oci-archive: loading index: open /var/tmp/oci1338584737/index.json: no such file or directory
docker-archive: writing blob: adding layer with blob "sha256:c3ba2f1415f1b416fae0f52868faf234c0a3a054b047decb7562f77f407b4cc7": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 64900:0 for /usr/local/bin/licenses): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /usr/local/bin/licenses: invalid argument): exit status 1
dir: open /var/tmp/podman3573106205/manifest.json: not a directory Error: Qlik Licenses container image load unsuccessful, exit code: 125loading Qlik Licenses container image
Resolution
Increase the number of available UIDs and GIDs.
By default, a limited range of UIDs and GIDs is available within user namespaces. You can increase this range to have more UIDs and GIDs available for your processes.
To do this, you can modify the /etc/subuid and /etc/subgid files. These files allow you to specify ranges of UIDs and GIDs that can be used by user namespaces.
Open the /etc/subuid file with a text editor (e.g., vi or nano) and add a new line to extend the UID range: your_username:100000:65536
Replace your_username with your actual username. The numbers 100000 and 65536 represent the starting UID and the number of UIDs to make available, respectively.
Similarly, open the /etc/subgid file and add a line to extend the GID range: your_username:100000:65536
Reload the changes.
After modifying the /etc/subuid and /etc/subgid files, you need to reload the changes. You can use the newuidmap and newgidmap commands for this purpose: