Public bug reported: When using "uri DNS" in /etc/nslcd.conf, nslcd exits prematurely at boot because network-manager hasn't finished configuring networking yet. The relevant message is ONLY present in boot.log (nowhere else!), which made troubleshooting this a pain in the butt.
/var/log/boot.log contains: root@dev2:~# cat /var/log/boot.log * Stopping adjust system clock and timezone [ OK ] * Stopping Read required files in advance [ OK ] * Starting Mount filesystems on boot [ OK ] * Starting Populate /dev filesystem [ OK ] * Starting Populate and link to /run filesystem [ OK ] * Stopping Populate /dev filesystem [ OK ] * Stopping Populate and link to /run filesystem [ OK ] * Stopping Track if upstart is running in a container [ OK ] * Starting Fix-up /sys/kernel/debug filesystem [ OK ] * Stopping Fix-up /sys/kernel/debug filesystem [ OK ] * Starting Initialize or finalize resolvconf [ OK ] * Starting set console keymap [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Bridge udev events into upstart [ OK ] * Starting Signal sysvinit that remote filesystems are mounted [ OK ] * Starting device node and kernel event manager [ OK ] * Starting Signal sysvinit that the rootfs is mounted [ OK ] * Stopping set console keymap [ OK ] * Starting load modules from /etc/modules [ OK ] * Starting cold plug devices [ OK ] * Starting log initial device creation [ OK ] * Starting Clean /tmp directory [ OK ] * Starting Uncomplicated firewall [ OK ] * Stopping Read required files in advance (for other mountpoints) [ OK ] * Stopping load modules from /etc/modules [ OK ] * Stopping Clean /tmp directory [ OK ] * Starting Signal sysvinit that local filesystems are mounted [ OK ] * Starting Flush boot log to disk [ OK ] * Starting flush early job output to logs [ OK ] * Stopping Mount filesystems on boot [ OK ] * Starting configure network device security [ OK ] * Starting configure network device security [ OK ] * Starting Enabling additional executable binary formats [ OK ] * Stopping Flush boot log to disk [ OK ] * Stopping flush early job output to logs [ OK ] * Starting configure network device [ OK ] * Starting NFSv4 id <-> name mapper [ OK ] * Starting D-Bus system message bus [ OK ] * Starting Mount network filesystems [ OK ] * Starting Upstart job to start rpcbind on boot only [ OK ] * Starting Failsafe Boot Delay [ OK ] * Stopping Upstart job to start rpcbind on boot only [ OK ] * Stopping Mount network filesystems [ OK ] * Starting RPC portmapper replacement [ OK ] * Starting system logging daemon [ OK ] * Stopping Failsafe Boot Delay [ OK ] * Starting System V initialisation compatibility [ OK ] * Starting modem connection manager [ OK ] * Starting configure network device security [ OK ] * Starting NSM status monitor [ OK ] * Starting configure network device [ OK ] * Starting bluetooth daemon [ OK ] * Starting set console font [ OK ] * Stopping set console font [ OK ] * Starting userspace bootsplash [ OK ] * Starting rpcsec_gss daemon [ OK ] * Starting Send an event to indicate plymouth is up [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] * Starting Bridge file events into upstart [ OK ] * Starting Bridge socket events into upstart [ OK ] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting SystemD login management service [ OK ] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Stopping Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [ OK ] * Starting mDNS/DNS-SD daemon [fail] * Starting Reload cups, upon starting avahi-daemon to make sure remote queues are populated [fail] * Stopping mDNS/DNS-SD daemon [ OK ] * Starting network connection manager [ OK ] * Stopping userspace bootsplash [ OK ] Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd * Stopping cold plug devices [ OK ] * Stopping log initial device creation [ OK ] * Starting configure network device security [ OK ] * Starting save udev log and update rules [ OK ] * Stopping save udev log and update rules [ OK ] * Starting configure virtual network devices [ OK ] * Starting AppArmor profiles [ OK ] * Setting up X socket directories... [ OK ] * Stopping System V initialisation compatibility [ OK ] * Starting System V runlevel compatibility [ OK ] * Starting save kernel messages [ OK ] /etc/init.d/rc: 121: /etc/init.d/rc: /etc/rc2.d/S201stboot: Permission denied /etc/init.d/rc: 121: /etc/init.d/rc: /etc/rc2.d/S201stboot: Permission denied * Starting anac(h)ronistic cron [ OK ] * Starting ACPI daemon [ OK ] * Starting regular background program processing daemon [ OK ] * Stopping save kernel messages [ OK ] * Stopping Restore Sound Card State [ OK ] * Starting cups-browsed - Bonjour remote printer browsing daemon [ OK ] * Starting automatic crash report generation [ OK ] * Starting Automounter [ OK ] * speech-dispatcher disabled; edit /etc/default/speech-dispatcher * Starting CPU interrupts balancing daemon [ OK ] * Stopping anac(h)ronistic cron [ OK ] * Starting VirtualBox kernel modules [ OK ] * Starting NTP server ntpd [ OK ] * Starting OpenSSH server [ OK ] nslcd: /etc/nslcd.conf:3: no servers found in DNS zone asg.local: Server is unavailable * Starting crash report submission daemon [ OK ] * Starting LDAP connection daemon nslcd [fail] saned disabled; edit /etc/default/saned * Restoring resolver state... [ OK ] * Stopping System V runlevel compatibility [ OK ] ** Affects: nss-pam-ldapd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1449163 Title: nslcd exits prematurely at boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/1449163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs