PRP Company | 29 Jul 2012 00:07

How to blacklist a module for the LTSP clients

This little instruction (from a newbie to other newbies) on blacklisting a module for the LTSP client boot process applies specifically to Lubuntu and i386 clients.  For other flavors of Ubuntu, you would substitute the equivalents for lxterminal, sudo and leafpad.  If you were using 64-bit or Power PC clients, you would also have to substitute whatever is appropriate for i386.

This also assumes that you know the name of the module you want to blacklist.  This post does not cover how to determine the name of a module to be blacklisted.

Run Lxterminal (from Accessories in the program menu).  To open the file containing the blacklist entries, enter at the prompt:

    sudo leafpad /opt/ltsp/i386/etc/modprobe.d/blacklist.conf

Add the following to the end of the file, save, and exit leafpad:

    blacklist module-name

(Replace module-name with the name of the module you are blacklisting.)

Then in Lxterminal once again, enter at the prompt:

    sudo ltsp-update-image

Though note that ltsp-update-image must produce the image for the correct architecture on the clients.  It defaults to using the same architecture as the host.  But if the host were, for instance, 64-bit and the clients 32-bit (i386), then the architecture of the clients must be specified with a command option.  In this case:

    sudo ltsp-update-image --arch i386

Updating the image takes some time.  When it is finished it will return you to the Lxterminal prompt.  Enter the exit command to close Lxterminal.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net
Alkis Georgopoulos | 30 Jul 2012 18:11
Picon

Re: How to blacklist a module for the LTSP clients

File a wishlist bug request in LTSP to introduce a
BLACKLIST_MODULES="module1,module2,..." lts.conf directive:
https://bugs.launchpad.net/ltsp

Other than that, the reason you couldn't find some specific how-to for 
blacklisting modules on LTSP, is that the blacklisting process itself 
isn't LTSP-specific.

So in general, you search in google whatever you want without the "LTSP" 
part, and then you follow the same modify image/update image etc steps 
that you described in your last post.

So for your other problem, the first thing to test is if the clients can 
shutdown when they're NOT booted as LTSP clients. If they can't, you 
should google about it until you learn where to file the relevant bug 
report, e.g. in acpica or in the kernel itself.
The package maintainers then would direct you on what info they need in 
order to solve the bug.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


Gmane