Search Results: "erich"

3 April 2007

Erich Schubert: Ubuntu gets AppArmor support

Ubuntu got AppArmor support. This is bad news. AppArmor is a weak design. IMHO it gives the users a false impression of security, while leaving too much open to bypass security. But the biggest problem IMHO is that noone at Ubuntu seems to be working on their SELinux support. All I've seen is Ubuntu users breaking their system to a point where they didn't know how to fix it in the attempt to install their SELinux packages. The packages are mostly a 1:1 copy of the Debian packages I guess, but for example their new 'upstart' init-replacement likely isn't capable of actually starting a SELinux enabled system. Oh, and Debian didn't include the relevant package in any 'stable' release, Ubuntu had it in 'universe' since 'warty'. Right now, feisty will include the package, though it reportedly can't be installed. In the example used in the blog, evince is maybe protected from exploits by bad PDF files, but if you do a cp /usr/bin/evince /tmp and run that copy, all the protection is gone. A symlink might already be sufficient! So AppArmor is heavily relying on the user playing nicely. You might want to read this Article at LWN about AppArmor and why it's having a hard time getting into Linux mainline and "Security Anti-Pattern: Path based access control" in Joshua Brindle's "SecurityBlog" for a detailed article on the weaknesses in AppArmors approach. And their constant claim of being easier to use than SELinux isn't true either: the 'learning' mode itself will only generate you an incomplete policy. It's about as much as you can achieve in SELinux by transforming audit errors to allow rules using the "audit2allow" tool. Maybe even less; for example when an application accesses a font file, SELinux audit2allow will generate a rule that allows access to all font files (since they have the same type). This doesn't rely on any directory globbing magic, but because there is a type for font files. I expect that future versions of audit2allow will actually recommend which interfaces to add instead of just listing raw allow statements. AppArmors 'abstractions' seems to match what is called 'interfaces' in SELinux, except that interfaces in the SELinux reference policy are well documented and much more extensive. The 'abstractions' offered look like an early, incomplete version of the old NSA policy to me, before this was restructured to become the 'reference policy'. Interaction between processes also seems to be completely ignored by AppArmor. So it seems to me that "preventing evince from trashing your home directory when opening a malicious PDF file" is pretty much all you can do with AppArmor? But again, this isn't so much about bashing AppArmor or Ubuntu. I'm just disappointed that noone at Ubuntu seems to work on the more sound and solid SELinux. Most of SELinux is already in Ubuntu (inherited by their Debian roots), but it's lacking some integration work and such. Ubuntu is often said to be more agile than Debian and better at adopting new technologies, but in my experience, this often is limited to 'visual' stuff. If Debian were better at recruiting new people (for example in the SELinux section, we also seriously lack manpower), I'd probably be annoyed by Ubuntu 'trying to be first with all the pretty stuff' (yes, saying this would not be fair, that's why I'm putting it in quotes). Right now I'm mostly happy that they 'divert' many newbies off Debian and to their huge forums. Although it occasionally means I need to help an Ubuntu user to fix his system when he doesn't get any help there.

Erich Schubert: Launchpad and usefulness

Launchpad, Ubuntus proprietary (!) bug tracker has received a facelift. I'm deliberately calling it a facelift, because I still don't understand it. It sure is a lot prettier than Debians bug tracking, and it likely has some really nifty features, too, but I'm totally lacking the basics: Have a look at this bug for example. It's about the Intel ipw3945 driver being unstable on systems with SMP and load when using WPA2 encrypted networks. Launchpad says "fix committed" for linux-source-2.6.17, but I still havn't found out in which revision of that package. Or how I could actually find out how they fixed the bug. Or how I could access that information. Nor have I found any way to access changelogs for the packages.

1 April 2007

Erich Schubert: Running multiple Mono/.NET applications

I just filed Intend-to-package bug number #416996:
* Package name    : stereo
  Version         : 2.0 beta
* URL             : http://www.mono-project.com/Stereo
* License         : LGPL
  Programming Lang: C#
  Description     : Mono (.NET) extension for running
                    multiple applications
Stereo is an extension to the Mono (.NET/C#) platform for running multiple applications at the same time. As you probably know, C# is a language using a bytecode, called CIL: Common Intermediate Language. Using code in an intermediate language has benefits for platform and operating system independence (Java is the most prominent example of this approach), however it also means an overhead when running the applications. Various approaches have been tried to remedy these effects, such as JIT (just in time) compilers translating the bytecode to native code when needed. Applications running based on such bytecodes tend to use more memory than regular applications (for example, they need to keep the compiled code in writeable memory, whereas regular applications can use shared read-only memory for this), and you probably have heard many people complain about the memory usage of Java and .Net applications. Some people even claim the Linux .NET platform is called "Mono" because you can run at most one such application at the same time. That how "stereo" was born: an extensions to run two (or more) applications in the same mono environment, thus reducing the memory overhead significantly, and making it useful for more people. Future versions should even be able to run Python (using IronPython) and eventually Java applications in the stereo runtime. It is also planned to add support for multiple user operation. So eventually, it will be able to replace your whole system. The project will then also change it's name to Multics, to reflect it's unique multi-user capabilities. At least if we get enough funding by Dunc-Tank, who is currently sponsoring all our development efforts.

26 March 2007

Erich Schubert: Musicbox software

Dear Lazyweb, I was asked if I could easily setup a system with the following characteristics for a sport club: Two setups I was considering: This would likely require the least effort. It doesn't offer the playlist features I wanted (or only partially), and there are some access control limitations. No remote access. But for example the clients could even be Windows boxes I wouldn't have to deal with myself. Has better playlist sharing capabilities, and the web UI could probably be used remotely, too. But MPD doesn't allow extra metadata such as BPM information, it would need to be modified. Much more work. Maybe some solution using XMMS2 or VLC would also be possible. And the ideal solution would allow some pitching. Do you have any recommendations for me? Please send them via EMail to erich AT debian DOT org. IMHO, the key factor will actually be the UI for the trainers. It should allow them to easily locate a song when needed, or put a couple of songs into a playlist to use during their class. Carzy DJ mixing capabilities aren't needed; party evens will likely have a real DJ around. This setup is solely meant to help the trainers getting their music ready in no time. Right now there are always issues with cables gone missing, CDs in the wrong covers, CD readers not reading certain CDs, etc. pp. And after all CDs have a pretty bad usability; you can't reorder songs easily according to your needs, and you'll often have to switch CDs. Having the music on a harddisk and using playlists can offer some good improvements here. So instead the UI should allow easy searching of tracks, easy access to a large number of playlists and such key functionality. Note that this is just an idea floating around so far; I don't know if it will become reality sometime. Adding some PCs to the rooms, eventually even with a touch screen, is some expenditure; that money might be better spent differently.

24 March 2007

Erich Schubert: Google Video searches YouTube

The search functionality of YouTube always sucked. Ever since Google acquired them, I was looking forward for them to add a better search. Well, this apparently has happened now; searching at youtube now allows queries like "paris -hilton". At the same time, searching at Google Video now returns results at YouTube. In this particular case however, I'd prefer it to not return YouTube results, because videos at Google are usually of a better quality...

Erich Schubert: Please, think of the animals formerly known as kittens...

(Title stolen from Holger Levsen) Whenever I see this image [mozilla open Standards], I want to make a spoof of it titled: Every time you make an Ajax app, god kills a firefox. But I would certainly be violating Mozilla trademarks by doing so (their artwork, logos and trademarks such as "firefox" are not OpenSource). Anyway: AJAX is a hackaround, in particular it is not an open standard. Please use it only where it's really needed. Granted, there is worse (e.g. Flash; prepare for incompability hell now that the first opensource plugin can playback youtube videos - as you might be aware, many Linux distributions can not ship Adobe Flash, so they'll likely start shipping this plugin as soon as it's somewhat working sufficiently; or ActiveX which only works with MSIE...), but that's not really a good excuse for this abuse of Javascript that is called AJAX. On a side note, since I already mentioned flash - I can really recommend the Flashblock mozilla extension. A must have: you can view any flash if you need to by just clicking on it, but they won't be loaded automatically anymore. So you can easily access youtube (just one extra click!), but won't be bothered by flash ads and such stuff. Oh, and Adobe. They're probably the biggest blocker for a widespread Linux adoption judging by this article [computerworld.com], which is already very positive on Linux ("Unlike many of the applications included on new Windows systems, these don't seem to come with annoying self-launching advertisements, such as the irony-challenged Trend Micro Anti-Spyware pop-up upgrade pleas that plagued my HP system at home."): maybe his biggest issue is that he couldn't just run his Adobe Photoshop Elements on Linux. Of course there are application trying to offer the same functionality; starting with Gimp, digiKam and Krita (and I'm not sure he tried Krita and digiKam as well; they are probably more similar to Adobes product), but I can understand his wish to be able to continue using the same applications. (My personal recommendation: start using Opensource applications on Windows, e.g. Firefox, Thunderbird, Inkscape (great vector graphics program!) (and it's using open standards: SVG), Gaim (multi-protocol instant messenger and tons of others. They're free, so even if you don't use them every day, you didn't waste money on them... and if you happen to like them: you can be sure that they'll be working the same if you do the switch to Linux at some point in the future. Be prepared for when Microsoft says you PC is too old.

23 March 2007

Erich Schubert: Google Summer of Code

Applications are still open until March 26th. Note: the following is my personal opinion; I'm not the coordinator of the Debian GSoC project, and others might disagree. Debian has received a couple of applications, but there were rather few among them I found really convincing. :-( What I usually dislike in applications: So if your application is really Debian-related, invest a few hours in writing the application and your chances are pretty good at being accepted! Of course Debian could be an Umbrella for e.g. another network configuration GUI, a tool to configure traffic shaping etc.; however I don't think that should be our focus. In fact, Google itself could mentor these topics maybe as good as we can. So please don't just submit a proposal to us because you happen to be a Debian user, or submit it to all mentoring organizations. Instead try to find an appropriate mentoring organization. (On a side note, the mentoring organization is supposed to provide you with a mentor which can actually help you on the topic). Debian is a good choice when it comes to integrating software, software management, system administration and such. Thats what we do: collect existing software and try to make it work together as good as possible. And build infrastructure and tools to make this task easier. This of course touches e.g. porting to different architectures and writing new administration frontends, however we try to avoid reinventing the wheel. One of the suggested topics, where I'm really surprised to not having seen a proposal yet is CRMI; which matches what I sometimes call a "per package wiki for metadata". Or a Debtags related project. Or a SELinux project. These are both pretty interesting technologies, which offer substantial benefits when actually used. When properly integrated in the distribution.

21 March 2007

Erich Schubert: Java inconsistency

Using Sun Java 1.5.0_11:
final SimpleDateFormat almostXsDateTime=new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
System.out.println("One: "+almostXsDateTime.format(c));
c.set(GregorianCalendar.HOUR_OF_DAY, copy.get(GregorianCalendar.HOUR_OF_DAY));
System.out.println("Two: "+almostXsDateTime.format(c));
IMHO, the get/set combo shouldn't be changing the date... but:
One: 2007-05-17T00:00:00.000+0200
Two: 2007-05-17T02:00:00.000+0200
(I'm not yet sure under which exact cirumstances this happens; it doesn't happen always...) P.S. the format is called "almost XSDateTime", because it's just almost XML Schemas DateTime format. Unfortunately, the Java date parsing and writing classes can't handle XML Schema DateTime (or ISO 8601) because of a tiny little detail: they use a colon in their timezone offset. How annoying is that, that java can just almost handle this ISO date format? P.P.S. so apparently Java is adding the ZONE_OFFSET to the date in this situation; it likely is related to locales and timezones.

Erich Schubert: Gnomeish

I'm now a Gnome contributor; not a foundation member, but I have an account and a SVN Repository for Dbus-inspector at Gnome now. Thanks go to Riccardo for following up on the SVN and account creation! I've just committed my current version of dbus-inspector. It doesn't differ from my previous blog post on dbus-inspector; it does include the hotfix for working around python-dbus vs. tracker incompabilities (by just skipping tracker if the python-dbus version is known to crash). There is still a lot of things I need to find out (e.g. how to setup a proper project web page, how to properly offer tarballs for downloading); and I don't know when I'll find time to search for the appropriate documentation on everything. A repository for my "dbus-hook" project was also created, however I don't have any code (except the dbus-inspector stuff) that is ready to be shown yet. It's mostly an idea of mine so far, and I'll need to sit down and properly plan it's implementation.

20 March 2007

Erich Schubert: Microsoft Linux sales strategy

Microsofts view of Linux users, and how to convince them of Windows. I don't like linking to Microsoft stuff, and especially not to Microsoft FUD (the flash presentation of theirs will in turn try to bring you to their "get the facts" wrong site...) However, for Linux evangelists it's a good opportunity to see Microsofts strategy at attacking Linux, and where we should improve to counter their claims (e.g. with respect to mangeability). It's also nice to see that they actually feel oblieged to counter SAMBA and other Linux technology, and that especially in the networking part they have little to claim to be superior. And also for Samba all they claim is "higher value because of better integration and manageability". And I definitely have to agree that management of a larger Linux network isn't easy, and we could do with some better tools. (And especially tools to do tools for network management; we have different requirements, and there are good tools, but they are either hard to roll out and customize - cfengine -, or too primitive to be of use to many - webmin etc.) Still the average Linux administrator does manage a significantly higher number of servers than a Windows admin, so their claim actually is incorrect. And it's totally absurd they claim to be better in security with Exchange. Maybe better than their older crap, but I still would never ever trust a Microsoft system for Email... just remember all those bad email vacation notices etc. Microsoft delivers... So: know your "enemy"s tactics.

Erich Schubert: Flash memory and wear leveling

Uwe and Gunnar have been talking about using flash aka. solid state disks. So far, every USB memory stick I had has died after a fairly low number of write cycles... sometimes doing a low level format helped, but the errors resurfaced again later on. Interestingly enough, I never had such problems with digial camera media, just with USB thumb drives. The wikipedia article on Flash RAM is also rather vague:
Another limitation is that flash memory has a finite number of erase-write cycles (most commercially available flash products are guaranteed to withstand 1 million programming cycles). This effect is partially offset by some chip firmware or file system drivers by counting the writes and dynamically remapping the blocks in order to spread the write operations between the sectors.
And where do they store the write count without doing extra writes? :-) (Note: you can do some simple counting with programming cycles only, i.e. by doing only NOR/NAND operations and no resets) Note that there are also filesystems designed for flash, e.g. JFFS2, that have built-in wear leveling at the filesystem level. It might also make sense to not use a media with wear leveling, but instead do it yourself in software. However you most likely won't have a choice here unless you build your own hardware and want to skip the extra controller. You should however try to keep the number of writes low, so e.g. disable atime for ext2/3 (I guess JFFS2 doesn't support atime by design), reduce the frequency of flushing buffers to disk ('laptop mode') and use RAM filesystems where possible (e.g. /tmp). Anyway, go and read above Wikipedia article, it has some good information on it. And in half a year, many laptops will sell with hybrid drives, because of Microsoft pushing that technology. (I remember having read that in fall, having a hybrid drive will be a requirement for Vista gold compability or so?) It would be interesting to work out how Linux can benefit most from such a hybrid system. I can imagine using a USB thumb drive with my laptop both as access key and for rapid boot (my harddisk is encrypted anyway, and it would make sense to not have an unencrypted bootloader on the disk, but only on the flash drive. The flash drive would not contain the key, but the kernel, decryption software, i.e. cryptsetup etc., and maybe some services to be loaded on boot for fast startup)...

19 March 2007

Erich Schubert: What the B in blog stands for

Rumor: the B in "blog" actually means beta. Original text of this post: You know you've been exposed to too many Web 2.0 applications when you start to think the B in the blogger.com logo is for "beta". I was like WTF, are they making "beta" to be all of their logo now? And yes, I know about it being a shortened version of "weblog", likely coming from the pun "we blog".

Erich Schubert: Swing rules the world

Roger Cicero will be going for germany to the Eurovision song contest. With his song "Frauen regier'n die Welt" ("Women rule the world"), which he sings with the impression of being able to himself rule any woman. :-) His mix is very uncommon: it's swing, but with german lyrics, about love and life, flirting and with a well-dosed amount of macho in it, but not serious but always joking and cool. YouTube has some video clips with his music. Note that I don't think "Frauen regier'n die Welt" is his best song. Scroll down at least to "Murphys Gesetz" ("Murphys Law", and congrats for not incorrectly adding an apostrophe, it's correct this way...) Last.FM has some excerpts from songs I like better. I don't know if 'we' have any chance with him (last years' winner was Lordi, some 'schocker' hard-rock-heavy-metal band dressing up like halloween monsters), but he won't come out last for sure. Demographics of the Eurovision contest aren't too favourable for germany, nor are are European relations. But being a swing dancer, this is just really cool, because it gives my hobby a wider audience. :-) P.S. If you want to learn Swing dancing in Munich: the Lindy Hop course at Boogie-Bären starts again this tuesday, and I can also recommend the classes of Swing and the city (thats Cat and Chris); there is a beginners and intermediate workshop next weekend with world champions Markus & Bärbel together with Cat and Chris. And of course every monday there is a teaser class at Cord. P.P.S. I'd really love to see Roger Cicero perform together with some good Lindy dancers as show act. Probably a different song then, though.

18 March 2007

Erich Schubert: Enhanced network monitoring

So far, all network monitoring solutions I've tested suck. What I'm looking for is a network monitoring solutions, which Pretty much every monitoring solution I've seen so far is great at collecting tons of data, but doesn't help me with actually handling this amount of data. Anyone has a recommendation for a good network monitoring tool? I'd be really interested in doing the last point - a real statistical analysis for network monitoring. This would be so useful... predicting peaks in network usage, predicting when a system will be overloaded or a disk full... but I'm phasing out of network administration; so my interest here is mostly in being able to give advice to others. [Update: no, you don't need to point me to Cacti. It's just another grapher and data collector that doesn't actually do what I would call 'monitoring'. It also seems to not have a smart scheduler, and is written in PHP (which is bad!) I was also told a non-success story with OpenNMS which just crashed when adding a host to be monitored with a totally unhelpful stack trace. I had a look at their online demo, but it felt very complex and not very useful to me...]

Erich Schubert: Debian and SELinux in the Summer of Code

Debian is participating in the Google Summer of Code again. Russell Coker offers to mentor SELinux projects, and so do I. I'm available for mentoring SELinux and Debtags related projects in particular. This years idea pool in the Debian Wiki. Make sure to also check last years idea pool (some of which will no longer be open, though). And of course your idea doesn't need to be on these pages already; we're of course interested in anything that goes beyond that. One thing with SELinux I'm particularly interested in is install scripts. That is quite some work to do, and you might want to automate it somewhat. Debian install scripts can be quite complex. Some things are obvious such as restarting services on upgrade. But some scripts do much more. SELinux uses a deny by default approach (which is the only sane security approach, btw.); in particular this means that many Debian install scripts will be failing. Right now, package postinst scripts are being run with the full permissions of the apt-get domain. It would be good to reduce that to a "postinst" domain. It would be a possible GSoC project to analyze which permissions package postinst scripts need, and if we can e.g. add a "postinst extended" domain for just a few postinst scripts that really need extended permissions. An example for extended postinst tasks in Debian (I don't think Redhat, Fedora or Gentoo does that yet): precompiling all python modules for all installed python versions (and to avoid having programs try to precompile them on demand, which will result in audit errors and such). I wrote a module for that called python-support. It adds a restricted domain which can exactly do this task of precompiling Python. But there is other such stuff, such as updating the menus, managing alternatives etc. But feel free to suggest your own ideas.

16 March 2007

Erich Schubert: Drop out of Google by using Ajax.

Brain Handles did a test to see if Google indexes Javascript-generated content (for simple scripts). It doesn't. So if you are doing a heavily Ajax-based web page, you are (still) risking to prevent Google from indexing your contents. (Note that for two prime Ajax examples this doesn't matter: GMail and Google Maps. One doesn't have any public content anyway, the other no text.) Please use Ajax only sparingly. It's a dirty workaround for shortcomings in interaction capabilities of HTML and web browsers, not the ultimate solution to all our web problems. Two consequences:
  1. For now you can hide content from being indexed by Google by putting it into Javascript code. Note that it will be missing for non-Javascript-enabled browsers then, too.
  2. There might be a business opportunity in running Javascript in a Crawler to obtain additional text to index. This is best when integrated with the Javascript interpreter, to e.g. index text changes as they are generated. And this could also be used to detect e.g. sites with annoying commercials (popups), fraud sites or sites which try to run browser exploits or that try to cheat on search engines by e.g. doing a Javascript redirection.

Erich Schubert: Stupid spammers

... write an email to "area-muc", the list for the Debian Munich user group and propose to do a link exchange for "Toronto Restaurants". May I point out that Munich and Toronto are separated by a larger ocean? And the Debian Munich user group doesn't have a real homepage they could do a link exchange on? (menupalace.com and their chris dickey was that stupid spammer. If I had a myspace account, I'd probably try to write him some comments...) Note: most likely this self-called webmonkey searched for toronto and blindly grabbed all email addresses he could find.

MJ Ray: Environment: A blog test

This isn't all housing, but much is: seen via vitavonni A. Copy the list below to your own journal and:
Bold the actions you are already taking
Underline the actions you plan to start taking
Italicise the actions that don't apply to you B. Add one (or more) suggested action(s) of your own C. Leave a comment here, so that she can track the meme to your journal, and copy your suggested action(s) back to the master list. Update: the sodding original is only open for comments from livejournal customers. Silly. Very silly.
  1. Replace standard incandescent light bulbs with compact fluorescent light bulbs
  2. Choose energy efficient appliances
  3. Wash clothes in cold(er) water
  4. Turn the thermostat of your hot water tank down to 50C (125F) - I've put it to 60C, but it's not possible to go lower at present, thanks to stupid location of the tank meaning the hot water runs at least halfway round the edge of the house before getting to a point it needs to be hot. When I replace the water heating, this should be possible.
  5. Install a programmable thermostat (or turn the heat down over night and when you're out of the house)
  6. Register with the [Canadian Marketing Association's] Do Not Contact Service to reduce the amount of junk mail delivered to your house. - Substitute MPS. Must do this.
  7. Eat less meat (particularly feedlot beef) - but what's a feedlot?
  8. Walk, bike, carpool or take public transit as often as possible - I live in the countryside, yet still move large packages on my bike.
  9. Make sure you know what can be recycled in your area, and try to recycle as much household waste as possible
  10. Compost using an outdoor compost bin or an indoor vermicomposter
  11. Clean or replace filters on your furnace and air conditioner - air con would be evil here.
  12. Buy local, organic or fair trade food where possible
  13. Reduce air travel
  14. Wrap your water heater in an insulation blanket - it's got a spray-foam cover and the outside is cold to the touch. Wrapping the loft tanks in insulation jackets made a big difference.
  15. Use a clothesline instead of a dryer whenever possible
  16. Plant a tree - soon
  17. Buy fresh foods instead of frozen
  18. Keep your car tuned up and your tyres inflated to their optimal pressure
  19. Use biodegradable dishwashing liquid, laundry soap powder, etc.
  20. Drink tap water (filtered if necessary) rather than buying bottled water
  21. Turn the tap off while brushing your teeth
  22. Unplug seldom-used appliances and chargers for phones, cameras, etc., when you're not using them - well, I switch them off at the wall
  23. Plug air leaks and draughts around doors and windows with weatherstripping - need to fix a couple of windows, but it's beyond me and local tradesmen seem crap at responding.
  24. Switch from disposable to reusable products: food and beverage containers, cups, plates, writing pens, razors, diapers, towels, shopping bags, etc.
  25. Consider garage sales, Freecycle, eBay, or borrowing from friends/family before buying a new tool or appliance
  26. Reuse bathwater, maybe to flush the loo, water the garden, etc.
  27. Make sure your roof is well-insulated.
  28. Always wear a jumper/sweater and socks indoors unless it's warm enough outdoors to go without both.
  29. Run your vehicle on biofuel/sustainable fuels
  30. Set up a grey water barrel to use when clean water isn't necessary
  31. Put grey water on your garden immediately without storing it.
  32. Install tanks to collect rain-water from your roof for watering the garden, washing your car, etc.
  33. Don't keep windows open when your heater is on
  34. Turn off lights that you don't need
  35. Stop your engine when waiting more than 10 seconds
  36. Install a solar panel on your roof for water heating - who fits them in England? I hate roof-work.
  37. Ask your bank for an online-only account - I have one, but won't move the rest until they make it secure.
  38. Try to make more use of daylight
  39. Walk and run more - I'm not walking for the hell of it. Waste of energy.
  40. Wrap loft water tanks in insulation jackets where possible
  41. Lower the power consumption of your computer with cpudyn, device power managers and similar tools
  42. Use non-air-con ways to keep cool whenever possible

Erich Schubert: Tomcat broken by Xorg 7.2

No, this is not a joke. Since my upgrade to Xorg 7.2, I can't run tomcat from eclipse anymore. It fails with
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion  c->xlib.lock' failed.
The workaround is simple: start tomcat with
DISPLAY= tomcat5.5/bin/startup.sh
Yes, if you 'hide' the graphical interface from tomcat, it works... WTF is it with Java? (And yes, this is a bug in Java, not in libx11) Interesting side note: Eclipse still works. And in contrast to tomcat, it actually is supposed to use X11. But it probably always goes through GTK. P.S. setting LIBXCB_ALLOW_SLOPPY_LOCK=true doesn't help.

Erich Schubert: Hotfix for intel driver in Xorg 7.2

The intel video driver in Debian 'experimental' didn't work for my laptop. All I got was a black screen. This apparently is related to modesetting on 1400x900 screens, and is in upstream BTS as bug #9076. Anyway, if you are facing this issue, you can either downgrade to the intel driver from Debian unstable, or download the source code and apply this diff:
--- xserver-xorg-video-intel-1.9.92.orig/src/i830_display.c
+++ xserver-xorg-video-intel-1.9.92/src/i830_display.c
@@ -121,1 +121,1 @@
-#define I9XX_P2_LVDS_SLOW_LIMIT         112000
+#define I9XX_P2_LVDS_SLOW_LIMIT         90000
(the patch will probably be garbled by the blog. Just find that line and change the value to 90000.) Then recompile and you should have a working intel video driver again.

Next.

Previous.