Le mercredi 04 mai 2011 à 23:27 +0200, Papp Tamas a écrit : > 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@fedora ~]# /usr/sbin/slapd -d 16383 > > > > @(#) $OpenLDAP: slapd 2.4.23 (Nov 23 2010 17:29:50) $ > > > > > mockbu...@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 > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Lxc-users mailing list > Lxc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-users
Dear your are right !!! put /usr/sbin/slapd in aa-complain in the host fix the issue... I was fighting with apparmor inside the container !!! haha ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users