Edubuntu 12.04 LTSP - Fat clients hangs on shutdown with Kernel 3.8 and higher
Nick Fenger
nick.fenger at gmail.com
Mon May 19 23:18:35 UTC 2014
Alkis,
I've done some more testing and the newest nbd-disconnect IS working on my
previously non-working Dell Optiplex 7xx series. As you stated, shutdown
works when initiated from the graphical interfaces - LightDM (fat) and LDM
(thin). I'll test my Gateway E Series systems when I'm at my other school
tomorrow.
Initiating the shutdown command via a terminal session or ssh still fails
(nbd-disconnect is not called). Is there a way to cleanly shutdown the
client via ssh? - Or - clean up the server connections, swap files, etc...
after a more aggressive shutdown (since the ssh shutdown will be initiated
from the server anyway).
Thanks,
-Nick
On Mon, May 19, 2014 at 1:34 PM, Nick Fenger <nick.fenger at gmail.com> wrote:
> For fat and thin ltsp clients I replace the /sbin/poweroff binary with a
> script that executes the additional commands. Non-ltsp clients do not have
> issues shutting down.
>
> In my test, I logged in as root from tty1 on my updated ltsp thin client
> (image rebuilt with the new nbd-disconnect) (ctrl+alt+F1) and executed the
> original /sbin/shutdown command.
>
> I can do further testing, what are the additional commands I need to
> execute to properly shutdown?
>
>
> On Mon, May 19, 2014 at 1:11 PM, Alkis Georgopoulos <alkisg at gmail.com>wrote:
>
>> Στις 19/05/2014 10:27 μμ, ο/η Nick Fenger έγραψε:
>>
>>
>>> I only tried the newest version of the nbd-disconnect script on a HP
>>> Compaq dc7800 and it did not work (shutting down from a root login on
>>> tty1) while with my additional commands it does shutdown. I had to do
>>> the alsa --force-unload on all of my Gateway E-Series Pentium 4 clients
>>> and the newer E-Series dual core ones require the additional commands as
>>> to my Dell Optiplex 7xx series.
>>>
>>>
>>
>> Shutting down from root login how?
>> If you're using `poweroff -fp`, that bypasses the normal shutdown process
>> (and nbd-disconnect as well). Services wouldn't be stopped, the ssh and nbd
>> connections wouldn't be closed, NBD swap files on the server wouldn't be
>> deleted etc.
>>
>> If you need `alsa --force-unload` for a client to shut down,
>> how is that called on non-LTSP clients?
>>
>> I.e. if you had a local installation there, the clients wouldn't power
>> off?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/edubuntu-users/attachments/20140519/25de3770/attachment.html>
More information about the edubuntu-users
mailing list