Search Results: "mak"

19 August 2006

Erich Schubert: Giving up on SELinux for sarge, maybe even Debian altogether.

I'm giving up on backporting SELinux to sarge. Too many changes are needed in too many apps to make them really compatible with SELinux. Nothing serious, but just lots and lots of small things. For example, the amavisd-new package will need a cronjob modification. This has already been resolved (somewhat) for unstable, but it means I would need to provide a modified amavisd-new package or a backport. I hope that when etch gets released end of the year (and I actually believe this will happen), many issues will already be resolved. But it depends of course on many people using SELinux in different settings. My most-annoying-issue with SELinux on Debian: cron bug #333837, open for some 300 days now. The debian cron package will backup e.g. /etc/shadow, which actually sounds like a quite inappropriate place for this task. And of course it's all in one file named /etc/cron.d/standard, instead of e.g. /etc/cron.d/backup-key-system-files or so, which I could then label backup_exec_t or something else to assign the special privilege of reading shadow files... It's bugs like these, unhandled for 300 days, together with having the impression of being the only one trying to get SELinux running and receiving basically no support by the SELinux upstream "community" (which is almost exclusively "enterprise", it seems). It's pretty much like everybody wants you to not use SELinux. Or in my case, not enable people to use SELinux on Debian, since I'm not just "joe average user", but actually trying to add SELinux support to the Debian distribution (which would help Ubuntu to get SELinux, too. The Ubuntu people seem to have given up on SELinux already).

David Welton: American Economics Association

It's obvious from my writings that I have developed an interest in economics, which developed out of a curiousity about the workings of free software business - how were we to make money creating free software? While that's still an open question, the tangent has been a fascinating one that I'm glad I followed. My work with the Tcl programming language further encouraged my interest as I sought to reconcile the language's extremely high quality and versatility with its falling popularity. If the answer wasn't a technical one, it had to be some squishy, human factor... economics and marketing. In any case, one of the things that has frustrated me about economics compared with my native territory of free software is the relative paucity of on line information, and almost total lack of quality sources of feedback (discussion groups or the like where serious discourse is the rule, rather than quackery or debates that quickly degrade into political rants). Not having the time, nor at present the inclination to sidetrack to the point of pursuing a degree in economics, which is the most obvious way of coming into contact with a lot of thought on the subject, at the recommendation of professor Stephen J Turnbull, I signed up to the American Economic Association, which sends out several hefty academic journals every quarter. Some of the math is a bit daunting, but there is quite a bit of material on various topics, and I think many others (there seem to be a fair amount of open source people with at least a passing interest in business and econ) who want to see something "closer to the metal" would find these journals worth their while, and it's not very expensive to sign up.

David Welton: Summer vacation

I'm back in Italy after a wonderful vacation in Oregon. I had a nice time in Portland at OSCON, and got to meet a bunch of people I most likely won't see for a while, which is always fun. In particular, David Jones of OFBiz was impressive in his determination to do anything and everything to make that project a success. It would have been nice to spend a bit more time at OSCON, but vacation called. On the negative side, I'd kind of forgotten how these things at time break down into cliques, but c'est la vie. It reminds me that I prefer the inclusiveness that is at times more present in Italy. Going a bit off topic from the topic of this journal, "computer stuff", we went all over Oregon... Portland, the Gorge, Mount Hood and Timberline Lodge, the central coast, Eugene of course, including a wine tasting trip along the applegate trail, Waldo Lake, Paulina Lakes, and over as far as Fort Rock and the high desert, which was quite a spectacle for us city dwellers acustomed to being surrounded by people. One of the great things about Oregon, and being on vacation there, is the bookstores. Powell's is probably the world's largest physical bookstore, and the separate technical shop is larger than all but the largest bookstores in Italy. I couldn't resist buying a bunch of books there, and at the Smith Family Bookstore in Eugene, which has loads of used books at good prices. I bumped into Russ Nelson, of the Free Software Business mailing list, in the Economics section of Powell's, which was an interesting chance encounter. Amongst the books I picked up: The Paradox of Choice: Why More Is Less A good read, but it could have been condensed significantly and still got its point across. I think there is a lot to be learned in this book for us programmer types, who tend to be very much 'maximizers' in what we do. I've written about this some here: Maximizers, Satisficers and Programming Languages Why Globalization Works The book explains what the title promises. It's a long read, because the author is very thorough and provides lots of supporting facts and figures. Growing a Business Good read on creating and growing a business, even if it's a bit dated, and related to the individual in question and his experiences. Now, if only I had the business... How to Bring a Product to Market for Less than $5000 Haven't read it yet, but I have some ideas for products completely unrelated to high tech (it's stuff from Italy, actually) that I think would do quite well in the US. Contact me if you're interested... The Design of Everyday Things Haven't got around to reading this one either (also, I have a backlog of The Economist to read here at home, which is usually time consuming). It comes high recommended though. The Third Chimpanzee: The Evolution and Future of the Human Animal I enjoyed Collapse as well as Guns, Germs and Steel by Jarod Diamond, and this one looks interesting too. In light of the aforementioned backlog, I left this one with my parents to read, and I'll check it out later this fall. Why Most Things Fail Doesn't seem to be rated very well on Amazon, but Ormerod's thesis that economics-as-a-machine isn't tenable is interesting, and I'm curious to see the details of that idea. Perhaps one of his earlier books would be good reading as well. I'll try and write up the books as I read them, if they prove worthwhile.

Mike Hommey: Two things I don t like about multimedia linux

Kernel being dumb by being smart Memory cache is a good thing to speed up a computer, but it’s a PITA when it comes to stopping playing a DVD or a big video file. The kernel usually keeps in memory cache data that has been read from the hard drive so that it can get it faster next time the same data is accessed. I don’t know exactly on what grounds fragments are decided to be kept or not, but observation shows that playing a DVD or a Xvid file makes the cache grow more than significantly. Moreover, while playing the video, the other software from the desktop (nautilus, for example), is not used, thus, the kernel decides it can swap it to disk virtual memory. Then, when you stop reading your video and want to come back to normal activity, your desktop is damn slow for some long seconds. That makes the experience a real pain. Overuse of network bandwidth I noticed that when I switched from a samba network share to an apache based DAV one: reading a video file from the DAV share with totem-gstreamer filled my apache logs very quickly. It seems gstreamer/gnomevfs seeks a lot in the file to play the video. Instead of making one HTTP request, it does several thousands, each time requesting again data it already received. As a result of that, it usually takes up to 1 mega byte per second to play a video that has a bitrate of 1 mega bit per second, with a nice effect of network congestion when the bit rate grows for detailed sequences. Do you find it normal that it takes 5 minutes to download a 45 minutes file at 2~3 MB/s, and 1MB/s for 45 minutes to play it directly from the network ? Well, now, gstreamer 0.10 doesn’t even support reading from HTTP/DAV, but the problem remains the same when reading via sftp with gnomevfs.

Evan Prodromou: 1 Fructidor CCXIV

We had an active day around here getting ready to fly off to wt:Odense in wt:Denmark for Wikisym. I finally debugged the last testing error with the MediaWiki 1.7.1 upgrade for Wikitravel, so I did a rollout this morning, and things seem to be working great. The Wikimedia team's rollout schedule -- they run the Subversion trunk version on e.g. Wikipedia and make quarterly stable drops -- has worked out pretty well. It's interesting to see the Free Software world moving away from "It'll be done when it's done" to "Here's what we have since the last 6 months, and it more or less works". It doesn't seem to be damaging the quality of the software released or the willingness to innovate -- more the opposite. And users seem to really appreciate not having to decide between "stable" and "up-to-date". Having a bleeding edge that everyone can afford to be on makes things a little less bloody. tags:

Burn I also started the insurance process for our Montreal local Burning Man event in September. All Burning Man regional events have to be fully insured, which is pretty annoying when you are paying for it and pretty calming when you've got a big bonfire going. Next up: toilets. This is the glamour of Burning Man, folks. tags:

Baby carriers Maj, Amita June and I took a trip to nearby B b Dep t on Christophe Colombe and St. Zotique -- yes, non-wt:Montreal-residents, those are real street names -- to get some baby carrying units. Baby carrying is serious technology. A week before Amita June was born, we got this 12-foot-long elastic cloth that you're supposed to wrap around your body 4 times and the baby ends up in one or more of the various folds. It seemed like a good idea at the time, but trying to get a newborn into it turned out to be a real hassle. So, a few days after we came home from the hospital, I ran out to Bummie's on Mont Royal and got a black Heart-to-Heart shoulder sling. It's been absolutely fantastic -- the real workhorse of our baby-carrying needs. But as Amita got bigger, it got harder to go for long walks with her in the sling. So when we were at 2006 SxSW Interactive I ran out early one morning to the Walmart near our hotel and got a $12.99 umbrella stroller. Amita loves it -- go figure -- but the thing is about 6 inches too short for me, so I've developed a real hunch pushing it around. For our trip to Europe, we decided to shell out some serious dough -- far into the double digits -- to get major technology for our baby-carrying needs. We got a really nice stroller from Chicco with a canopy and comfy handles that reach up just about to where I need them, which is very nice. And we got a baby backpack -- porte-b b sac- -dos -- that Amita can sit in while I carry her on my back. That's by far the most fun for me so far. She cried like the dickens when we put her in, but pretty soon she was cooing like a dove. It was really comfortable for me, too. We're taking the backpack and not the stroller to Europe... we're both trepidatious about the choice and I hope it turns out well. tags:

18 August 2006

Aigars Mahinovs: This is not America

A song This Is Not America by David Bowie tuned me in to the radio playing in the background. And I realised - the USA that exists today is not The America anymore. The America is the land of free and brave. The USA is the land of self-restricted cross-monitoring cowards. And I am talking about the attitude of the people, not about the government here. People make the country, not the government. The America would have laughed in the face of 9/11 and said “Bomb us all you want, bet we will not give up our freedoms!”. The USA crawled into a corner and pleaded to its president to take away all its freedoms and wealth just to get a false sense of security, which it still has not got. I would like to live in The America, but the USA is just pitiful. The American dream is dead and buried by the same people that once made it - the USA public. RIP. P.S. If you think that my blog has become too political, then I am sorry, but the problem is that politics slip into our lifes more and more and if we - regular people, do not become politically involved, then the polititians will just assume the we do not care and make decisions based on who pays their lobbies more. Think software patents, just on a much wider scale and with much wider implications, like the WW3.

Martin F. Krafft: Talk on Debian "etch"

Tomorrow I will deliver a talk on Debian "etch" at the University of Limerick Computer Society. Staying true to my principles, I held back the preparation of slides until the last minute, but now I actually ended up having them done well in advance, with enough time to invite you to take a look [*] and provide feedback. In this talk, I introduce Debian, give a status update on the "etch" release, talk a little bit about the future and how I see Debian's strategies evolving/developing/changing, and finally relate a bit to Ubuntu. That latter point was added on request, and I will remain objective and talk about the status quo, problems, and benefits (so it won't be a subjective take like this, although I certainly will address some of the issues). Comments welcome!
[*]the slides were prepared for S5 and can be viewed directly in modern browsers. The best experience is with a 1024x768 or higher resolution. Here are instructions on how to browse them (though you probably don't need them).
Update: the talk went well. I planned it to be 40 minutes (which is ambitious for 25 slides, but I can zip through them at high speed if I need to), and I learnt that the room was scheduled for two hours, so I added about 5 slides and went into it without a clock... and totally enjoyed delivering a talk with almost no time restrictions, which turned out to last just under 2 hours in the end. I talked a bit too much about what Debian is, then delivered the status report on the "etch" release, and in the end also had quite some time to spare on talking about our current and future challenges, as well as discussing some of the problems with the distribution and the project, as I see them. I would like to thank the attendants for making their way to the campus on a Saturday, and for their attention throughout the two hours of presentation without a single one of them giving me the impression of disinterest! We ended in a bar with beer in the afternoon, of which I probably had a little more than I should have had, given that I needed to be a little more productive that day. But even that worked out well. Laura, the society's president, offered me an honorary membership with skynet.ie, which I gladly accepted [ ], and I enjoyed hearing some of their stories about the past and the present. Given that university computer societies may be somewhat in decline, I think they still have their rightful purpose, and they are definitely a great place to gain experience and have a lot of fun. Thanks, skynet.ie for a good time! And now on to meet them at a pub...
[ ]If nothing else, then an account on skynet.ie should allow me to port-forward or even use VPN from Zurich, to access some of the electronic library resources available here, to which the University of Zurich has not subscribed.

Wouter Verhelst: Ikiwiki

It's been interesting to read Joey Hess' progress on developing ikiwiki, a wiki implementation that can, somehow, also be edited through doing a commit in a subversion repository; and apart from that, it has a number of other interesting features that would make my website much better. Right now, my website has been written using a lot of NIHolism plus some small amount of blosxom for the blog part. It works, except that I'm getting less and less happy about the blosxom bits as time passes. I need a huge and ugly script in my post-commit hook to add stuff to my blog, and even then there is still a bug which I haven't yet had the motivation to fix. The rest of the site is less ugly, but then the way it's written isn't very flexible. I am happy about the way the comments have been implemented (some PHP code plus a postgres database backend), but if I can do something similar with ikiwiki (every comment is moderated, nothing shown by default), I'll be just as happy. So, I guess I'll be looking at ikiwiki a bit closer during the next few days and/or weeks, and see whether it's going to be easy and/or feasible to migrate my blosxom stuff and my other articles to ikiwiki. Would be cool.

17 August 2006

Aigars Mahinovs: Secure flying

If one really wants to make international flying perfectly safe (at least safe from terrorists masquerading as passengers), it is in fact very simple and quite cheap: * No carry-on or check-in luggage at all (all kinds of chemical, bacteriological or radioactive materials could be hidden there, for example it can be trivial to make a laptop burn up in flames mid-flight and make in in non-detectable way). * No personal items of clothes (clothes can be soaked in certain chemicals to make them explosive). * Secure passengers during the flight ( so that they can not actually do any terrorist activity). So, the optimal way of securing air transportation would be to have people come in without any luggage at all, remove all items and clothing at check-in, dress in uniform one-time paper clothing where one can not hide anything, sedate them, feed them trough introspective inspection to detect in-body foreign objects and check the chemistry of skin and hair, pack them into the airplane on secured padded shelves, fly them to the destination, reverse the sedative and give them a standard set of clothes and essential personal items. In addition to perfect security, this plan will also reduce the overall cost of air travel by allowing to pack more people into an airplane of the same size - the padded shelves can go from the bottom of the airplane to the very top with minimal spacing (all passengers are sedated - they will not walk around), no separate cargo hold will be needed (no luggage) and no in-flight entertainment or food will be required. If the current security craze continues, we might reach this perfection by 2020. Congratulations! Note: All software by that time will be Web-based, so there will be no sense in taking your “personal” laptop with you.

Joachim Breitner: Brainfuck interpreter in Haskell

Two weird languages join. I just wrote a interpreter for Brainfuck programs in Haskell, for the code, see the file bfi.hs. Interesting for Haskell-Newcomers might be how I define the datatype Tape for an infinite band of anything, and then use it as a Tape of Ints for the data, but also a Tape of function for the operators. These Functions take the Machine, the Brainfuck virtual machine so to say, and modify it, thus returning the new machine.It seems to work pretty well, at least after I found out that my three year old 13-lines Brainfuck interpreter written in perl, bfi.pl, has a bug (it enters a loop at least one time, even if the value is zero at the start). You can try the interpreter with this code. It takes a string as input and then outputs brainfuck code that itself outputs the input in reverse order:
let
code = "++++++[>+++++++<-]>+[>+>+>+<<<-]>><<< ++++[>>>+++++<<<-]>>>->+++>>,[>,]<[[[<]<<<.>>>>[>]<-]<[<]<.<.>>>[>]<]"
input = "Hello World"
in reverse input == run (run code input) ""
True
Thanks to Mako for introducing me to Brainfuck at DebConf 3

Andrew Pollock: [geek] I love MythTV

Many, many years ago, I dreamed of making a VCR that had either a serial interface, or an Ethernet interface with a Telnet server. It would have been so useful for those times that I was out and about, and either knew I wouldn't make it home in time to watch a TV show I wasn't already recording, or heard about something on TV during the day that I'd like to record. Many, many years later, with the installation of the MythTV web interface, I've now achieved that dream. Ah, the feeling of accomplishment! Oh, and while I'm being geeky, I should mention how I can run a MythTV front end on my laptop, and watch TV in bed with no extra hardware required. I've reached the pinnacle...

David Nusinow: If You Liked Sonic Hedgehog...

You'll adore tequila. Such things make me proud.

As of tomorrow's dinstall, Xorg 7.1 should be fully staged in experimental. Once it's approved by the release team, I'll be putting it in unstable. The only non-bugfix goal left for the release is to have compiz available. Now it's time to go pack.

16 August 2006

Erich Schubert: Liquid bombs unrealistic

This is a very interesting read on using liquids to bomb an airplane. It seems to be very well informed about the chemistry you'd need. It boils down to: yes, you could make explosive liquids, but it would take too long, too much cooling and too much space. Oh and every average airport staffer can tell it apart from shampoo, because shampoo just doesn't smell of nail polish or highly concentrated sulfuric acid. So they're just doing security theatre (Wikipedia). I believe that they arrested people who planned to do some attacks. I can't tell if they had workable plans. But the new "security measures" are bullshit. If you need weapons on an airplane, just buy some duty-free whiskey, smash the glass and there you go. And while you think about that, stop the paranoia, please.

Mario Iseli: Begin of the 3. semester, 2 important birthdays, baking

try Today was a quite exciting day, first of all I had to stand up early in the morning, fortunately i reached the train on time. At 7.30 the school began and we had 3 lessons “ABU”, this was the most interesting part because later we had 2 hours of english. I mean, I don’t speak really good english yet, but I would like to learn it better, and the only thing we learned today was that “must not” doesnt mean “not have to” as most native german speakers would think. But yeah, I already learned it in the second month in the 8. schoolyear which is now nearly 3 years ago. The afternoon was also a little bit a horror, first we had programming, the topic was “Exceptionhandling in Java”. I think it’s a quite interesting subject, but the teacher was so boring, I mean, the examples didn’t “fix” a problem during runtime, they only printed out “there was an error!” or whatever useless. :-( Then we had theory about servers and a little bit networking, I mean, most IT-students administrate some servers in their office and we learned today “A server provides a service in a network”, very interesting! Yes, so I will better forget this day! catch(ExceptionMarioDemotivated md) There are also reasons to celebrate! Today are 2 birthdays which are quite important to me. First Kerim, one of my best friends, became 17 and has now only to wait one year anymore until he’s “adult” here in Switzerland, ok, “to be adult” is relative anyway. Kerim, I wish you a lot of luck and love and whatever for your future! Stay as you are and I’m already glad to go to Zurich with you again (I’ll pay the next Frappu) The other important birthday belongs to the Debian project which is now 13 years young. Thanks to the whole community. For example I’m writing now this blog (and serve it) with Debian, so it’s time to say all “members” THANK YOU to make it possible! I’m thinking again about the future, what will be actual in 13 years in the IT? Will we win “the war” against software patents and all the other problems? At least our success with the ODF is motivating for the next 13 years! Ok, I’m quite busy now with baking some Debian-bread, I will offer a little brunch tomorrow in the office. Details, pictures and recipe will follow tomorrow.

Daniel Baumann: Happy Birthday Debian

Debian turns 13 today, congratulations to the whole Debian universum and thanks to everyone who has contributed to this longterm success story. Birthdays are always some sort of breakpoints in life, where people making a pause, looking back what they have done in the last year and what they are planning to do in the next year, similar as on New Years' Days. In the past years, I have not done much for Debian except some simple package maintenance. Here are some statistics as of today. debian.org backports.org And now to the future... I don't think that I will change the way how I give a little bit back to Debian in compensation for how much I am taking from it. There is always need for people doing higher level tasks, such as various teams in Debian already do. However, people doing the grunt work of simple packaging are also needed, and that is where I'm happy with (remember: never change a running system :). I have still some packages to introduce on my todo list... Nevertheless, I'm interrested in doing QA work (such as with piuparts), and maybe, if I have the time to further advance my Esperanto, I'm even able to help out with translations. But both things will, as far as I think at the moment, be of less priority to me. For my work at Debian Live and Debian Unofficial, there will be a dedicated report soon.

Daniel Baumann: Happy Birthday Debian

Debian turns 13 today, congratulations to the whole Debian universum and thanks to everyone who has contributed to this longterm success story. Birthdays are always some sort of breakpoints in life, where people making a pause, looking back what they have done in the last year and what they are planning to do in the next year, similar as on New Years' Days. In the past years, I have not done much for Debian except some simple package maintenance. Here are some statistics as of today. debian.org backports.org And now to the future... I don't think that I will change my way how I give a little bit back to Debian in compensation for how much I am taking from it. There is always need for people doing higher level tasks, such as various teams in Debian already do. However, people doing the grunt work of simple packaging are also needed, and that is where I'm happy with (remember: never change a running system :). I have still some packages to introduce on my todo list... Nevertheless, I'm interrested in doing QA work (such as with piuparts), and maybe, if I have the time to further advance my Esperanto, I'm even able to help out with translations. But both things will, as far as I think at the moment, be of less priority to me. For my work at Debian Live and Debian Unofficial, there will be a dedicated report soon.

Lars Wirzenius: Random thought: TDD doesn't eliminate debugging

Martin, I know about TDD, thanks. It is great for preventing all the kinds of bugs you expect to make (or make again), and can write test cases for. Been using it for years. It's part of what I meant when I said "every now and then a bug slips through, and then I'm screwed". It doesn't, however, help, when something really unexpected happens. For example, who would have expected beforehand to write a test case for the Pentium floating point bug? Not just a test case of whether floating point arithmetic works at all, but a test case specifically for the small number of special cases in which the original Pentium failed. It's for the unexpected cases where you really need your debugging skills. That's what the book is good for.

Evan Prodromou: 28 Thermidor CCXIV

I spent most of the day today putting polishing touches on the OpenID MediaWiki extension I took to Wikimania a couple of weeks ago. It was fun to work on, but spending a lot of time with Jonathan Daugherty of Janrain Inc., David Recordon of Verisign and David Strauss of Four Kitchen Studios let me know that there was still a lot of work to do. Needless to say, helping kate of Wikia and Travis of wikiHow step through the installation and testing also was a humbling experience. "No... don't do that... Ouch... No, I didn't think of that... Uh, I'll definitely get to that later..." Probably the most painful moment was having about 4 people all at once exclaim in horror that I was storing searchable data inside a blob in the database. "Uh, see, it was just easier that way..." Harsh stares for Evan, you can believe. So today I've been sanding a few of the rough edges and doing some optimization (indexed columns -- what a concept!) and otherwise fudging with the code to make it work better. Jonathan had done some quick hacks at the conference, and I've been adding in his patches as well. tags:

Tha Grill Maj, Amita June and I went out to dinner at the Tha Grill on rue Laurier and St. Laurent this evening. We had some anniversaries to celebrate, so it seemed like a good day to go out for dinner at a new restaurant. The Grill is at the portal between Montreal's Plateau Mont Royal hipster neighborhood and foodier-but-also-hipster Mile End. It's got huge, open windows on St. Laurent and we got to sit right off the sidewalk, perfect people-watching spot. The room is big and airy with pleasant wood details and lots of Thai statuary -- all in natural wood tones. It's a very nice room. The food was great, too. We got crab claws in curry sauce, and a green curry, with papaya salad and fried squid as appetizers. It was all done very nicely. Most pleasant was the proprietor coming to our table with small, heart-shaped slices of melon d'eau (watermelon) for Amita June. Les enfants sont sacr s en Tha land, he gave as explanation: that is, children are sacred in Thailand. Ah, if that were only the case everywhere. It's hard to see summer slipping away in Montreal -- especially since we're off to Wikisym this weekend, and by the time we come back it will be a few days into September. Such a good place to be when the sun is warm, really. tags:

15 August 2006

Martin F. Krafft: Test-driven development

Lars, I strongly suggest test-driven development. It seems to preemptively do the most relevant of what the debugging rules you quote instruct you to do later. The principles:
  1. design your interface
  2. write tests that fail
  3. write the code to make the tests stop failing
  4. refactor
  5. lather, rinse, repeat
It's a philosophy that anticipates bugs and errors, yet it uses that very fact to guard against them. Test-driven development has changed the way I (and many others, I learnt it while becoming a Plone developer) plan, design, think about, and implement code. And yet, it's really not far away from how you're already doing things. Really. For C++ coders, I recommend libtut, which is elegant and non-intrusive. PS: The definitive (and quite good) book on test-driven development by Kent Beck is only 200-something pages, so it's also in the domain of shorter books. Update: sorry, liw, for making it sound like I assumed you had spent the last years in a cocoon or cave or curled up in a corner. I didn't intend to doubt that you know of TDD, just wanted to get that off my mind what your post put there. And of course, I agree with you: TDD will not eliminate debugging. But it will make your debugging sessions a lot less frequent, even though the really long and painful ones are exactly those that it won't prevent...

Mario Iseli: OpenLDAP, LUG-Seeland, School

Today was a strange christian day here in Kanton Solothurn and I didn’t have to work, so I had a lot of time to prepare my presentation for next Friday about OpenLDAP. First of all I prepared the stuff for the school which begins tomorrow, so my holidays are now definitely past :-( . I was excited that I didn’t receive my timetable by snailmail so I had to google and found it finally. Poorwise i have now to stand up very early in the morning, my train goes at 07.07 in the morning. Now to OpenLDAP, fortunately Mathias Weyland, the president from the LUGS, gave me a book about OpenLDAP from O’reilly, I really like it: It’s quite informative and sometimes the author is making some jokes. Priska Rubischon already bothered that i have to tell something about netgroups and autofs, this was completely new because I newer worked with NIS (and netgroups etc.) and neither with autofs (in most cases I use samba and libpam-mount). It’s not so difficult as i thaught. OpenLDAP in Debian comes with nice schemas which help to migrate from NIS to LDAP, so I had a look at those schemes and the chapter about netgroups in the book. Also autofs is not complicated, for example, if you want to share /home to the clients you have to prepare a NFS-Server which shares this directory and configure /etc/auto.master and /etc/auto.home on the clients. These two files can lookup where and how it can mount /home. On my testing-infrastructure I just used netgroups for the NFS-exports, so I have now an example what they’re for. After all I realized that my speech will also be about “How do I plan a network in a company”, so I realized that the security of LDAP is also very important. Fortunately OpenLDAP can be secured quite hard, it supports SASL and KERBEROS_V4 authentication mechanisms! When I would realize now a network i would do the following: I still ask me how i can protect my netgroups so that nobody can plug computer “x” out and plug in his computer, take the IP of “x” and mount the NFS-shares. Kerberos as user authentication would be a solution, but I don’t really like it. As I already told I prefer libpam-mount, with it’s help it would be possible that every user gets his share mounted maybe over smb. Now I will search for a solution how i can properly secure NFS, so it does only allow connections from users@boxes authenticated with LDAP and not user@host-which-can-be-faked. If you have an idea feel free to write it down here in my blog! In the evening I went to “Biel” by train to join the LUG-Seeland meeting. Beat Fasel explained me a lot about genetical biology, his work and the evolution, this was very interesting. Later we talked about the future of our community, I will prepare bylaws for the next meeting which we will sign. Other ideas were about preparing an install event and a mailinglist because we don’t have communication over the internet and this is quite complicated if we want to organise something in teamwork.

Next.

Previous.