[Pkg-sysvinit-devel] Bug#391375: bind mounts and shutdown sequence
Stephen Olander Waters
debian at luy.info
Wed Oct 25 15:41:57 CEST 2006
On Mon, 2006-10-23 at 10:30 -0500, Stephen Olander Waters wrote:
> On 10/19/06, Stephen Olander Waters <debian at luy.info> wrote:
> > I am running sid with amd64 architecture. I also have a chroot
> > called /x86 to run openoffice, acroread, boinc, etc. In my /etc/fstab, I
> > have several bind mounts into /x86.
> >
> > When I run "shutdown -h now" or "shutdown -r now", the shutdown sequence
> > stops with an error after stopping all the processes. I have to use Alt
> > +SysRq to reboot. However, the shutdown sequence works OK if I manually
> > unmount the bind mounts before executing "shutdown".
> >
> > Is anyone else experiencing this problem?
> >
> > I can file a bug once I figure out what script is dying (it's hard for
> > me to tell because the machine is unusable except Alt+SysRq!)
>
>
> Here is the error message I'm getting
> ---
> Asking non-system processes to terminate..done
> Killing non-system processes ...error: '/etc/init.d/rc'
> exited outside the expected codeflow.
> INIT: no more processes in this runlevel
> ---
>
> Here is my /etc/fstab
> ---
> # x86 mounts
> /home /x86/home none bind 0 0
> /tmp /x86/tmp none bind 0 0
> /dev /x86/dev none bind 0 0
> sysfs /x86/sys sysfs none 0 0
> proc /x86/proc proc defaults 0 0
I found a workaround. I don't know if it counts as a fix but it does
work. Change /x86/sys to a bind mount and shutting down works.
/sys /x86/sys bind none 0 0
HTH,
-s
More information about the Pkg-sysvinit-devel
mailing list