Wednesday, January 12, 2022

[389-users] Re: Running dscontainer as a non-root user

> On 12 Jan 2022, at 20:55, Steve F <> 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?


William Brown

Senior Software Engineer, Identity and Access Management
SUSE Labs, Australia
389-users mailing list --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:

No comments:

Post a Comment