Hide Forgot
Description of problem: slapd doesn't start on boot when NetworkManager is removed. Version-Release number of selected component (if applicable): openldap-servers-2.4.40-9.el7_2.x86_64 openldap-2.4.40-9.el7_2.x86_64 How reproducible: Install slapd, enable the service, remove network manager, configure NICs to NOT use NM, and reboot. Notice it does not start at boot. Steps to Reproduce: 1. Install openldap-servers-2.4.40-9.el7_2.x86_64 2. Enable slapd 3. Remove network manager 4. Configure NICs 5. Restart the network and verify connectivity 6. Reboot Actual results: slapd doesn't start at boot Expected results: slapd should start at boot Additional info: The problem is the systemd unit file: /usr/lib/systemd/system/slapd.service contains: [Unit] Description=OpenLDAP Server Daemon After=syslog.target NetworkManager-wait-online.service Documentation=man:slapd Documentation=man:slapd-config Documentation=man:slapd-hdb Documentation=man:slapd-mdb Documentation=file:///usr/share/doc/openldap-servers/guide.html [Service] Type=forking PIDFile=/var/run/openldap/slapd.pid Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS=" EnvironmentFile=/etc/sysconfig/slapd ExecStartPre=/usr/libexec/openldap/check-config.sh ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS [Install] WantedBy=multi-user.target --------------------- The After= line should be: After=syslog.target network.target
Thanks for reporting this. However, this issue has been already reported and is planned to be fixed with next release. *** This bug has been marked as a duplicate of bug 1315958 ***