We ran into a permission denied on /run/user/0/bus like this:
Starting CA Jupyter podman containers
using overridden websocket spec ws://ams4apw01ls:8000
ERRO[0000] failed to move the rootless netns slirp4netns process to the systemd user.slice: dial unix /run/user/0/bus: connect: permission denied
Solution was this:
To allow for systemd services to be started at boot without login (and continue running after logout) of the individual users, you need to enable "lingering". You can do that via loginctl enable-linger <username>. It's buried in the manpages of podman-generate-systemd:
http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html" title="http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html" href="http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html" rel="noreferrer noopener" target="_blank" class="fui-Link ___10kug0w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" style="overflow-wrap: break-word">http://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html
No idea if that relates to your problem ...
------------------------------
Thomas Strehl
------------------------------
Original Message:
Sent: Tue December 05, 2023 10:26 AM
From: Jerzy Konarski
Subject: CA 12 jupyter notebook on Podman with RHEL 8 install/configuration
Hi Thomas,
My CA version is 12.0.1
For the host name I use the $hostname variable which returns the same value as the one I have in the system configuration
I use Microsoft IIS and to initialize it I used the script provided by Cognos. I later checked the rules are OK
I have only CA containers.
When I execute startup.sh at the last I have a message "chown: cannot access '/var/run/docker.sock': Permission denied" and it's very strange because I start it as root.
With podman logs I have too somme strange "Permission denied".
I installed the RHEL server twice for testing and both times I got the same result.
Any idea ?
------------------------------
Jerzy Konarski
------------------------------
Original Message:
Sent: Tue December 05, 2023 08:45 AM
From: Thomas Strehl
Subject: CA 12 jupyter notebook on Podman with RHEL 8 install/configuration
We're running 11.2.4.1 on podman on RHEL with proxy
We had to make sure that
Does the notebook container start on trying to open/create a notebook ?
Is there any old containers left that may interfere ?
Or any sock processes active tha t should not ?
------------------------------
Thomas Strehl