[Buildd-tools-devel] Bug#520713: Bug#520713: init script start hangs
Peter Palfrader
weasel at debian.org
Sun Mar 22 11:54:55 UTC 2009
On Sun, 22 Mar 2009, Roger Leigh wrote:
> On Sun, Mar 22, 2009 at 10:54:52AM +0100, Peter Palfrader wrote:
> >
> > Since the init script is run in rcS/75, before there is an sshd or
> > anything else useful this breaks the system completely, requiring remote
> > hands from a local person if no OOB access is available.
> >
> > goetz:~# sh -x /etc/init.d/schroot start
> > ...
> > Recovering schroot sessions:+ return
> > ++ /usr/bin/schroot --all-sessions --list --quiet
> > + for chroot in '`$SCHROOT --all-sessions --list --quiet`'
> > + /usr/bin/schroot --chroot=sid-alpha-sbuild-7855514e-e68e-40e3-8198-61366cd44074 --recover-session
> > [just hangs here]
> >
> > It appears to be stuck in some kind of futex thing:
> >
> > weasel at goetz:~$ sudo strace -p 11214 2>&1 | head
> > Process 11214 attached - interrupt to quit
> > futex(0x120140158, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
>
> Are there any other child processes around on the system?
Nope:
when run by hand:
root 17700 1.4 0.0 88320 2384 pts/1 S 11:50 0:00 | \_ -bash
root 17704 79.1 0.0 109376 5784 pts/1 R+ 11:51 0:03 | \_ schroot --chroot=sid-alpha-sbuild-7855514e-e68e-40e3-8198-61366cd44074 --
weasel 17705 6.4 0.0 92752 4608 pts/2 Ss 11:51 0:00 \_ /bin/zsh
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
More information about the Buildd-tools-devel
mailing list