On 12 Jan 2022, at 20:55, Steve F <steve.falzon(a)outlook.com>
wrote:
Awesome!
In regards to starting the dscontainer service as a non root user, do you have any
guidance?
I tried running dscontainer as a non root user in my Dockerfile, but it basicially
instantly fails initializing the instance, as it can't write to some directories.
e.g.
sed: couldn't open temporary file /usr/lib/python3.6/site-packages/lib389/sedoCUEr6:
Permission denied
Uhhhhh ... 389 shouldn't be writing to anything in /usr.
We only attempt to open and write to /data, which we assume is a container volume you have
provided and configured correct permissions of. Beside that any writes to /usr are not
because of 389 :S
Could you share your dockerfile so we can see what's going on?
--
Sincerely,
William Brown
Senior Software Engineer, Identity and Access Management
SUSE Labs, Australia