[Freeipa-users] running freeipa inside container

Alexander Bokovoy abokovoy at redhat.com
Sat Oct 4 19:43:36 UTC 2014

On Thu, 02 Oct 2014, Mark Vincent Magbero wrote:
>Host OS: Centos 6.5 x86_64
>Guest OS: Centos 6.5 x86_64
>SELinux status: permissive
>2014-10-02T13:55:20Z DEBUG calling setup-ds.pl
>2014-10-02T14:06:00Z DEBUG args=/usr/sbin/setup-ds.pl --silent --logfile -
>-f /tmp/tmpY_By3t
>2014-10-02T14:06:00Z DEBUG stdout=Server failed to start !!! Please check
>errors log for problems
>[14/10/02:10:06:00] - [Setup] Info Could not start the directory server
>using command '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line
>from the error log was '[02/Oct/2014:09:56:01 -0400] - Failed to create
>semaphore for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error
>13.(Permission denied)
>'.  Error: Unknown error 256
>Could not start the directory server using command
>'/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line from the
>error log was '[02/Oct/2014:09:56:01 -0400] - Failed to create semaphore
>for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission
>'.  Error: Unknown error 256
>[14/10/02:10:06:00] - [Setup] Fatal Error: Could not create directory
>server instance 'PKI-IPA'.
>Error: Could not create directory server instance 'PKI-IPA'.
>[14/10/02:10:06:00] - [Setup] Fatal Exiting . . .
>I have a rather lengthy logfile, but i'd rather not post it all as of the
>moment if it's simply not possible to run freeipa inside an LXC container.
>Has anybody successfully installed and run freeipa inside a container?
LXC containers are not supported. So far we have proof of concept of
FreeIPA running in Docker: http://www.freeipa.org/page/Docker

There are too many moving parts to get it all working in a general case.
Your help is welcome.
/ Alexander Bokovoy

More information about the Freeipa-users mailing list