Unable to complete setup-ds-admin when running in Bionic LXC container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
389-admin (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using a brand new Bionic 18.04LTS LXC container on a Bionic host, I am unable to complete running setup-ds-admin. When performing the exact same sequence on the physical host it completes as expected.
When run as "setup-ds-admin -k -d" on the container, the run ends with this:
-------------------
Your new DS instance 'ds3891' was successfully created.
Creating the configuration directory server . . .
+Processing /usr/share/
+Processing /usr/share/
+Processing /usr/share/
+Processing /usr/share/
+Processing /usr/share/
+Processing /usr/share/
Could not authenticate as user 'uid=admin,
Could not register the directory server with the configuration directory server.
Exiting . . .
-------------------
and the UserPassword entry for that user is a bogus string, unrelated to the password entered. By that I mean that I can run the same sequence four times with different passwords (cleaning up the /etc/dirsrv/slapd-* directories in between), and the same exact string will end up stored in the UserPassword entry for that user. The password for "cn=Directory Manager" is fine, however.
The value of admin's UserPassword will always end up being this:
userPassword:: e1NTSEE1MTJ9Y21
GZzFLQW1zTnlQZ
As noted, the same exact sequence run on the bare host (not in an LXC container) yields expected results.