The dependency tree caused by having dbus and openldap installed and in the default run level causes ldap to start before net.eth0 and this subsequently fails as need net is not satisfied. The deptree for dbus is: depinfo_11_service='dbus' depinfo_11_ineed_0='localmount' depinfo_11_iafter_0='bootmisc' depinfo_11_iafter_1='slapd' depinfo_11_needsme_0='avahi-daemon' depinfo_11_needsme_1='bluetooth' depinfo_11_needsme_2='consolekit' depinfo_11_needsme_3='cupsd' depinfo_11_needsme_4='rfcomm' depinfo_11_ibefore_0='local' depinfo_11_ibefore_1='net.eth0' depinfo_11_ibefore_2='udev-postmount' /etc/init.d/slapd: before dbus hald avahi-daemon /etc/init.d/net.lo: case "${IFACE}" in lo|lo0) ;; *) after net.lo net.lo0 dbus provide net ;; esac Latest opendlap ebuilds all use slapd-initd-2.4.28-r1. It isn't clear why openldap has to be started before dbus. Reproducible: Always Steps to Reproduce: 1. install openldap and dbus, add to default runlevel 2. reboot system 3. Actual Results: ldap starts before net.eth0 and fails: * Bringing up interface lo * Running preup ... * 127.0.0.1/8 ... [ ok ] * Adding routes * 127.0.0.0/8 via 127.0.0.1 ... [ ok ] * Running postup ... * Activating additional swap space ... [ ok ] * setting up tmpfiles.d entries ... [ ok ] * Initializing random number generator ... [ ok ] INIT: Entering runlevel: 3 * Starting metalog ... [ ok ] * Starting acpid ... RTNETLINK1 answers: No such file or directory acpid: error talking to the kernel via netlink [ ok ] * ERROR: cannot start slapd as net.eth0 would not start * Starting D-BUS system messagebus ... [ ok ] * Bringing up interface eth0 * Running preup ... * xxxxxxx/x ... [ ok ] * xxxxxx ... [ ok ] * Adding routes * default via xxxxxx ... [ ok ] * Waiting for IPv6 addresses ... [ ok ] Expected Results: services which need net are started after net.eth0 and start correctly
is true for net-nds/openldap-2.4.35-r1 on x86 sk-srv ~ # emerge --info Portage 2.2.7 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo i686) ================================================================= System uname: Linux-3.10.25-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.00GHz-with-gentoo-2.2 KiB Mem: 1031792 total, 126272 free KiB Swap: 1004056 total, 1004056 free Timestamp of tree: Wed, 29 Jan 2014 17:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.11.2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.6.3, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo local ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gdm /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/" LANG="fr_FR.UTF8" LC_ALL="fr_FR.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl apache2 berkdb branding bzip2 cdr cli cracklib crypt cups cxx dbus dri edirectory fam fortran gdbm gif gtk hal iconv jpeg ldap lock logrotate modules mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl png ppds python readline samba session ssl tcltk tcpd thunar unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON sk-srv ~ # rc-update -s apache2 | default bootmisc | boot clamd | default consolefont | boot cupsd | default dbus | default devfs | sysinit device-mapper | boot dhcpd | default dmesg | sysinit fetchmail | default fsck | boot hdparm | boot hostname | boot hwclock | boot iptables | default keymaps | boot killprocs | shutdown local | default nonetwork localmount | boot loopback | boot lvm | boot mmsmtp2 | default modules | boot mount-ro | shutdown mtab | boot munin-node | default mysql | default named | default net.eth0 | default net.lo | boot netmount | default nfs | default ntpd | default numlock | boot owfs | default owhttpd | default owserver | default procfs | boot proftpd | default root | boot rsyncd | default samba | default savecache | shutdown slapd | default snmpd | default sshd | default swap | boot swapfiles | boot sysctl | boot sysfs | sysinit syslog-ng | default termencoding | boot tmpfiles.dev | sysinit tmpfiles.setup | boot udev | sysinit udev-mount | sysinit urandom | boot vixie-cron | default xdm | default
confirm on net-nds/openldap-2.4.40-r3 only workaround is to remove "before dbus" from "depend()"