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

Re: bind mounts and shutdown sequence



jmt <jmt@remotecomputingsystems.com> writes:

> On Thursday 19 October 2006 15:33, Stephen Olander Waters 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!)
>>
>> Thanks so much,
>> -s
>
> Are you sure you don't run the shutdown in the chroot ?
>
> I never tried that, because I think I could expect precisely this kind of 
> troubles ...
>
> jmt

Shouldn't make a difference. Afaik shutdown just tells the init to
change runlevels through the unix domain socket. If that is bind
mounted inside the chroot that still tells the init outside to do its
work.

MfG
        Goswin



Reply to: