[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664976: debian-edu-config: installer hang during debian-edu-profile run at the end



On Thu, Mar 22, 2012 at 12:35:14AM +0100, Bernhard Hammes wrote:
> Package: debian-edu-config
> Version: 1.453
> Severity: normal
> 
> *** Please type your report below this line ***
> installer hang during debian-edu-profile run at the end. on tty4 error
> stating
> "debian-edu-config-finish-install" entropy pool is 3009 after trying to
> add more"
> chrooting into /target and doing /etc/init.d/bind9 restart did help to
> proceed (suggestion from #debian-edu) .
> After reboot, login with my non-root user via kde/tty did not work
> (krb/sldap fail?), nfs-kernel-server failed to start, too.
> included files:
> output of pstree and ps -ef from the time during the hanging installer
> 
> /var/log/installer/ from this machine:
> http://garkein.pupes.de/debian-edu-installer-log.tar.gz (maybe someone
> wants to reupload it on a proper "debian place")

Thank you for the bug report.  I had a look at the installation log
(syslog), and found this part which I believe is where the
installation get stuck:

Mar 21 22:04:11 in-target: cfengine:tjener:du-install: The LDAP server slapd seems 
not to be running. Trying to start slapd.
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: Starting OpenLDAP: slapd.
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: Starting domain name service
...: bind9.
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: ldap_sasl_bind(SIMPLE): Can'
t contact LDAP server (-1)
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: No domains configured. Exiti
ng...
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: When run by root:
Mar 21 22:04:11 in-target: cfengine:tjener:du-install:     smbpasswd [options] [use
rname]
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: otherwise:
Mar 21 22:04:11 in-target: cfengine:tjener:du-install:     smbpasswd [options]
Mar 21 22:04:11 in-target: cfengine:tjener:du-install: options:
Mar 21 22:04:11 in-target: cfengine:tjener:du-install:   -L                   local
 mode (must be first option)
Mar 21 22:04:11 in-target: cfengine:tjener:du-i
Mar 21 22:04:55 debian-edu-config-finish-install: low on entropy, pool is 128. tryi
ng to add more
Mar 21 22:08:52 debian-edu-config-finish-install: entropy pool is 3050 after trying
 to add
Mar 21 22:18:32 init: process '/usr/bin/tail -f /var/log/syslog' (pid 376) exited. 
Scheduling for restart.
Mar 21 22:18:32 init: starting pid 22788, tty '/dev/tty4': '/usr/bin/tail -f /var/log/syslog'
Mar 21 23:46:29 named[22708]: received control channel command 'stop -p'

After this point, the ldap-debian-edu-install script exits without
stopping the services it started (slapd, bind, etc), and get stuck
waiting for these services to exit.  The only running one in your case
was bind, and when it was restarted the file descriptor connecting d-i
to bind was closed and the installer could continue.

I have no idea why smbpasswd failed to connect to LDAP.  Perhaps the
LDAP server is starting too slow, or smbpasswd is starting too fast.
-- 
Happy hacking
Petter Reinholdtsen



Reply to: