[Lxc-users] OpenLdap in an LXC container

Papp Tamas tompos at martos.bme.hu
Wed May 4 21:27:45 UTC 2011


On 05/04/2011 10:50 PM, David Touzeau wrote:
> Dear
>
> I have created a Fedora container on an Ubuntu.
> I have installed OpenLDAP inside the container but OpenLDAP did want to
> start with permissions issues.
> *******************************************************************
> [root at fedora ~]# /usr/sbin/slapd -d 16383
>
> @(#) $OpenLDAP: slapd 2.4.23 (Nov 23 2010 17:29:50) $
>
> mockbuild at x86-07.phx2.fedoraproject.org:/builddir/build/BUILD/openldap-2.4.23/openldap-2.4.23/build-servers/servers/slapd
> ldap_pvt_gethostbyname_a: host=fedora.ak8.touzeau.com, r=0
> daemon_init:<null>
> daemon_init: listen on ldap:///
> daemon_init: 1 listeners to open...
> ldap_url_parse_ext(ldap:///)
> daemon: listener initialized ldap:///
> daemon_init: 2 listeners opened
> ldap_create
> slapd init: initiated server.
> slap_sasl_init: initialized!
> bdb_back_initialize: initialize BDB backend
> bdb_back_initialize: Berkeley DB 4.8.30: (July  8, 2010)
> hdb_back_initialize: initialize HDB backend
> hdb_back_initialize: Berkeley DB 4.8.30: (July  8, 2010)
> null_back_initialize: initialize null backend
> reading config file /etc/openldap/slapd.conf
> line 1 (pidfile         /var/run/slapd/slapd.pid)
> line 4 (include         /etc/openldap/schema/core.schema)
>
> could not open config file "/etc/openldap/schema/core.schema":
> Permission denied (13)


Try to disable apparmor.

tamas




More information about the lxc-users mailing list