On 20/07/2011 12:44, Christoph Willing wrote: > Thanks for putting that template (& web page) together Matteo.
thanks to you for describing the procedure for the template creation that I used in the script :) > Its interesting that the template itself is so much larger than the > existing templates for the other distributions (no big deal though). I think the main reasons are: - the patch for rc.* files; - packages list; - postinstall scripts; debootstrap takes care of most of this, but we don't have it. > We could quibble about which packages constitute the base requirements for > a container but its easy to change and I've now made several containers > with this method - very neat and quite fast. glad you like it :D > A particular change I had to make was to remove the config entries > "lxc.mount.entry=proc" (also devpts & sysfs). With those entries I was > not able to access some hardware device after I added them to the > configuration and to the fstab. I used instead a standalone "lxc.mount = > $rootfs/etc/fstab" and I was then able to access the device I had > configured. thanks! I changed the template accordingly (also in other parts, have a check if you like) :) > Same issue & fix for access /lib/modules/2.6.37.6 (since the > device driver needs to load a kernel module). > > FYI, the hardware is quite interesting - HD video/audio capture card > from http://www.blackmagic-design.com and I have a page about using it > from a container at > http://www.vislab.uq.edu.au/research/accessgrid/software/lxcag/decklink.html we are playing a little too with video streams but we have an old canopus that we use with some non-linux hosts: btw, I'll forward the friend who's following this your hardware advice, looks good and cheap, thanks also for this! Needless to say that any other note is welcomed :D Matteo -- Matteo Bernardini Comunicazione Integrata Divisione Didattica, Ricerca e Relazioni Esterne Scuola Normale Superiore ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users