Search Results: "ean"

8 April 2007

Brett Parker: Oh Noes! This means lots of work!

Debian GNU/Linux 4.0 has been released - congratulations to all those involved in the release process, you've all done a fantastic job (as always ;). Now I've just got to test the upgrade for the NFS root desktop machines at work (that's going to be *sooo* much fun!) and make sure that nothing obvious breaks - I'm not expecting many problems, it *should* go quite smoothly (probably!). Might also use the "official" non-free packages for the sun j2sdk rather than using java-package, haven't decided yet (and actually, as we also use sun-j2sdk1.4, I'm going to have to use java-package for that anyways!). Hmmm, I suppose I should update all of my various build chroots and set up all the scripts that I'm going to need also - feh - that can wait for a bit. Ahh - and I'm going to need to compile an etch version of ion3 from unstable, can't be having my workstation running one of those dodgy window managers that makes it almost impossible to get anything done without using the mouse, afterall! Right - anyways - I think I shall just go faint, that was *far* too quick between sarge and etch!

Erich Schubert: Upgrading Debian

I've upgraded an old woody box to etch these days. Live - I've been telling people they need to find a replacement for this machine for years now, but it's still around and playing an important role. And with 'woody' I mean 'a woody heavily played around with, with a couple of backports and exotic stuff like XFS, a custom 2.4.25 kernel with grsecurity'. Especially the latter was why I was afraid of doing the upgrade. In a first step, I incrementally upgraded everything to sarge (well, at least where the backports weren't already newer than sarge). I installed the stock sarge kernel, and prepared a reboot. The reboot was then done out of schedule, because the machine died on it's own - it has been crashing about 1-2 times a year, and it hadn't happened for some time. Judging from the logs, it was that old problem again. At second try it came up with the new kernel: I always forget to enable init ramdisks in the bootloader when switching from a custom kernel with every needed module built-in. I then continued upgrading to etch, pretty much one service at a time. Some things (I didn't do a full list; the box was running to many modified versions of packages of this being useful as upgrade reports to the release team, and it's a bit late in the schedule, too) where upgrading didn't work out of the box: But other than that, the upgrade was mostly a job for apt-get, not for me. The bad news: there is still something wrong with the machine. It doesn't crash, but spits e.g. the following to dmesg:
amavisd-new: page allocation failure. order:5, mode:0xd0
 [] __alloc_pages+0x2f8/0x370
 [] __get_free_pages+0x25/0x40
 [] kmem_getpages+0x22/0xc0
 [] cache_grow+0xba/0x180
 [] xfs_bmap_read_extents+0x36e/0x540 [xfs]
 [] cache_alloc_refill+0x16a/0x220
 [] xfs_bmap_alloc+0xe0d/0x1c60 [xfs]
 [] __kmalloc+0x74/0x80
 [] kmem_alloc+0x59/0xc0 [xfs]
...
So there is something wrong with the XFS malloc handling. This has happened twice now since the reboot. I've been suspecting XFS of being related to the servers' crashes before (which tend to occur during load; the crash which 'allowed' me to switch to 2.6 actually showed the OOM killer of that old kernel killing some inappropriate processes). After the easter holidays, I'll reboot the machine with the etch kernel, maybe this is gone then.

7 April 2007

Erich Schubert: Debian Init hackfest

I'd like to propose a Init Hackfest for Debian when etch is released. Debian includes several init systems, including sysvinit, runit, minit, initng and upstart. However, only sysvinit is really supported, and others can be used in a compability mode (and most of their benefits are gone then). So there is some work to be done here. Some init scripts probably could also use some cleanup. :-) Shortly after the release of etch is probably the best moment to work on such key parts such as the init system, since many packages are affected. I suggest to provide patches to the package maintainers and do uploads to 7-day delayed. If you are interested, maybe you could add your name to the wiki page? I also think the mailing list initscripts-ng-devel at alioth is appropriate for discussion.

Erich Schubert: Hello Planet GNOME!

I've been added to Planet GNOME (thanks jdub!), and this post is just to say hello! I havn't been a large GNOME contributor so far (I was the Debian maintainer for Galeon some years ago, thats about it), but I recently started a small DBus related project (for exploring the DBus APIs of programs), dbus-inspector, which is now hosted in the GNOME subversion repository. Other GNOME-related projects I'm thinking of: I'd like to say thank you for all the great work you did. Having been a Galeon power user, I'm by now quite convinced of the "keep it simple" approach, and I have the impression that not having so many options means that I get more work done (since I don't waste time playing around with infinite options). Thanks for that. And for providing me with a pretty and unobtrusive work environment for the last 8 years or so.

Gunnar Wolf: Version 3.14 of the CoPL released

As I've posted before, I recently read Lawrence Rosen's Open Source Licensing Software Freedom and Intellectual Property Law. And I'm sure many of you will recognize the enormous constructive value of early-morning cavilations. Well, today I woke up thinking about strengths and weaknesses in th different Free Software licenses, and I decided to add my grain to the world of license proliferation. So, here goes version 3.14 of the CoPL. I wonder how long will it take before it reaches /usr/share/common-licenses on Debian systems ;-)
		       CONFUSING PUBLIC LICENSE
		       ========================
	This is version 3.14 of the Confusing Public License (referred to from
now on as "CoPL"). Copyright (c) 2007 Transnational
Republic. Additional copies of this license can be purchased at no
cost from any Transnational Republic citizen at any of its recognized
outposts, or freely copied. 
	Any legal claims regarding Original works or any of their Standard
versions licensed under the CoPL Should not abide by and be carried
out according to the current law of the Transnational Republic. The
Original author to pay for any attorney and other legal fees of any
dispute regarding said Original author.
	This license text is designed to protect all the Technology covered
under it under a thick layer of incomprehension. No technical,
professional or social measures might be used to subvert the intent of
this license. This license Must be carefully or professionally
reviewed by a lawyer or attorney, under any jurisdiction. Any serious
attempt to understand this license will immediatly terminate your
rights to keep reading this license. Original works licensed under the CoPL
will not be affected by this provision, you will still have permission
to use them.
	Redistributions of source code Should not retain the above copyright notice,
this list of conditions and the following disclaimer. 
	0. This License applies to any program or other work which contains a
   notice placed by the copyright holder saying it may be distributed
   under the terms of this Confusing Public License. The Original work
   below refers to any such program or work or Standard version.
	1. You desire to license the Technology to a
   large community to facilitate research, innovation and product
   development while maintaining compatibility of such products with
   the Technology as delivered by You
	2. Original author desires to license the Technology from You on
   the terms and conditions specified in this License.
	3. Redistributions in binary form Should not reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
	4. The names "Joe", "Curly", "Moe" and "The Three Stooges Foundation"
   May be used to endorse or promote products derived from this
   Original work without prior written permission, as they are in no way
   related. 
	5. There is no number 5. Seriously. In all Original works licensed under the
   CoPL, all necessary technical and social steps May be taken not
   to include, in any explicit way, the number 5.
	6. Original author Must make and give away verbatim copies of the
   source form of this Package
   without restriction, provided that Original Author duplicates all of
   the original copyright notices and associated disclaimers.
	7. Original author Must apply bug fixes, portability fixes and other
   modifications derived from the Public Domain or from
   the Copyright Holder. A Package modified in such a
   way shall still be considered the Standard Version.
	8. No Standard versions of the Original work Must be protected by this
   license. Original authors Should not choose a different, saner
   licensing model for the distribution of any modifications they
   make. The CoPL should be taken as a retroviral license.
	THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL YOU BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
				     Definitions
	"You" means the original author of the work covered under the CoPL.
	"Original author" means you.
	"Thou" means God almighty.
	"May" means "Should not, no matter what".
	"Must" means "May".
	"Should not" means "Must".
	"Reasonable copying fee" means nothing.
	"Standard version" means a modified version of the Original work.
				      DISCLAIMER
	The CoPL text, from the words "This is version" and up to and
including this paragraph, is to be taken as a preamble, and will not
be effective under any circumstances. 
	All work licensed under the CoPL should be considered as licensed
under the GNU General Public License version 2 or (at your option) any
later version. It is not the task of this license to point you on
where to get hold of said license.

6 April 2007

Russell Coker: Mac vs PC

For a few months I have been spending a lot of time using a Mac running OS/X for 40 hours a week. Recently a discussion started at a client site as to whether Macs or PCs should be used for future desktop machines.

The Apple hardware is very slick, everything fits together nicely and works well. For example my Apple monitor connects to my Mac via a single cable that supplies power, USB, and the video signal. My USB keyboard and mouse connect to my monitor. So my Mac has only three cables connected to it, power, Ethernet, and the monitor cable. The same thing on a PC would require an additional USB cable going to the PC and an additional power cable going to the monitor.

That is just one trivial example of how Macs are slick.

The advantage of a PC is that installing Linux is much easier and better supported (the vast majority of Linux users have PCs). The benefits of slick hardware are greatly diminished if it's only partly supported in terms of drivers and/or getting answers to technical questions on the net.

Another issue is that of software compatibility. When doing Linux work having a desktop machine that runs X is a significant benefit - even if all your work is text based. The Apple X server that I have installed never worked properly and it's a hack like the various Windows X servers. To make things worse the current versions of OpenOffice for Mac use X and therefore don't work for me - I've been told that the next version of OpenOffice will fix this.

Then there's the issue of price. For a Mac you would want to have a machine with an Intel CPU which means a recent and expensive machine. For a PC the benefits of a 64bit machine over an old P3 or P4 are very small. For all the work I do a refurbished IBM or Compaq P3 machine would provide all the performance I require, have better software compatability than a Mac, and cost only $120 for a machine.

Also I imagine that some common and cheap PC expansions (such as KVM switches) would cost a lot more for a Mac.

You can run Linux on a Mac, but what's the point? You lose some of the hardware features so the Mac becomes an expensive PC that's not entirely compatible. I'd rather have a P3 PC on my desktop than the latest Mac.

But I wouldn't rule out recommending a Mac to other people. People who have no-one to help them run Linux are best advised to use a Mac. Of course Windows isn't viable due to security problems.

5 April 2007

Martin F. Krafft: Sun gives a flying food about AMD64

During my attempts to get Java support into my Iceweasel browser on my amd64 desktop, Sam Morris pointed me to this bug log. In it, you will find more than two years worth of requests and seconds by users desperately waiting for the 64-bit Java browser plugin without a single comment by Sun. Amazing. Even if it means using JRE 1.4, as opposed to 1.5 or even Java6, I am switching to Blackdown, who even provide an APT-gettable archive of their Java packages. At least now Java works from within my Iceweasel browser on amd64. Thanks, Sun. Suckers. NP: Erik Norlander / Music Machine

Andrew Pollock: [opinion] The Australian Government's starting to smell a bit fishy

Okay, so firstly, I thought the whole David Hicks situation (mainly the fact that it was starting to become a bit of a political hot-potato near an election so they got his trial hurried up) was a bit fishy (particularly the bit about how he's gagged until after the next election), but this morning, I learned that there's legislation to close the electoral rolls at 8pm on the day the election is called. That stinks to high heaven! I mean how on earth could justify bringing out legislation like that? How does that improve anything? I'll be really disappointed if that just gets steamrolled through the Senate. All this reminds me that I need to re-enroll to vote.

Adam Rosi-Kessel: Bad Bicycle News

I used to be a hardcore daily bike commuter. (By “hardcore,” I mean I commuted 20-30 miles roundtrip every day in Chicago in January.) Lately, I’ve gotten lazy, especially since I now live about thirty seconds by foot from a train station that takes me to a spot about thirty seconds by foot from my job. Also, since I’m now supporting two people (including my nearly two-year-old daughter), I’m a little more reluctant to get myself killed. I was reminded of the perils of biking in Boston this afternoon when a 22-year old bicyclist was killed by a dump truck in an area where I used to ride daily:
The bicyclist, a 22-year-old man from Halifax, was riding between two lanes of traffic on Huntington Avenue when he was clipped by a taxicab near Northeastern University at about 2:30 p.m., police said. After being clipped by the cab, the bicyclist was run over by a McCauley and Sons Co. dump truck, police said.
When I was a bike commuter, I was fairly cavalier about this sort of incident. I realize it’s still fairly rare and biking may not be any more dangerous than driving. But we still see these events in Boston fairly regularly. I don’t think it can be fixed fully by better driver education/behavior (or better bicyclist education/behavior). There are just too many streets that are poorly designed and naturally hazardous. On a related note, Nat mentioned this nasty run-in during a recent Critical Mass in San Francisco (the article is obviously from the driver’s point of view — there may be another angle on this):
Susan Ferrando, her husband, their two children and three preteens had come to San Francisco from Redwood City to celebrate the birthday of Ferrando’s 11-year-old daughter. They went to Japantown, where they enjoyed shopping and taking in the blooming cherry blossoms. Things took a turn for the worse at about 9 p.m., when the family was leaving Japantown — just as the party of about 3,000 bikers was winding down its monthly red-lights-be-damned ride through the city. Suddenly, Ferrando said, her car was surrounded by hundreds of cyclists. Not being from San Francisco, Ferrando thought she might have inadvertently crossed paths with a bicycle race and couldn’t figure out why the police, who she had just passed, hadn’t warned her. Confusion, however, quickly turned to terror, she said, when the swarming cyclists began wildly circling around and then running into the sides of her Toyota van. Filled with panic, Ferrando said, she started inching forward until coming to a stop at Post and Gough streets, where she was surrounded by bikers on all sides. A biker in front blocked her as another biker began pounding on the windshield. Another was pounding on her window. Another pounded the other side. “It seemed like they were using their bikes as weapons,” Ferrando said. One of the bikers then threw his bike — shattering the rear window and terrifying the young girls inside. All the while, Ferrando was screaming, “There are children in this car! There are children in this car!” …
Update 4/5/2007: the 22-year-old bicyclist had a myspace page.

Evan Prodromou: 14 Germinal CCXV

Snow, beautiful snow! We've got tons of snow coming out of the sky today. It's big and thick, what they call fourrure de li vre (rabbit fur) in Quebec. It's hard to believe we are having snow this late in the season (halfway into Germinal!), but it's kind of nice to have some snow. Especially since the United Nations report saying that Canada will lose its snow cover by 2100. Snow, please snow. tags:

JFS So, I'm one of those idiots who uses the IBM Journaled File System 2 (JFS2) as his root partition. Why? Because I've tried all the different journalling filesystems for Linux (reiserfs, ext3, xfs, jfs) and JFS is the one that works for me. It just seems to be the low-profile, clean, nicely-working FS. Unfortunately, I've been tracking Feisty Fawn for the last couple of weeks, and somewhere in there the JFS utility package, jfsutils, got uninstalled. Who knows why? But when I rebooted my machine today to try out a new kernel, my root partition came up in read-only mode -- because the system couldn't check the partition, because fsck.jfs couldn't be found. The fix, of course, would be to boot a live CD, chroot to the hard disk, and apt-get install the jfsutils. I typically use Finnix for this and other rescue/recovery projects, but in this situation Finnix failed me. My main computer is a honkin' amd64, and the x86 Finnix disk didn't want to let me chroot and run any amd64 binaries (like the stuff I needed to apt-get install jfsutils). So I ended up downloading and burning a Feisty live CD, dicking around with boot parameters for a while (noapic nolapic nosplash nonothing...), and finally got to a nice, friendly Gnome terminal. I mounted the hard drive using the Nautilus tools, and then tried to chroot to it -- D'OH! Permission denied. Took me a while to figure out that Nautilus mounts drives noexec by default. Once I got that working, I got jfsutils installed and was able to boot my machine again. Yay. Moral of the story: figure out a way to make packages that are crucial to you crucial to your package manager, too. Oh, and Finnix needs an amd64 build. tags:

YULblog YULblog meetup tonight at the Quincaillerie. YULblog is our local Montreal monthly blogging get-together. It's pretty fun, and has the highest female-to-male ratio of any technology event in Montreal. Which is great. I have a ton of work to do tonight (since I spent the afternoon dicking around with live CDs), but I'm going out anyways. YULblog comes but once a month, after all. tags:

N hours later Good time, that! I walked down rue Rachel to the Quincaillerie this evening around 9PM through a storm that was like being in a snowfight with Borribles. Thud thud thud! Big chunks of snow. But the Q. was pretty hoppin' for a snowy night in April, and I got to see Robin, Steve, Niko, Patrick and others. It was a fun time; the snow made it all the more special. tags:

4 April 2007

Peter Makholm: From OS X to Debian on a iBook

My previous post generated a lot of useful comments. Some of them was about using the synaptics trackpad driver. Unfortunately it only works, as Itai Seggev says, on post July 2005 iBooks and my iBook seems to be from August 2004 (this fact took me a long time to realize). I found an adbsyn howto wich seems to have an solution. Using a kernel patch and a patch for xserver-xorg-input-synaptics you can get the ADB Trackpad to simulate a synaptics trackpad. So for the first time i a very long time I get to compile a kernel… After a very long time I get to reboot into my new patched kernel and, lo and behold, synaptics works. In the beginning i didn’t seem to work, I had a very low acceleration set but with some fiddling I got it ajusted to something useable. So for enabling synaptics on older ibooks, see: http://www.cs.unibo.it/~bigoi/howto.htm In the meantime I got glxgears turning smoothly. Now I can start compiz and see a wobly effect when I move windows around, but then compiz freezes the display. Most of the times I seem to be able to terminate the xserver, but i’ve reboted once. Steps to get OpenGL working:

Russell Coker: cheap big TFT monitor

I just received the latest Dell advert, they are offering a 22 inch monitor with 1680x1050 resolution for $499 including delivery! This is a great deal, I've got the same model of monitor at home (I paid $750 for it almost six months ago) and have been totally satisfied. The same monitor with a $499 price is amazing value.

In the past I blogged about the benefits of larger monitors for software development. Now these benefits are available to most computer users in first-world countries.

Now that 1680x1050 is commonly available I expect to see higher resolution monitors dropping in price, at the $800 and $1200 price-points there will need to be something better than that.

The next development will be new software to take advantage of this. One thing that I have heard of is a window manager that splits the display into two halves (in this case they would be 840x1050 resolution). The benefit of having this configuration (according to the people who use it) is that for maximising a window will make it take half the physical screen. This means that you could have a debugger in one half of the screen and your application in the other, to "maximise" the application would not occlude the debugger. Or you could have a web browser and a MUA each using half a screen.

Of course the same result could be achieved by getting two physical displays, but this requires a graphics card that supports "twin-head" operation, and the purchase price of two displays (which will add up to more than $500).

Splitting a screen into two virtual displays is not something that would suit my working patterns. For a lot of my work I just have a screen filled with as many Xterms as will fit. For the GUI stuff I am happy to manually resize things. Maybe a KDE addition that would allow one "Desktop" to be split while another isn't would work.

A final impediment to splitting the screen is that 840 pixels is not enough to correctly display all web sites (many of which are designed for 1024x768). Maybe if I had a split desktop with an icon on the title-bar of the window to unsplit it for one particular window then it would work.

Another use for a large display is virtualisation. I previously blogged about how to use Xephyr to run multiple X sessions on one display, as Xen is now supported in all Linux distributions and KVM and other
virtualisation technologies are also being developed there should be a lot of demand to have multiple virtual machine GUI displays on one desktop (although you could probably do this by manually sizing the windows).

These are just some wild ideas, I have no plans to write the code for any of them, so it'll be a matter of whatever is desired by the people who write the code or pay them. But one thing is certain, the low prices of such monitors will drive new research into how to use them effectively. New technology to effectively use large displays will then drive demand for even larger displays (as will the people who just want to get something better and more expansive than their neighbours). I wonder when we will get to the stage when people are satisfied. For basic office applications commodity PC hardware has far surpassed what is needed for people to do their work.

3 April 2007

Adrian von Bidder: Killfile?

I've never felt the need for a killfile so far: "Ignore thread" in kmail mostly does enough for me. Still missing is the ability to easily break and reconstruct threading and the "ignore thread" information to be stored in IMAP. (OTOH the latter bug staying open means I don't read Debian mailing list during work time, which is probably a good thing anyway :-) The only time when "Ignore thread" was not enough was at the battle on nanae, but from what I hear the whole community lost that war, so people with elaborate killfiles didn't fare better than me, either.

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.

2 April 2007

Evan Prodromou: 11 Germinal CCXV

We had a good brunch today. Friends Heather, Damien, Niko, Karine, Sarven, Brigitte and John all came over for some quiche, roasted potatoes, green salad, bread, cheese, wine, beer, asparagus, coffee and papaya. All in all a good time. We'd hoped to walk over to our new house at 4690 rue Pontiac with anyone who wanted to see it. The previous owner was packing the last of his stuff today, and we were supposed to pick up the keys this evening. But we hadn't heard from him by 7PM, so we packed everyone off to home and put the baby to bed. Then he called at 8PM, so I drove over to the new house and had a chat with him while picking up the keys. He had a couple of leftover Bor ale Cuivr es, so we drank them while he showed me around the house. I helped him take the last of his cleaning supplies out to his car, and then I went back inside, to our house. Wow. I just walked around for a little while, turning on and off the lights and looking through the windows and trying to imagine what our life there is going to be like. We're not going to move in for another 2 months, so it seems a little remote. The house felt nice, though. It's on a quiet street in a great neighborhood, and I could tell it was a good place to live. I'm excited to get started with it. tags:

Hey IBM Now that OS/2 has reached its end-of-life, it's time to release as much code as you can out of it under a liberal Open Source license. There are millions of lines of code in OS/2, and I doubt that much of the Microsoft code written in the 80s is still there. IBM talks a mean game about Linux and Open Source (see http://www.ibm.com/linux ), and to a large part they've been pretty true to their word. But having a huge codebase available that could very clearly benefit the Open Source world, and that's not being developed further, is a bad idea. Clear the rights, release the software. Abandonware is a terrible thing to waste. tags:

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.

29 March 2007

Matthew Garrett

Relating to my previous post, it's pretty clear that some people think of the Ubuntu code of conduct as (effectively) political correctness gone mad, and that anyone who thinks it's a good idea is clearly a wuss. nou suggested that this isn't inherently a bad thing, and that the range of different opportunities in Linux means that whether or not one distribution aims to be "fluffy" isn't really a problem.

I'd possibly go slightly further than that. We have basically three classes of people:
  1. People who won't work on "fluffy" projects
  2. People who won't work on "hostile" projects
  3. People who will work on pretty much any project, independent of the atmosphere
So, think of it as an optimisation tactic - projects benefit from having skilled people working on them. Do you gain more skilled people from being "fluffy" or "hostile"? Ubuntu's betting on the former, and my gut feeling is that that's the right answer. I don't have any reason to believe that the number of people in category 1 is terribly large, while I think category 2 is potentially much bigger.

Right now, I've got no evidence to back that up at all. But that's ok. In the long run, we'll probably get a better idea. If you think that Ubuntu's wrong to have chosen those criteria, then that's also ok. You're not obliged to be involved. Perhaps I'll be wrong, and the "hostile" projects will end up out-innovating the "fluffy" ones. But criticising the "fluffy" projects because they've dared to try something different? No, I don't think that's reasonable.

Matthew Garrett

I'm not really sure which I find more disappointing - this, this or this.

The Ubuntu Code of Conduct is something that's designed to ensure two things. Firstly, and perhaps most obviously, that discussions don't end up bogged down in personal abuse with no useful conclusions being drawn. Secondly, and perhaps more subtly, to ensure that potential contributors aren't put off by an atmosphere of perceived hostility.

The second point has been most commonly raised with respect to women in computing (perhaps most notably by the FLOSSPOLS findings), but it's not limited to that. One of the reasons I'm not involved with Debian nowadays is the atmosphere on the mailing lists[1]. If you're about to make something that you expect to be a controversial point, realising that the likely result is going to be a certain number of responses implying that holding that opinion is stupid is a pretty strong incentive to avoid posting in the first place. Suppressing the expression of thoughts isn't beneficial, even if you're not doing so deliberately.

Now, the obvious response to this is to accuse the CoC of enforcing some sort of Tellytubby land where people are nice to each other and it's all a mutual love-in. Which isn't, in fact, the case. Disagreeing with people is fine, but disagreeing in a factual and precise manner is significantly more useful than disagreeing in a manner that gives the strong impression that it would have been more helpful if the original poster had died rather than sending the mail in the first place. You're not even obliged to behave in a friendly way towards people - just avoid behaving in a clearly unfriendly way. A good rule of thumb is probably that if you think it would potentially result in a complaint to your boss if you did it in a moderately large company, then doing it on an Ubuntu mailing list is a bad plan.

So, the original point. The joke itself implies that there's no way to know why women behave the way they do, even to the point where a (presumably) omniscient god has no idea. Unsurprisingly, telling a large body of potential contributors that their behaviour is irrational[2] isn't a great way making them feel like their contributions are welcomed. But, oh no! It's actually ok - we're supposed to replace "women" with "newbs", because suggesting that basically your entire pool of potential contributors that their behaviour is irrational is much less bad.

Cough.

We then get to Caroline's post, an expression of frustration about an aspect of life. It contains the word "Fuck", which doesn't seem unreasonable in context. There's then a complaint from someone claiming that it's offensive, which means we have to consider a few things. Firstly, is the author of the complaint actually offended, or just attempting to claim that there's hypocrisy involved? Given the context, I'd suspect the latter. Arguably this isn't really the point, though - the issue isn't whether a given person is offended, it's whether it'll offend someone who would otherwise potentially make a valuable member of the community. Right now, I'd suspect that we (as a community) don't really object to it strongly. Google suggests that swearing isn't unheard of on the lists. While swearing in the context of a personal attack is pretty clearly a violation of the CoC[3], people don't seem to be objecting to it in general.

So, is it unacceptable to swear within the Ubuntu community? Right now, I'd say that (in appropriate contexts) it's not a problem. If a moderate number of people claim that the current degree of swearing dissuades them from being involved, then it may become a problem. Accusing someone of hypocrisy for swearing (not clearly a CoC issue, especially in context) after they claimed that a sexist joke might be, well, offensive? Yeah, I'd say that that one's pretty clearly unacceptable. Telling people that it's pretty funny and that they're wrong to be offended? History suggests that it's not a good plan. If you think someone's wrong to be offended, then a good first step is trying to figure out why rather than just dismissing them.

Of course, there's also the entirely secondary issue of what the roles of planet sites in the community are. Personally, I like to think of them as opportunities to see what people are really like rather than being reflections of people's behaviours on project mailing lists[4]. From that point of view, I think that the bounds of acceptable behaviour should be a little more liberal. If people disagree, that's not a problem and things can change - but expecting people to change their behaviour before there's any sort of general opinion that it's unacceptable isn't ok.

Which leaves open the question of whether posting sexist jokes to mailing lists is on the acceptable side of the CoC[5] or not. I'd be surprised if the ubuntu-uk community genuinely thought so, but if they do then there are pretty clearly issues that we need to solve. As far as I'm concerned, justifying that sort of behaviour has no place in Ubuntu.

[1] Yes, I'm aware that there's a certain degree of irony there
[2] For the record, yes, I do believe that women often behave in irrational ways. So do men.
[3] I find it surprisingly hard not to write that as COCK. Too much Jerkcity
[4] Which is, to an extent, why this journal isn't on Planet Ubuntu - there'd be potential for things I said to be mistaken for some sort of official Ubuntu position, which would end up limiting what I could say, which would kind of ruin the point
[5] Must... resist... temptation...

Russell Coker: questions regarding SE Linux

I just received a question about SE Linux via email. As I don't want to post private messages containing material that's globally useful I'll answer through my blog:

> other than strict and targeted policies......other policies like
> RBAC, MCS, Type Enforcement are also there....how are these policies
> implemented

The two main policies are the strict policy and the targeted policy. The strict policy is the earliest and was originally known as the sample policy (but was given the name "strict" after targeted was developed).

The strict policy aims to give minimal privileges to all daemons. The targeted policy aims to restrict the programs that are most vulnerable (network facing daemons) and not restrict other programs (for ease of use). There is currently work in progress on combining those policies so the person who compiles the policy can determine which features of strict they desire.

RBAC means Role Based Access Control. The strict policy assigns users to roles and the role then limits the set of domains that can be entered. For example the user_r role does not permit the sysadm_t domain so a user who is only permitted to enter the user_r role can not perform sys-admin tasks. Like many terms RBAC is used in different manners, some people consider that it means direct control by role (EG role user_r can not write to /dev/hda), while SE Linux has a more indirect use of roles (role user_r can not run programs in domain sysadm_t or any other domain that allows writing to type fixed_disk_device_t - the type for /dev/hda). You may consider that the strict policy supports RBAC depending on which definition of the term you use.

Generally the targeted policy is not considered to support RBAC, although if you consider a role to merely be a container for a set of accesses that are permitted then a SE Linux domain could be considered a in the RBAC sense. I don't think of targeted policy as being a RBAC implementation because all user sessions run in the domain unconfined_t which has no restriction. I think that to be considered RBAC a system must confine user logins.

Type enforcement is the primary access control mechanism for SE Linux. Every object that a process may access (including other processes) has a type assigned to it. The type of a process is known as a domain. The system has a policy database which for every combination of domain, type, and object class (which is one of dir, file, blk_file, etc - all the different types of object that a process may access) specifies whether the action is permitted or denied (default deny) and whether it is audited (default is to audit all denied operations and not audit permitted operations).

MCS is a confidentiality protection mechanism where each file has a set of categories assigned to it. The set may be empty, may contain all 1024 categories, or any sub-set. Each process has a set of categories that determines which files it may access. File access is granted if Unix permissions allow it, if the domain-type model allows it, and if MCS allows it (on an MCS system). I have just had an article on MCS published in Linux Journal.

MCS is an optional feature for people compiling Linux from source or for distribution vendors. For Red Hat Enterprise Linux, Fedora, and Debian the decision was made to include it, so the strict and targeted policies for those distributions include MCS.

There is another policy known as MLS. This is a policy build that comprises the strict policy plus Multi-Level Security. Multi-Level Security aims to give the highest confidentiality protection and comply with the LSPP (Labeled Security Protection Profile - roughly comparable to B1) Common Criteria certification. It would be possible to build a targeted policy with MLS but that wouldn't make sense - why have the highest protection of confidentiality with anything less than the highest protection of integrity?

As for how the policies are implemented, I'm not about to write a tutorial on policy writing for a blog post, I'm sure that someone will post a link to a Tresys or Fedora web page in the comments. ;)

> there r some packages of linux in which some changes has been made
> to support linux......for eg:- coreutils, findutils

That is correct. Every program that launches a process on behalf of a user at a different privilege user (EG /bin/login, sshd and crond) and every program that creates files for processes running in different domains (EG logrotate creating new log files for multiple daemons) needs to be modified to support SE Linux. Also ls and ps were modified to show SE Linux contexts as well as the obvious programs in coreutils.

> 'Z' is the new thing that have been added to most of the
> utilities......wherever I search I get the changes made only in few
> utilities like ps, mv, cp, ls
>
> Can u help me by giving all the changes made in each of the utilities.....

Unfortunately I can't. This has been identified as an issue and there is currently work in progress to determine the best way of managing this.

Gerfried Fuchs: Rhonda blogs

I think it's time to start blogging more often about this topic, and fill this section a bit more. I mean, Mermaids was a long time ago... And debconf in Mexico with my first try on skirts, getting rid of my beard and dying my hairs red is history in the meantime, too. So, what has happened in between... Well, there was of course the Regenbogenparade which I attended and which was nice. I even ordered a special t-shirt from a shop in Australia that I totally love. In summer I met up in Bratislava with a longtime friend from a MUD I played way back, and enjoyed running around in a skirt there, too. Gladly it was a sunny day. It was though... people back here in Vienna looked more awkward at me than in Bratislava. At least that was my impression... Had been to Extremadura for the i18n meeting which was quite nice. It was quite productive, even though I have to admit that I haven't done much on that front since. Even in Spain people didn't look that strange at my skirt as over here in Austria... At our company's Christmas party I got into a talk with a work colleague about the topic and she informed me that a former working colleague of us is starting with hormone treatment after the year change and if I'd fancy a meeting with him. I was quite happy about that offer so we arranged a meeting on December 23rd. It was a bit strange at first to address him as he, and we didn't know how to start talking because said working colleague was late, but after a while we talked about various things and even were finished with the more interesting topics when she finally appeared. We arranged to visit the next Trans-X meeting after the year change.
I left them for leaving home, but I wasn't able to catch my bus on time—the subway had serious problems. Well, I thought I might spend the night in the Flex so I called another working colleague who usually hangs out there about what was going on that evening, and interestingly he told me it was Gay Heaven night. I stopped believing in coincidence long ago... Anyway, was a nice evening all in all, they had a Christmas rabbit handing out "I love you" stamps with pink ink-pads. :) The Trans-X meeting wasn't too bad. It was some discussions about various topics. After a while my first shyness dropped a bit and I started to join in the discussion at some points. After the first started to leave I had some more direct talks with two of the women from there, one of them had mostly the same trip home as me so we talked on in the subway. A week later they had set a transgender weekend—no wonder, it was the weekend of the Rosenball. They were meeting in a cafe on Friday and I joined them, a bit less shy now that I at least knew some of the faces. Maria was quite ill and was sitting in her jacket within the cafe, shivering like hell... But all in all it was a nice meeting too, got to know some more nice people. I was a bit lazy from there on, didn't join another meeting... But another working colleague did invite me to the carnival party of his sister. I thought I could try a bit more than before, in the disguise of the carnival party, so I used a bra my former wife left behind, filled it with some socks, and put up some eye makeup (quite discreet, I hate overdone makeup already on natural females...) The light there wasn't the best, so they just saw my tall body at first. It took them a while to even notice the skirt, and only after I put off my long-sleeve they haven't noticed my breast. But well, I don't really blame them, my working colleague has announced me as a he, and given the low lights it's not too bad. Though, after the host noticed my breasts he asked if he could touch them and I even received a quite nice kiss from him. :D I stumbled upon the Gaia TG Guild on Gaia Online—a quite interesting web-based community. In general Gaia is filled with mostly kids, many of them immature, not able to spell and considering that even cool, but there are some quite special guilds that are lots of fun. But still, when I stumbled upon the TG Guild I was in awe of that such a thing could exist there. What I read made me feel totally happy and more confident on the path I'm having ahead of me. Last week I finally had been to an Trans-X meeting again, and Maria showed some quite interesting reportages about transsexual people—including one that was on TV just the day before about a 14 year old girl who is already on hormone treatment and has the absolute support from her family since she was 4 and confronted them with cutting "it" off when they don't allow her to wear skirts when going out, too. All the best to you, Kim! I so envy your strength... I'm sorry about the length of this entry—but I'm sick of people who tell me that I'm only playing it, or that I would hide... And I also see it as a chance to document my path for myself. I promise—the next entries will be more often and thus shorter.

Next.

Previous.