Bug#463504: division by zero when xdm started at 01
martin f krafft <madduck <at> debian.org>
2008-02-01 02:53:49 GMT
I start xdm first:
lapse:~> ls /etc/rc2.d/S* | head -1
This causes the num_steps loop on line 257 of /etc/init.d/rc to
break during the first iteration, which in turn causes a division by
zero in the startup_process() function:
/etc/init.d/rc exited outside the expected control flow
/etc/init.d/rc: 2: arithmetic expression: division by zero: "1 * 31 / 0 + 61"
I think you may mean s/break/continue in the num_steps loop to not
count those few services, but to continue counting...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
sysv-rc depends on no packages.